-
Notifications
You must be signed in to change notification settings - Fork 13
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
Details / summary: Heading within Summary missing from Headings list #105
Comments
@juleskuehn it may be because the |
@LJWatson (Assuming you meant "Maps" not "Naps") Right, but the |
Indeed :)
No, it shouldn't have a dual role. But by putting a heading inside a button, you effectively end up with a button/heading composite. So this:
Is the same (in the accessibility layer) as:
In both cases, Jaws acknowledges only the parent element, and announces the control as a "button", not a "heading". What would the advantage of recognising both the button and the heading be? |
Do we agree that valid HTML headings should appear in the headings list? |
Adding some additional info to the mix... Testing with Firefox nightly (63) and accessibility viewer, Testing the following code:
JAWS ignores the heading within the button, just like it does with...
Accessibility Viewer does reveal that the role of the It is an odd situation, because headings within Both NVDA and VoiceOver expose the heading with the And for comparison's sake, TalkBack will also ignore a heading within a |
The heading is still not being read in the The HTML Standard says you can nest a heading element in a @BenKeyFSI , per @scottaohara 's feedback, it'd be great if JAWS could do what NVDA does and create an exception for the summary element, since it's a "button" without all the limitations or allowances of a button element. e.g., also cannot accept the disabled attribute. |
Encountered this issue today running JAWS 2020.2001.70 and a number of browsers (Edge Chromium 81.0.416.72, Chrome 81.0.4044.138, Firefox 76.0.1 - all 64-bit). As reported above the element is recognised as a button but not as a heading. This differs from the behaviour in NVDA and Windows Narrator which treat it as both a heading and a button. Relevant HTML:
As a (sighted) content author I agree with the expected results stated in this ticket. |
Is there any progress on this? |
Watching 👀 |
Any progress on this? We encountered this issue while using JAWS 2023.2303.144. |
this issue is still present in JAWS 2023.2307.37 |
Summary
<detail>
/<summary>
is a standard pattern for expand / collapse behaviour in HTML 5.1.A single heading element is allowable as the content of a
<summary>
element in the HTML 5.1 specification for summary:A summary with a heading should appear in the headings list. Yet, a heading contained within a summary element does not appear in the headings list in JAWS 2018, with either Firefox or Chrome.
Expected result
Actual result
Full assessment of detail / summary tests
Example
Details / summary test case with heading inside summary
Additional Information
JAWS version and build number
JAWS 2018.1807.8 ILM
Operating System and version
Windows 10.0.16299
Browser and version:
Chrome 68, Firefox 61
The text was updated successfully, but these errors were encountered: