Conversation
|
📚 Branch Preview Links🔍 First Generation Visual Regression Test ResultsWhen a visual regression test fails (or has previously failed while working on this branch), its results can be found in the following URLs:
Deployed to Azure Blob Storage: If the changes are expected, update the |
rubencarvalho
left a comment
There was a problem hiding this comment.
Everything looks great, I think we just need a little bit of guidance for the Picker situation 😄
|
|
||
| `aria-controls` and `aria-labelledby` rely on **ID references** that must resolve in the document tree. If tabs and panels split across shadow roots without a supported cross-root strategy, IDs may not resolve as expected. Prefer a composition where references resolve in the same document subtree as the referencing node, or document the 2nd-gen plan (ElementInternals, explicit light DOM slots, synchronized ids on light children, etc.) once implementation exists. Until then, treat cross-root IDREF as a design constraint to solve in the rendering migration. | ||
|
|
||
| ### Accessibility tree expectations |
There was a problem hiding this comment.
When there is not enough space for the tabs (i.e. they overflow), they turn into a Picker. Are there any particular A11Y considerations we need to have in that case? I'm assuming that given the UI is no longer a visible tablist with tab/tabpanel behavior, then the semantics should also switch to the semantics of the new control? cc: @nikkimk
rubencarvalho
left a comment
There was a problem hiding this comment.
Approving as we'll leave the Picker as a follow-up!
Description
In spectrum-web-components/CONTRIBUTOR-DOCS/03_project-planning/03_components/tabs/accessibility-migration-analysis.md:
Motivation and context
The ticket requests accessibility recommendations for tabs as part of its migration from 1st-gen to 2nd-gen. The recommendations should produce a comprehensive set of accessibility requirements that the engineering team will use as the specification for the 2nd-gen implementation.
The 2nd-gen migration is an opportunity to address known accessibility gaps, align with the latest WAI-ARIA Authoring Practices, and ensure the component meets WCAG 2.2 AA compliance.
Related issue(s)
Screenshots (if appropriate)
Author's checklist
Reviewer's checklist
patch,minor, ormajorfeaturesManual review test cases
Review the Tabs accessibility migration analysis