WordPress.org

Make WordPress Core

Opened 3 weeks ago

Last modified 3 weeks ago

#48657 new enhancement

wp-signup page lacks a role="main"

Reported by: SteelWagstaff Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.3
Component: Login and Registration Keywords:
Focuses: accessibility, multisite Cc:
PR Number:

Description

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).

Attachments (1)

wp-signup.diff (439 bytes) - added by SteelWagstaff 3 weeks ago.
Adds role="main" to existing container div on the wp-signup.php page

Download all attachments as: .zip

Change History (2)

@SteelWagstaff
3 weeks ago

Adds role="main" to existing container div on the wp-signup.php page

#1 @SergeyBiryukov
3 weeks ago

  • Component changed from General to Login and Registration
  • Focuses multisite added
Note: See TracTickets for help on using tickets.