Repository navigation
Fix WCAG 2.1 AA issues; make existing-posts alt fill opt-in - #6
Merged
Merged
Conversation
…opt-in Failures fixed (found by axe-core, contrast calculation, and focus tests): - 1.3.1/4.1.2: label the Review tab alt text and title textareas. - 1.4.3: success text and the "Key saved" badge now use #00701a (6:1). - 4.1.2: name the Logs budget progress bar (aria-label + aria-valuetext). - 4.1.3: announce results via wp.a11y.speak (key validation, queue batches, review saves, Media screen button); drop per-card and hidden live regions that announced unreliably or twice. - 2.4.3: busy buttons use aria-disabled instead of disabled so keyboard focus is not lost; block editor button uses accessibleWhenDisabled. - 2.4.2: per-tab page titles via admin_title. Improvements: - Tab navigation is a nav landmark with aria-current on the active tab. - Save/Regenerate/Edit controls identify their image for screen readers. - Budget input is described by its unit and help text. - Scrollable log boxes are focusable regions with unique names. - Links opening a new tab carry core's "(opens in a new tab)" text. - Default alt prompt asks for important visible text in the image. Also: the Existing posts alt fill is now off by default. Translations: 6 new strings translated for all 7 locales (169/169). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes every WCAG 2.1 AA failure from the accessibility review of all EveryAlt screens (six admin tabs, Media edit screen, block editor panel), plus the recommended improvements. Also makes Existing posts alt fill off by default.
Failures fixed
#00701a(≈6:1)aria-label+aria-valuetext("$0.0004 of $0.01")display:none)wp.a11y.speakfor key validation, queue batches, saves, Media button; one summary per batcharia-disabledinstead ofdisabled;accessibleWhenDisabledin the block editoradmin_titleImprovements
<nav>landmark witharia-current="page"Other
msgfmt --checkclean)Verification (WordPress Playground)
🤖 Generated with Claude Code