Skip to content
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

Accordion Pattern - Editorial change - Please make the button wrapping inside the heading element as optional #2510

Open
shirsha opened this issue Oct 12, 2022 · 0 comments

Comments

@shirsha
Copy link

shirsha commented Oct 12, 2022

For accordion pattern - Under "WAI-ARIA Roles, States, and Properties:" - the second bullet point:
....
Each accordion header button is wrapped in an element with role heading that has a value set for aria-level that is appropriate for the information architecture of the page.
If the native host language has an element with an implicit heading and aria-level, such as an HTML heading tag, a native host language element may be used.
The button element is the only element inside the heading element. That is, if there are other visually persistent elements, they are not included inside the heading element.

...

Can this be stated as optional?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant