[wp-trac] [WordPress Trac] #28599: Better Visual Focus Indication in Admin Menu

WordPress Trac noreply at wordpress.org
Mon Nov 3 09:43:33 UTC 2014


#28599: Better Visual Focus Indication in Admin Menu
-------------------------------------+-------------------------------------
 Reporter:  AccessibleJoe            |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Future Release
Component:  General                  |     Version:  3.8
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch reporter-      |     Focuses:  ui, accessibility,
  feedback dev-feedback needs-       |  administration
  testing                            |
-------------------------------------+-------------------------------------
Changes (by florianziegler):

 * keywords:  needs-patch => has-patch reporter-feedback dev-feedback needs-
     testing


Comment:

 I made a quick patch, but it still needs lots of work

 '''What it does'''

 :focus now mimics the :hover behavior of the non-default color schemes:
 The background color becomes the highlight color, icon and text are white.
 I adapted the same behavior for the submenu links.

 In the submenu this works in most cases, but we may need to define another
 color variable for ''text of focused links in submenu'', because in some
 color schemes white doesn't work so well. Also in several color schemes
 some colors are not defined, and the default doesn't work well either.
 (You will see what I mean, when you test the color schemes.)

 '''The Arrow'''

 The arrow looks really bad (especially in the non-default color schemes),
 when the focus is on the element of the submenu that is next to the
 parent. (I guess that's why they did the highlighting in the way it is
 implemented now.)

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

 Feedback, please. :)

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


More information about the wp-trac mailing list