Opened 11 years ago
Closed 11 years ago
#32791 closed defect (bug) (fixed)
Menu Customizer: "Add a Menu" button accessibility
| Reported by: | afercia | Owned by: | ocean90 |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.3 |
| Component: | Customize | Version: | 4.3 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: | accessibility, javascript |
Description
Was sure this was already reported but couldn't find any related ticket. As done with other buttons that toggle some UI control visibility, also the "Add a Menu" button needs an aria-expanded attribute to be dynamically updated. The text "Press return or enter to open" is not necessary here, aria-expanded will inform users about the button's purpose.
Attachments (1)
Change History (3)
Note:
See TracTickets
for help on using tickets.
The proposed patch adds an
aria-expandedattribute to the Add Menu toggle button and removes unnecessary screen reader text.