Repository navigation
fix(common): improve screen reader narration and keyboard a11y - #2966
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #2966 +/- ##
========================================
Coverage 100.0% 100.0%
========================================
Files 219 219
Lines 31431 31597 +166
Branches 10646 10712 +66
========================================
+ Hits 31431 31597 +166
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
ghiscoding
force-pushed
the
bugfix/a11y-narration
branch
from
December 2, 2026 02:15
a13dd8a to
53d12b2
Compare
angular-slickgrid
aurelia-slickgrid
slickgrid-react
slickgrid-svelte
slickgrid-vue
@slickgrid-universal/angular-row-detail-plugin
@slickgrid-universal/aurelia-row-detail-plugin
@slickgrid-universal/react-row-detail-plugin
@slickgrid-universal/svelte-row-detail-plugin
@slickgrid-universal/vue-row-detail-plugin
@slickgrid-universal/binding
@slickgrid-universal/calculated-columns
@slickgrid-universal/common
@slickgrid-universal/composite-editor-component
@slickgrid-universal/custom-footer-component
@slickgrid-universal/custom-tooltip-plugin
@slickgrid-universal/empty-warning-component
@slickgrid-universal/event-pub-sub
@slickgrid-universal/excel-export
@slickgrid-universal/formula-editor
@slickgrid-universal/formula-engine
@slickgrid-universal/graphql
@slickgrid-universal/odata
@slickgrid-universal/pagination-component
@slickgrid-universal/pdf-export
@slickgrid-universal/row-detail-plugin
@slickgrid-universal/rxjs-observable
@slickgrid-universal/sql
@slickgrid-universal/text-export
@slickgrid-universal/utils
@slickgrid-universal/vanilla-bundle
@slickgrid-universal/vanilla-force-bundle
@slickgrid-universal/web-mcp
commit: |
Preserve editor focus and host accessible names. Sync ARIA state for the Add New row, tree updates, and force-fit column resizing.
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
Improves v11 screen-reader narration and keyboard accessibility, validated with Windows Narrator and Edge. The main root cause was keyboard focus remaining on hidden focus sinks outside
role="grid", which prevented screen readers from announcing cell navigation unless selection state changed.The work follows the external grid scorecard.
Why
Changes
gridcellwithpreventScrolland is restored after rerenders. Focus sinks remain for Tab boundaries and internal handoffs.aria-multiselectableand consistent row/cellaria-selectedstate, including mixed selection mode.rowSelectAriaLabelandselectAllAriaLabelstring options, Enter/Space toggling, and partial Select All state through nativeindeterminateandaria-checked="mixed".treegrid,aria-level,aria-expanded,aria-busy, localized focused-cell labels, decorative toggle icons, and keyboard expand/collapse.ariaLabel/ariaLabelledBy; column headers use title-only naming so resize values are not repeated in cell descriptions.enableCellNavigationand added aligned grouping ARIA Cypress coverage for Angular, React, Vue, Aurelia, and Svelte; Vanilla Example 02 was already equivalent.New additive options include
keyboardColumnResizeStep,columnResizeAriaLabelFormatter,ariaLabel,ariaLabelledBy, and localized checkbox strings.Validation
tsc --noEmit -p packages/common/tsconfig.json: passedpnpm build:universal: passed during implementationenableCellNavigationin the demo. The fix passed locally in Cypress UI; final CI rerun is pending.NVDA and a final Narrator re-check of the column-header naming refinement were not run.
Comments
The completed plan and deliberate deferrals are tracked in
.agents/audits/external-grid-scorecard-audit.md.No generic live region or forced-colors theme was added to avoid bundle growth and framework-wide styling conflicts. Exact-width pointer entry without dragging (WCAG 2.5.7) was tested as a possible header-menu command but deferred because it changed established menu positions. These can be revisited following a concrete user request.
AI / LLM assistance
Checklist