WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 4 years ago

Last modified 4 years ago

#31342 closed defect (bug) (fixed)

Collapsable/expandable panels in admin are not accessible

Reported by: bramd Owned by:
Milestone: 4.4 Priority: normal
Severity: normal Version:
Component: Administration Keywords:
Focuses: ui, accessibility Cc:

Description

There are various accessibility issues with the collapsable/expandable panels in the admin. This panels can be found on the dashboard and in edit screens for posts/pages/etc:

  • The collapse/expand is clickable, but has no semantic meaning
  • The clickable element to expand/collapse a panel is not keyboard focusable

Suggested fixes:

  • Use an a or button element, or apply an appropriate aria role (however, using of a native element is preferable here)
  • If using an ARIA role, ensure to add tabindex to make it focusable
  • Use the aria-expanded attribute to present the collapsed/expanded status of the panel

Change History (3)

#1 @DrewAPicture
4 years ago

  • Focuses ui added
  • Version trunk deleted

#2 @joedolson
4 years ago

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

Fixed in r33762

#3 @DrewAPicture
4 years ago

  • Milestone changed from Awaiting Review to 4.4
Note: See TracTickets for help on using tickets.