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.


git-svn-id: https://develop.svn.wordpress.org/trunk@45087 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrea Fercia
2019-04-01 15:07:30 +00:00
parent fe0db882c5
commit 01bc0b9772
3 changed files with 28 additions and 24 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;
}