Page MenuHomePhabricator

Jquery.makeCollapsible does not set aria-expanded attribute
Closed, InvalidPublicBUG REPORT

Description

When using a screen reader, elements using the jquery.makeCollapsible class do not announce expanded or collapsed state

Steps to Reproduce:

  • Instantiate Template:Flexbox or any element using jquery.makeCollapsible
  • Go to the page with the element
  • Turn on your screen reader of preference
  • Navigate until the control added
  • Validate if it announces element state (expanded or collapsed)

Actual Results:

  • Element does not announce state, expanded or collapsed making it hard for screen reader users to know what's happening on the page.

Expected Results:

  • Element announcing expanded or collapsed

Event Timeline

Fix already exists. I was running an older version.