-
Notifications
You must be signed in to change notification settings - Fork 140
Update accessibility guidelines for tab and tabpanel #2690
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
PR to add duplication of requirements between tab and tabpanel - see #2500 (comment) note i also duplicated the author should requirement for programmatically associating the tab with the tabpanel, since that seems important to call out these options re: validator/validator#1817
✅ Deploy Preview for wai-aria ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR duplicates accessibility requirements between the tab and tabpanel role definitions to ensure consistency in documentation. The changes align with W3C ARIA issue #2500 and validator issue #1817, ensuring that both roles document the MUST requirement for rendering active tabs/panels and the SHOULD requirement for programmatic association.
- Adds the active tab/tabpanel rendering requirement to both role definitions
- Documents association methods using
aria-controlsandaria-labelledbyin both sections - Adds HTML comments to mark synchronized content blocks
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
accdc
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good to me. :)
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
PR to add duplication of requirements between tab and tabpanel - see #2500 (comment)
note i also duplicated the author should requirement for programmatically associating the tab with the tabpanel, since that seems important to call out these options re: validator/validator#1817
Preview | Diff