[wp-trac] [WordPress Trac] #35622: Color contrast: audit all the "#f00" and "red" reds

WordPress Trac noreply at wordpress.org
Wed Apr 19 21:13:57 UTC 2017


#35622: Color contrast: audit all the "#f00" and "red" reds
-------------------------------------------------+-------------------------
 Reporter:  afercia                              |       Owner:  afercia
     Type:  defect (bug)                         |      Status:  assigned
 Priority:  normal                               |   Milestone:  Future
Component:  Administration                       |  Release
 Severity:  normal                               |     Version:
 Keywords:  color-contrast has-patch has-        |  Resolution:
  screenshots                                    |     Focuses:  ui,
                                                 |  accessibility
-------------------------------------------------+-------------------------

Comment (by afercia):

 In [changeset:"40480"]:
 {{{
 #!CommitTicketReference repository="" revision="40480"
 Accessibility: Make some Widgets buttons real buttons.

 Links used as UI controls that behave like buttons, should be buttons.
 - changes the widgets "toggle", "Delete", and "Close" links to buttons
 - uses `aria-expanded` to announce the state of the toggle buttons
 - increases a bit the clickable area of the toggle
 - ensures the "circular focus" doesn't get cut-off in some browsers by
 centering the toggle arrows
 - uses a `<span>` element with an `aria-hidden` attribute to hide CSS
 generated font icons from assistive technologies
 - standardizes on `.toggle-indicator:before` rather than `:after`
 - changes two `#f00` reds in `#dc3232`, see #35622

 Fixes #31476.
 }}}

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


More information about the wp-trac mailing list