[wp-trac] [WordPress Trac] #50697: Remove underline in Theme "Enable auto-updates".
WordPress Trac
noreply at wordpress.org
Mon Jul 20 16:14:01 UTC 2020
#50697: Remove underline in Theme "Enable auto-updates".
-------------------------------------+-------------------------------------
Reporter: chetan200891 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version: trunk
Severity: normal | Resolution:
Keywords: has-screenshots has- | Focuses: ui, accessibility,
patch | css, administration
-------------------------------------+-------------------------------------
Changes (by afercia):
* focuses: ui, css, administration => ui, accessibility, css,
administration
Comment:
The underline shouldn't be removed. Otherwise, this link (actually it's a
button that looks like a link) would be distinguishable as an interactive
controls only by its color.
Color alone is not sufficient. As in the case of links, the underline is
necessary when the context doesn't clarify it's an interactive control.
https://developer.wordpress.org/coding-standards/wordpress-coding-
standards/accessibility/#links-underline-or-no-underline
> When links can be identified as such by the context, for example because
they’re part of a menu, or a set of links clearly identified as user
interface controls, they don’t necessarily need to be underlined. In all
the other cases, especially for links surrounded by other text (in a line
or block of text), links need to be always underlined.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50697#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list