Skip to content
This repository was archived by the owner on Sep 5, 2025. It is now read-only.

Comments

Remove unnecessary aria-expanded attribute on ul#1303

Merged
Ismail-elkorchi merged 1 commit intoAutomattic:masterfrom
jaredcaraway:fix-aria-expanded
Apr 11, 2020
Merged

Remove unnecessary aria-expanded attribute on ul#1303
Ismail-elkorchi merged 1 commit intoAutomattic:masterfrom
jaredcaraway:fix-aria-expanded

Conversation

@jaredcaraway
Copy link
Contributor

@jaredcaraway jaredcaraway commented Jun 27, 2018

Changes proposed in this Pull Request:

Remove aria-expanded attribute from <ul> element, as it should only be applied to the button controlling the showing/hiding of the menu. (See my comment on #1289 for more detail.)

Related issue(s):

Fixes #1289

Copy link
Contributor

@grappler grappler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good. It looks like https://codepen.io/svinkle/details/LDKwA/ from https://a11yproject.com/ does the same thing.

Remove another irrelevant instance of aria-expanded
@Ismail-elkorchi
Copy link
Contributor

I removed one more instance of aria-expanded from the<ul> element that was introduced after the merging of #1379, and rebased the branch on master so the Travis test suite pass.

@Ismail-elkorchi Ismail-elkorchi merged commit 55fafb9 into Automattic:master Apr 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove aria-expanded on menu UL element?

3 participants