[wp-trac] [WordPress Trac] #28599: Better Visual Focus Indication in Admin Menu
WordPress Trac
noreply at wordpress.org
Thu Nov 6 05:42:02 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 |
-------------------------------------+-------------------------------------
Comment (by usability.idealist):
The following snippet, placed in the admin-menu.css (line 171 - 180), will
achieve both the underline-focus as well as change the hover to white on
dark background.
{{{
#adminmenu .wp-submenu a:hover,
#adminmenu .wp-submenu a:focus {
background: #111;
}
#adminmenu a:hover,
#adminmenu li.menu-top > a:focus,
#adminmenu .wp-submenu a:hover,
#adminmenu .wp-submenu a:focus {
color: #fff;
}
#adminmenu li.menu-top > a:focus,
#adminmenu .wp-submenu a:focus {
text-decoration: underline;
}
}}}
Would supply it as a patch, but I've got not enough time at hand right
now, for properly setting all up, so that has to do it.
Description: Focus stays on currently focused item, while the hover both
highlights the currently focused parent menu item as well as the currently
selected submenu item. If required, the parent menu item in focus could
also be highlighted using the underline-focus.
Also see the following screenshot:
[[Image(http://250kb.de/u/141106/p/LXGDqjWUmhif.png)]]
cu, w0lf.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28599#comment:19>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list