WordPress.org

Make WordPress Core


Ignore:
Timestamp:
06/04/2020 03:46:00 PM (17 months ago)
Author:
desrosj
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-ms-themes-list-table.php

    r47894 r47910  
    749749        );
    750750
    751         echo '<span class="dashicons dashicons-update spin hidden"></span>';
     751        echo '<span class="dashicons dashicons-update spin hidden" aria-hidden="true"></span>';
    752752        echo '<span class="label">' . $text . '</span>';
    753753        echo '</a>';
Note: See TracChangeset for help on using the changeset viewer.