WordPress.org

Make WordPress Core

Opened 7 years ago

Closed 7 years ago

#32791 closed defect (bug) (fixed)

Menu Customizer: "Add a Menu" button accessibility

Reported by: afercia Owned by: ocean90
Milestone: 4.3 Priority: normal
Severity: normal Version: 4.3
Component: Customize Keywords: has-patch
Focuses: accessibility, javascript Cc:

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)

32791.patch (1.6 KB) - added by afercia 7 years ago.

Download all attachments as: .zip

Change History (3)

@afercia
7 years ago

#1 @afercia
7 years ago

  • Keywords has-patch added

The proposed patch adds an aria-expanded attribute to the Add Menu toggle button and removes unnecessary screen reader text.

#2 @ocean90
7 years ago

  • Owner set to ocean90
  • Resolution set to fixed
  • Status changed from new to closed

In 32971:

Customizer: Add an aria-expanded attribute to the Add Menu button to improve accessibility.

props afercia.
fixes #32791.

Note: See TracTickets for help on using tickets.