[wp-trac] [WordPress Trac] #50293: Plugin & Themes auto-updates: add missing `aria-hidden` attributes to dashicons
WordPress Trac
noreply at wordpress.org
Mon Jun 1 13:32:37 UTC 2020
#50293: Plugin & Themes auto-updates: add missing `aria-hidden` attributes to
dashicons
----------------------------+-------------------------
Reporter: audrasjb | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.5
Component: Administration | Version: trunk
Severity: normal | Keywords: needs-patch
Focuses: accessibility |
----------------------------+-------------------------
Current implementation in Plugins screen auto-updates column:
{{{
<a href="plugins.php?action=disable-auto-update…" class="toggle-auto-
update" data-wp-action="disable">
<span class="dashicons dashicons-update spin hidden"></span>
<span class="label">Disable auto-updates</span>
</a>
}}}
`span` elements only used to display a dashicon should use `aria-hidden`
attribute as it's a decorative element.
This also needs to be fixed on Themes screen.
For reference, this bug was introduced in #50052.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50293>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list