[wp-trac] [WordPress Trac] #31650: Missing H1 heading in the admin
WordPress Trac
noreply at wordpress.org
Fri Mar 20 12:09:22 UTC 2015
#31650: Missing H1 heading in the admin
----------------------------+------------------------------
Reporter: Cheffheid | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version: 3.3
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: accessibility
----------------------------+------------------------------
Changes (by GaryJ):
* keywords: => needs-patch
Comment:
Discussion amongst johnbillion, Rian and myself at WordCamp London.
We could replace the `h2` with the `h1` but that would require bumping
`h3` to `h2`, `h4` to `h3` and `h5` to `h4`, so no levels were missed out.
However, plugins and themes may also already be using `h2` on their
settings screens, so the updated levels would need classes, and those
classes used (as they should be anyway) to visually style as to what they
are now. i.e.
{{{
.wrap > h1,
.wrap > .admin-h1, /* new h1 */
.wrap h2 {
/* Existing .wrap h2 styles */
}
.wrap > .admin-h2, /* new h2 */
.wrap h3 {
/* Existing h3 styles */
}
etc.
}}}
As an aside, the `h5` of the "Show on Screen" Screen Options heading would
also need appropriate class for styling.
The patch would be massive (change all the admin headings, plus CSS), so
would need to committed as soon as it was ready to avoid it going stale.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31650#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list