[wp-trac] [WordPress Trac] #33544: Post meta box toggles not accessible.
WordPress Trac
noreply at wordpress.org
Tue Aug 25 19:00:08 UTC 2015
#33544: Post meta box toggles not accessible.
-----------------------------------------------+---------------------------
Reporter: joedolson | Owner:
Type: defect (bug) | Status: new
Priority: high | Milestone: Awaiting
Component: Posts, Post Types | Review
Severity: major | Version:
Focuses: ui, accessibility, administration | Keywords: has-patch
-----------------------------------------------+---------------------------
The handlediv buttons used for toggling post metabox panels are not
accessible for several reasons:
1) They do not have a label.
2) They are not focusable elements.
3) They don't announce their current state.
The attached patch changes the <div> into a <button>, adds a screen-
reader-text hidden label which provides context, uses aria-expanded to
indicate current state, and toggles that state based on the state of the
postbox.
One of the consequences of this issue is that if any metabox gets closed
(by another user, for example), then a screen reader user will never be
able to access that panel. As such, this is a major issue.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33544>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list