-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Allow headings in <summary> elements for <details> #8864
Comments
@whatwg/a11y are there any issues with AT with allowing headings in |
I think the issue is that |
headings are presently allowed, but per the way this has been implemented they don't always get exposed. this is related to #2272 |
FYI it's more of an AT issue with more appropriate role for this use case missing, see the discussions around this topic in general: w3c/aria#939 (comment) |
Headings in |
Currently, headings in
<summary>
elements are not allowed and do not show up in the accessibility tree as headings. For accordions and other use cases, using headings inside the<summary>
makes a lot of sense. Navigating to a heading inside the summary should set the focus to thesummary
and then have the expected interaction to open and close thedetails
element.The text was updated successfully, but these errors were encountered: