Accessibility: Improve the Site Health accordions.

- removes the definition list and uses the markup from the ARIA Authoring Practices example
- removes incorrect ARIA roles
- avoids ARIA landmark regions proliferation

Props mukesh27 for the initial patch.
Fixes #46714.

Built from https://develop.svn.wordpress.org/trunk@45087


git-svn-id: http://core.svn.wordpress.org/trunk@44896 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrea Fercia
2019-04-01 15:08:58 +00:00
parent 95541a86ff
commit d8b8994336
7 changed files with 38 additions and 30 deletions
+7 -3
View File
@@ -271,12 +271,16 @@
border: 1px solid #e2e4e7;
}
.health-check-accordion dt {
font-weight: 600;
.health-check-accordion-heading {
margin: 0;
border-top: 1px solid #e2e4e7;
font-size: inherit;
line-height: inherit;
font-weight: 600;
color: inherit;
}
.health-check-accordion dt:first-child {
.health-check-accordion-heading:first-child {
border-top: none;
}
File diff suppressed because one or more lines are too long
+7 -3
View File
@@ -271,12 +271,16 @@
border: 1px solid #e2e4e7;
}
.health-check-accordion dt {
font-weight: 600;
.health-check-accordion-heading {
margin: 0;
border-top: 1px solid #e2e4e7;
font-size: inherit;
line-height: inherit;
font-weight: 600;
color: inherit;
}
.health-check-accordion dt:first-child {
.health-check-accordion-heading:first-child {
border-top: none;
}
+1 -1
View File
File diff suppressed because one or more lines are too long