[wp-trac] [WordPress Trac] #31342: Collapsable/expandable panels in admin are not accessible

WordPress Trac noreply at wordpress.org
Mon Feb 16 09:18:00 UTC 2015


#31342: Collapsable/expandable panels in admin are not accessible
----------------------------+-----------------------------
 Reporter:  bramd           |      Owner:
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Administration  |    Version:  trunk
 Severity:  normal          |   Keywords:
  Focuses:  accessibility   |
----------------------------+-----------------------------
 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

--
Ticket URL: <https://core.trac.wordpress.org/ticket/31342>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list