[wp-trac] [WordPress Trac] #27555: Make tag post meta box more accessible

WordPress Trac noreply at wordpress.org
Thu Mar 27 18:20:38 UTC 2014


#27555: Make tag post meta box more accessible
---------------------------+-----------------------------
 Reporter:  joedolson      |      Owner:
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Editor         |    Version:  trunk
 Severity:  normal         |   Keywords:
  Focuses:  accessibility  |
---------------------------+-----------------------------
 The tag post meta box has a couple of issues:

 1) Current tags are not keyboard-navigable, so can't be deleted.
 2) If a tag is added from quicklinks, no confirmation of adding is read.

 This patch makes the tag delete link focusable, by adding an href
 attribute value; adds a :focus state equivalent to the existing :hover
 state for keyboard users; adds aria-live=assertive to the container where
 tags are injected, and replaces the 'X' currently used for the link text
 with off-screen text stating "Delete [tag name]".

 Known issues with this patch:

  - Adding the href value causes the usual moving window problem; I
 couldn't find where to attach the default event prevention in post.js
  - 'Delete val' is not translatable as is; do we use wp_localize_script
 with core? Not sure what to do with that.

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


More information about the wp-trac mailing list