mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 21:00:21 +00:00
Accessibility: Add the aria-hidden attribute to the auto-update related icons.
`<span>` elements used for displaying icons should use the `aria-hidden` attribute as they are purely decorative. Props audrasjb, ryokuhi. Fixes #50293. git-svn-id: https://develop.svn.wordpress.org/trunk@47910 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1066,7 +1066,7 @@ class WP_Plugins_List_Table extends WP_List_Table {
|
||||
$action
|
||||
);
|
||||
|
||||
echo '<span class="dashicons dashicons-update spin hidden"></span>';
|
||||
echo '<span class="dashicons dashicons-update spin hidden" aria-hidden="true"></span>';
|
||||
echo '<span class="label">' . $text . '</span>';
|
||||
echo '</a>';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user