Accessibility: Remove title attributes from the Admin Dashboard.

Uses `aria-label` and `screen-reader-text` where appropriate. Also removes
the default title attribute output by `privacy_on_link_title`, preserving
the ability to use the filter.

Fixes #35049.

git-svn-id: https://develop.svn.wordpress.org/trunk@36172 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrea Fercia
2016-01-05 14:18:57 +00:00
parent 3a9259a4c4
commit 0eba218570
3 changed files with 44 additions and 27 deletions

View File

@@ -270,7 +270,7 @@
/* Right Now specific Icons styles */
#dashboard_right_now li a:before,
#dashboard_right_now li span:before {
#dashboard_right_now li > span:before { /* get only the first level span to exclude screen-reader-text in mu-storage */
content: "\f159"; /* generic icon for items added by CPTs ? */
padding: 0 5px 0 0;
}