feat(datagrid-web): add WCAG 4.1.3 status region and selection accessibility improvements#2300
Open
iobuhov wants to merge 3 commits into
Open
feat(datagrid-web): add WCAG 4.1.3 status region and selection accessibility improvements#2300iobuhov wants to merge 3 commits into
iobuhov wants to merge 3 commits into
Conversation
…heckbox labels Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
…tus region - Add selectionStatusStore factory to widget-plugin-grid with smart text logic - Create SelectionStatus component with role="status" and sr-only styling - Create SelectionStatusViewModel for DI pattern - Wire up DI tokens, injection hooks, and container bindings - Integrate SelectionStatus into WidgetFooter outside conditional visibility - Status region announces "All X rows selected" vs "Y items selected" correctly - Export selection model functions from widget-plugin-grid main entry Implementation follows WCAG 4.1.3 Status Messages requirements: - Uses role="status" (implicit aria-live="polite" + aria-atomic="true") - Always present in DOM when selection enabled - Announces complete messages without interrupting screen reader - Matches visual SelectAllBar text to prevent announcement/visual mismatch Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
…E tests Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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
Adds screen reader announcements for selection changes and comprehensive keyboard accessibility for DataGrid selection controls, meeting WCAG 2.2 AA requirements.
Changes
role="status") announces selection count changes to screen readers (WCAG 4.1.3)disabledon SelectAllBar button to prevent focus loss:focus-visibleoutline to SelectAllBar buttons (WCAG 2.4.7).table *:focus { outline: 0 }ruleTest Plan
Test Project
Updated test project branch:
datagrid-web/data-widgets-3.0_2🤖 Generated with Claude Code