Skip to content
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

Why is aria-expanded removed on closed Actions Menu Button? #2623

Closed
ksparrow-8x8 opened this issue Feb 17, 2023 · 1 comment
Closed

Why is aria-expanded removed on closed Actions Menu Button? #2623

ksparrow-8x8 opened this issue Feb 17, 2023 · 1 comment
Assignees
Labels
duplicate An issue closed because it is equivalent to another issue Feedback Issue raised by or for collecting input from people outside APG task force question Issue asking a question

Comments

@ksparrow-8x8
Copy link

As per Actions Menu Button Example Using element.focus():
The aria-expanded attribute is removed when the menu is closed.

MDN says that the default value for aria-expanded is undefined, which means "The element does not own or control a grouping element that is expandable." Shouldn't the Actions Menu Button always own the dropdown?

Is this a mistake? If not, what is the reasoning behind removing aria-expanded rather than using aria-expanded="false"?

Thanks!

@a11ydoer a11ydoer added the agenda Include in upcoming Authoring Practices Task Force meeting label Mar 14, 2023
@mcking65
Copy link
Contributor

See #697, #2808, and #2834.

The short answer is that omitting aria-expanded=false was intentional but the task force is reversing its previous guidance as described in the related issues. Since this is addressed by other issues, closing as duplicate.

@mcking65 mcking65 added duplicate An issue closed because it is equivalent to another issue question Issue asking a question Feedback Issue raised by or for collecting input from people outside APG task force and removed agenda Include in upcoming Authoring Practices Task Force meeting labels Oct 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate An issue closed because it is equivalent to another issue Feedback Issue raised by or for collecting input from people outside APG task force question Issue asking a question
Development

No branches or pull requests

4 participants