w3c / aria-at-app

Test runner and results reporter for ARIA-AT
http://aria-at.w3.org/
Other
35 stars 15 forks source link

Disclosure buttons for new test queue tables missing aria-expanded="false" on page load #1103

Open mcking65 opened 4 months ago

mcking65 commented 4 months ago

The buttons that show/hide the test queue entry for a test plan version in the new test queue do not get announced as collapsed when the page loads.

To reproduce:

  1. Load the new test queue in the sandbox.
  2. Focus a button under the heading for a test plan, e.g., under heading, "Action Menu Button Example Using aria-activedescendant", focus the button named "V22.03.17   Candidate".

Expected behavior: The button has aria-expanded=false so that it is announced by screen readers as collapsed.

Actual behavior: aria-expanded is not present until the button is activated. If activated to expand, aria-expanded is set to true. Then, if activated again, aria-expanded attribute is set to false.