Text improvements for screen readers in list table paginations.

Removes title attributes where reasonable and uses accessible hidden text.
Screen readers will now correctly read out all available information.

Props afercia, rianrietveld.
Fixes #32028.



git-svn-id: https://develop.svn.wordpress.org/trunk@32693 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Konstantin Obenland
2015-06-05 05:00:23 +00:00
parent 9747d9f611
commit 9dfbd00947
2 changed files with 20 additions and 14 deletions
+4 -1
View File
@@ -544,7 +544,7 @@ th.asc a:focus span.sorting-indicator {
cursor: default;
height: 30px;
color: #555;
line-height: 30px;
line-height: 2.5;
font-size: 12px;
}
@@ -563,8 +563,10 @@ th.asc a:focus span.sorting-indicator {
padding: 0 10px 3px;
background: #eee;
background: rgba( 0, 0, 0, 0.05 );
display: inline-block;
font-size: 16px;
font-weight: normal;
line-height: 1.3333;
}
.tablenav .tablenav-pages a:hover,
@@ -1614,6 +1616,7 @@ div.action-links,
.tablenav-pages .pagination-links a {
padding: 8px 20px 11px;
display: inline;
font-size: 18px;
background: rgba(0, 0, 0, 0.05);
}