Collapsable Listbox example: aria-expanded guidance is ambiguous #618
Labels
Example Page
Related to a page containing an example implementation of a pattern
Feedback
Issue raised by or for collecting input from people outside APG task force
question
Issue asking a question
The table says aria-expanded is
Developers are interpreting this as the aria-expanded attribute not being present at all when listbox is collapsed and then when open the entire attribute is added with the property of "true" in it, then the complete attribute is removed when collapsed. I don't think that is what is intended.
It should be set to "false" when closed and "true" when open.
https://www.w3.org/TR/wai-aria-1.1/#aria-expanded
I don't think it is as clear with the full attribute being added and removed, and no "false" state announced.
Recommended change:
The text was updated successfully, but these errors were encountered: