[Test URL]
https://clarity-light-theme-v2-a6ykys.stackblitz.io
[WCAG 2.1 Guideline]
4.1.2 Name, Role, Value
(Level A)
[Screen Reader/Browser]
Any
[Description]
Use aria-current="step" rather than aria-selected.
[User Impact]
Assistive technologies should communicate that the element being read represents the current step in a series of steps.
[Recommendation]
Use aria-current="step" rather than aria-selected.
Steps to reproduce the behavior:
Use aria-current="step" rather than aria-selected
App
Device:
NA
@chlane
Does this apply to stepper and accordion as well?
@mathisscott Vertically displayed disclosures as seen in the stepper and accordion are best represented with aria-expanded. In these cases, when content is expanded it is implicitly current.
Hi there 馃憢, this is an automated message. To help Clarity keep track of discussions, we automatically lock closed issues after 14 days. Please look for another open issue or open a new issue with updated details and reference this one as necessary.
Most helpful comment
@mathisscott Vertically displayed disclosures as seen in the stepper and accordion are best represented with aria-expanded. In these cases, when content is expanded it is implicitly current.