Open Bug 1834688 Opened 3 years ago Updated 3 years ago

www.useragentman.com - Screen readers don't announce changed collapsed/expanded state in both HTML5 details tag and ARIA dropdowns

Categories

(Core :: Disability Access APIs, defect)

Firefox 113
Desktop
macOS
defect

Tracking

()

People

(Reporter: rbucata, Unassigned)

References

()

Details

From github: https://github.com/webcompat/web-bugs/issues/122660.

<!-- @browser: Firefox 113.0 -->
<!-- @ua_header: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/113.0 -->
<!-- @reported_with: unknown -->

URL: https://www.useragentman.com/enable/dropdown.php

Browser / Version: Firefox 113.0
Operating System: Mac OS X 10.15
Tested Another Browser: Yes Safari

Problem type: Something else
Description: Screen readers don't announce changed collapsed/expanded state in both HTML5 details tag and ARIA dropdowns
Steps to Reproduce:
When visiting https://www.useragentman.com/enable/dropdown.php with Firefox/Voiceover on OSX, I noticed all the dropdowns on the page (both the ones coded with the HTML5 details/summary tags as well as the ones coded with the aria-expaded ARIA attributes don't report their changed state when these dropdowns are expanded or collapsed.

How to replicate:

  1. Go to https://www.useragentman.com/enable/dropdown.php with OSX Firefox and Voiceover on.
  2. Using a keyboard, tab into the dropdown in the main navigation labelled "Forms". Voiceover announces the label and the state of the dropdown (collapsed)
  3. Press ENTER or SPACE. Voiceover should be announcing this change of state, but it doesn't. It does work on Safari/OSX/Voiceover, Firefox/WIndows/NVDA, Chrome/OSX/Voiceover.

Note that the above scenario is for an ARIA dropdown coded with the aria-expanded attribute. This problem also exists for HTML5 details/summary tags as well ... to replicate, tab down the same page to the button labelled "Information on the HTML5 details tag" and press ENTER or SPACE. The same thing happens -- Firefox OSX doesn't not make Voiceover announce the change of state.

Browser Configuration

<ul>
<li>None</li>
</ul>

From webcompat.com with ❤️

Change performed by the Move to Bugzilla add-on.

This was reported with webcompat.com reporter. Please feel free to move the issue to the relevant component and product

Component: General → Disability Access APIs
Summary: www.useragentman.com - see bug description → www.useragentman.com - Screen readers don't announce changed collapsed/expanded state in both HTML5 details tag and ARIA dropdowns
OS: Android → macOS
Hardware: Unspecified → Desktop
Version: unspecified → Firefox 113

We have stateChanged code in mozPopupButtonAccessible to handle COMBOBOX, but I don't see any code to handle BUTTON/BUTTONMENU. Buttons also don't necessarily have a menu child, as is the case here. I wonder what notification we're supposed to fire in this case?

Severity: -- → S3
You need to log in before you can comment on or make changes to this bug.