WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#28866 closed defect (bug) (fixed)

Screen readers do not know available menu item accordion sections are expandable

Reported by: joedolson Owned by: SergeyBiryukov
Milestone: 4.0 Priority: normal
Severity: normal Version: 3.6
Component: Menus Keywords: has-patch commit
Focuses: accessibility Cc:

Description (last modified by ocean90)

Related: #27592, #27591

Applies to menu item selection panels.

Add screen reader text to announce that panel is expandable. Remove redundant title attribute.

Attachments (1)

28866.patch (983 bytes) - added by joedolson 6 years ago.
Adds screen reader notice how to expand panels

Download all attachments as: .zip

Change History (8)

@joedolson
6 years ago

Adds screen reader notice how to expand panels

#1 in reply to: ↑ description @joedolson
6 years ago

Related: #27592, #27591

#2 @ocean90
6 years ago

  • Description modified (diff)

#3 @SergeyBiryukov
6 years ago

  • Keywords has-patch added
  • Milestone changed from Awaiting Review to 4.0

#4 @celloexpressions
6 years ago

  • Summary changed from Screen readers do not know menu panels are expandable to Screen readers do not know available menu item accordion sections are expandable
  • Version changed from trunk to 3.6

To avoid confusion with Customizer panels; these are technically accordion sections.

In the patch, is there a reason for the removal of the hndle class (I don't think it's needed anymore, but not sure if we can safely remove it)?

#5 @joedolson
6 years ago

Well, I removed it and tested, and I couldn't detect any change in behavior or appearance. I can't swear that it's absolutely safe to remove, but it seems likely. Probably worth inspecting for any JS or CSS references that would be relevant.

#6 @SergeyBiryukov
6 years ago

  • Keywords commit added

#7 @SergeyBiryukov
6 years ago

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

In 29239:

Add screen reader text to announce that menu item accordion sections are expandable. Remove redundant title attribute.

props joedolson.
fixes #28866.

Note: See TracTickets for help on using tickets.