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:
Sergey Biryukov
2017-09-22 11:28:44 +00:00
parent fff6cc8fc8
commit 4db08514ea
18 changed files with 69 additions and 29 deletions

View File

@@ -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;
}