Skip to content

Add copy controls to substantive text fields - #33

Merged
erinepshovel-code merged 1 commit into
mainfrom
agent/text-field-copy-controls
Aug 3, 2026
Merged

erinepshovel-code merged 1 commit into
mainfrom
agent/text-field-copy-controls

Conversation

@erinepshovel-code

Copy link
Copy Markdown
Contributor

What changed

Adds one accessible Copy control to every established substantive text field: page heads, panels, quotations, cards, provenance, full textbook/source text, disclosures, the Awakening surface, the emergency fallback, and Four Cuts. Linked cards use a sibling control so no interactive element is nested in an anchor.

The copied text excludes controls and script/style content. Copy confirmation is announced to assistive technology; controls are hidden in print.

Four Cuts now participates in the accessibility sweep; its low-contrast label tokens were corrected while adding its copy controls.

Why

Every informational box or complete text needs one direct copy path, without turning paragraphs or navigation into duplicate controls.

Validation

  • npx playwright test -g 'copy control' — passed
  • npx playwright test tests/accessibility.spec.mjs — 18/18 passed
  • npm run check — workflow-action audit, generated-LLM integrity, and EDCM-reference drift checks passed; the local full run proceeded into live source refresh but did not yield a clean final result in this runtime. CI remains the authoritative complete gate.

hmmm

The local release run refreshed generated canon/repository snapshots, which are intentionally excluded from this PR. No canonical text or provenance snapshot was changed by this feature.

@erinepshovel-code
erinepshovel-code marked this pull request as ready for review August 3, 2026 04:21
@erinepshovel-code
erinepshovel-code merged commit 39d237f into main Aug 3, 2026
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant