[wp-trac] [WordPress Trac] #37969: Menus: simplify the "Remove" and "Cancel" link styling
WordPress Trac
noreply at wordpress.org
Wed Sep 7 11:06:13 UTC 2016
#37969: Menus: simplify the "Remove" and "Cancel" link styling
-------------------------+-------------------------------------------------
Reporter: afercia | Owner:
Type: defect | Status: new
(bug) | Milestone: 4.7
Priority: normal | Version:
Component: Menus | Keywords: has-screenshots needs-patch ui-
Severity: normal | feedback
Focuses: ui, |
accessibility |
-------------------------+-------------------------------------------------
Splitting this out from the discussion on #37016.
On the menus screen `nav-menus.php` the menu items have two links:
"Remove" and "Cancel" that use some non-standard styling, a bit outside
core conventions for links:
Current normal state:
[[Image(https://cldup.com/kfHKPefHPV.png)]]
Current hover state:
[[Image(https://cldup.com/1iHBeFbBlq.png)]]
Current focus state:
[[Image(https://cldup.com/TiqdObQuw5.png)]]
I remember some discussion about this but I'm not sure if there's a
related ticket (couldn't find one).
Looks like this styling is there since a few years and I'm pretty sure at
that time it made sense. By the way, looking at this today I'm wondering
if it may be better to just use the standard styling for links. This would
improve consistency across the admin, make the accessibility work about
colour contrast easier (see #35622) and allow to remove a few lines of
CSS, which is always a good thing :)
With the standard style for links:
[[Image(https://cldup.com/rgo9OOL5yh.png)]]
also on `:hover` and `:focus` they would use the standard links style.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37969>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list