Accessibility: bump headings one level up on the Appearance > Widgets screen for a better headings hierarchy.

Props mrahmadawais, afercia.
Fixes #33659.

git-svn-id: https://develop.svn.wordpress.org/trunk@35015 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrea Fercia
2015-10-10 16:33:33 +00:00
parent 5e85a8b55a
commit 52c2492afb
5 changed files with 17 additions and 8 deletions
+6 -2
View File
@@ -419,7 +419,11 @@ body.adding-widget .add-new-widget:before {
box-shadow: none;
}
#available-widgets .widget-title h4 {
#customize-controls .widget-title h3 {
font-size: 1em;
}
#available-widgets .widget-title h3 {
padding: 0 0 5px;
font-size: 14px;
}
@@ -621,7 +625,7 @@ body.adding-widget #customize-preview {
.last-widget {
margin-bottom: 15px;
}
.widget-title h4 {
.widget-title h3 {
padding: 13px 15px;
}
.widget-top a.widget-action:after {
+5
View File
@@ -22,9 +22,11 @@
text-decoration: none;
}
.widget-title h3,
.widget-title h4 {
margin: 0;
padding: 15px;
font-size: 1em;
line-height: 1;
overflow: hidden;
white-space: nowrap;
@@ -100,6 +102,7 @@
cursor: pointer;
}
.sidebar-name h2,
.sidebar-name h3 {
margin: 0;
padding: 8px 10px;
@@ -142,6 +145,7 @@ div#widgets-left .inactive-sidebar.closed .sidebar-name {
margin-bottom: 10px;
}
div#widgets-left .sidebar-name h2,
div#widgets-left .sidebar-name h3 {
padding: 10px 0;
margin: 0 10px 0 0;
@@ -243,6 +247,7 @@ div#widgets-right .sidebar-description {
margin-top: -5px;
}
div#widgets-right .sidebar-name h2,
div#widgets-right .sidebar-name h3 {
padding: 15px 7px;
}