Taxonomy: Convert tag cloud in Tags meta box to a list (<ul>) for better semantics and accessibility.
An unordered list allows screen reader users to know in advance how many tags are within the list. Props audrasjb, afercia. Fixes #40187. Built from https://develop.svn.wordpress.org/trunk@41563 git-svn-id: http://core.svn.wordpress.org/trunk@41396 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -574,7 +574,7 @@ span.wp-media-buttons-icon:before {
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.tagchecklist > span {
|
||||
.tagchecklist > li {
|
||||
float: left;
|
||||
margin-right: 25px;
|
||||
font-size: 13px;
|
||||
@@ -1051,6 +1051,14 @@ p.popular-tags a {
|
||||
margin: 2px 0 12px;
|
||||
}
|
||||
|
||||
.the-tagcloud ul {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.the-tagcloud ul li {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
/* Suggest.js autocomplete, no more used by core. */
|
||||
.ac_results {
|
||||
display: none;
|
||||
@@ -1440,7 +1448,7 @@ table.links-table {
|
||||
margin: 25px 10px;
|
||||
}
|
||||
|
||||
.tagchecklist > span {
|
||||
.tagchecklist > li {
|
||||
font-size: 16px;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user