#50293 closed defect (bug) (fixed)
Plugin & Themes auto-updates: add missing `aria-hidden` attributes to dashicons
| Reported by: | audrasjb | Owned by: | desrosj |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.5 |
| Component: | Administration | Version: | 5.5 |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: | Focuses: | accessibility |
Description
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.
Attachments (1)
Change History (7)
This ticket was mentioned in Slack in #accessibility by sabernhardt. View the logs.
6 years ago
#2
@
6 years ago
- Keywords has-patch commit added; needs-patch removed
- Owner set to
- Status new → accepted
The patch looks perfect, marking this for commit. Thanks @ryokuhi
Also, additional props should go to @afercia who spotted the issue.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
First patch