Menus: simplify the "Remove" and "Cancel" link styling
|Reported by:||afercia||Owned by:||afercia|
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:
Current hover state:
Current focus state:
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:
also on :hover and :focus they would use the standard links style.
Change History (12)
- Keywords has-patch added; needs-patch removed
- Owner set to afercia
- Status changed from new to assigned