Add WCAG accessibility improvements#234
Merged
sushmak02 merged 3 commits intorelease-candidatefrom Mar 10, 2026
Merged
Conversation
- Add screen-reader-only CSS class and focus styles for keyboard navigation - Add fieldset/legend and aria-labels to star rating radio buttons - Replace generic image alt text with dynamic contextual values - Mark decorative star images as aria-hidden with empty alt - Add role="complementary" and aria-label to snippet boxes - Add role="presentation" to admin meta box layout table - Add aria-hidden state management to toggle.js show/hide logic - Refactor toggle.js to use lookup maps (reduces duplication) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
sushmak02
approved these changes
Mar 10, 2026
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
Closes #233
.bsf-sr-only) and focus outline styles for keyboard navigation<fieldset>,<legend>,aria-label, and<label>elements to star rating radio buttons in bothdisplay_rating()andbsf_display_rating()aria-hidden="true"with empty alt textrole="complementary"andaria-labelto all#snippet-boxcontainersrole="presentation"to the admin meta box layout tablearia-hiddenstate management totoggle.jsshow/hide logictoggle.jsto use lookup maps, reducing code duplicationTest plan
aria-hidden="true", visible sections should not🤖 Generated with Claude Code