fix(a11y): add missing scope, aria-label, tabIndex and remove conflicting aria-hidden#654
Conversation
…ting aria-hidden
- Add scope='col' and scope='row' to <th> elements in differentials comparison table
- Add aria-label to <table> in differentials and favourites pages
- Add aria-label to two unlabelled <nav> elements in favourites-library-nav
- Add tabIndex={-1} to SourcePreviewPopover surface for focus fallback
- Remove aria-hidden='true' from mode-action-popup description span
referenced by aria-describedby (conflicting attributes)
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
This pull request has been ignored for the connected project Preview Branches by Supabase. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughAccessibility attributes and focus behavior were refined across favourites navigation, favourites and differential tables, action descriptions, and the source preview popover. ChangesAccessibility refinements
Estimated code review effort: 1 (Trivial) | ~5 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
ESLint install failed. For unrecoverable errors, disable the tool in CodeRabbit configuration. Comment |
CI triageCI failed on this PR. Automated classification of the 2 failed job(s):
Heuristic only — a main-side or flake label is a starting point, not a verdict. |
|
@codex fix failing CI testing and address comments |
Summary
Testing
|
Removing aria-hidden from description spans correctly fixed the aria-describedby conflict, but visible description text then joined the accessible name (e.g. "Scope Limit answers…"). Set aria-label to the item label so names stay exact-match stable for Scope/Upload PDF queries. Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
Summary
Fixes remaining P2/P3 accessibility findings from the accessibility audit.
Changes (5 files, attribute-only — no logic changes)
Verification
Summary by CodeRabbit