[wp-trac] [WordPress Trac] #34613: Accessibility improvements while editing categories and tags

WordPress Trac noreply at wordpress.org
Sun Nov 8 21:55:51 UTC 2015


#34613: Accessibility improvements while editing categories and tags
-------------------------------------+-------------------------------------
 Reporter:  garusky                  |       Owner:  afercia
     Type:  defect (bug)             |      Status:  assigned
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Administration           |     Version:  4.3
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch has-           |     Focuses:  ui, accessibility,
  screenshots                        |  javascript
-------------------------------------+-------------------------------------

Comment (by afercia):

 In the refreshed patch:

 - since the "Cancel" and "Update" controls are now buttons, there's no
 need for `return false` because there's no default action to prevent.
 - some error strings from the AJAX response may contain HTML entities and
 can't be used for the `wp.a11y.speak()` message since screen readers will
 read things like `“` character by character (see also screenshot
 below); a simple fix is to get the same text after it is used for the
 error span element and entities are already converted in characters

 [[Image(https://cldup.com/yxLSdwcI_C.png)]]

 Other things the proposed patch does:
 - when clicking on "Cancel" and "Update", moves focus back to the term's
 title
 - dispatches feedback messages to `wp.a11y.speak()` in case of success or
 errors

 Note for committers: need to retrieve the username of one of the
 contributors before commit :)

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34613#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list