Skip to content

Conversation

@scottaohara
Copy link
Member

@scottaohara scottaohara commented Dec 2, 2025

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

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
@netlify
Copy link

netlify bot commented Dec 2, 2025

Deploy Preview for wai-aria ready!

Name Link
🔨 Latest commit fb99983
🔍 Latest deploy log https://app.netlify.com/projects/wai-aria/deploys/6937087efc84d50008c87bae
😎 Deploy Preview https://deploy-preview-2690--wai-aria.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Contributor

Copilot AI left a 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-controls and aria-labelledby in both sections
  • Adds HTML comments to mark synchronized content blocks

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Contributor

@accdc accdc left a 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. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants