[wp-trac] [WordPress Trac] #48657: wp-signup page lacks a role="main"
WordPress Trac
noreply at wordpress.org
Fri Nov 15 20:30:32 UTC 2019
#48657: wp-signup page lacks a role="main"
---------------------------+-----------------------------
Reporter: SteelWagstaff | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 5.3
Severity: normal | Keywords:
Focuses: accessibility |
---------------------------+-----------------------------
The `wp-signup.php` page lacks a `role="main"` landmark. According to w3c
guidelines, each webpage should have one main landmark, designated by the
`role="main"` attribute. See https://www.w3.org/TR/wai-aria-
practices/examples/landmarks/main.html. It seems to me that the existing
container div `<div class="mu_register wp-signup-container">`
https://core.trac.wordpress.org/browser/trunk/src/wp-signup.php#L89 would
be a good candidate to receive the role="main" designation in this case.
Patch attached (this is my first time contributing, so happy to take
instruction if any part of this could be improved).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48657>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list