[wp-trac] [WordPress Trac] #39662: Color picker accessibility improvements

WordPress Trac noreply at wordpress.org
Fri Sep 1 15:28:29 UTC 2017


#39662: Color picker accessibility improvements
-------------------------------------+-------------------------------------
 Reporter:  afercia                  |       Owner:  afercia
     Type:  defect (bug)             |      Status:  assigned
 Priority:  normal                   |   Milestone:  4.9
Component:  Customize                |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-screenshots has-     |     Focuses:  accessibility,
  patch needs-testing                |  javascript
-------------------------------------+-------------------------------------

Comment (by afercia):

 No idea why, the CSS rule triggering this bug is the transform applied to
 the buttons when they're in an `:active` state, i.e. while they're
 "clicked". See `transform: translateY(1px);` in `buttons.css`.
 (just a wild guess: Firefox repaints the button and in combination with
 "something else" this makes NVDA think it's landed on a new element).

 The refreshed patch:
 - resets the CSS transform for this button
 - cleans up a CSS rule that as using a no more used selector
 - removes translatable strings that were introduced to test future
 improvements and not actually used in this patch

 `aria-expanded` is now announced correctly by al the major screen readers.

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


More information about the wp-trac mailing list