[wp-trac] [WordPress Trac] #51786: Accessibility issue with the logo on the login page
WordPress Trac
noreply at wordpress.org
Mon Sep 30 15:22:37 UTC 2024
#51786: Accessibility issue with the logo on the login page
----------------------------------------+----------------------------
Reporter: roytanck | Owner: joedolson
Type: enhancement | Status: accepted
Priority: normal | Milestone: 6.7
Component: Login and Registration | Version:
Severity: normal | Resolution:
Keywords: has-patch has-testing-info | Focuses: accessibility
----------------------------------------+----------------------------
Comment (by joedolson):
@sabernhardt I'm inclined to agree. It's not the primary purpose of this
ticket, and poses some risks.
I did a quick check of plugins that use the `login_header` and
`login_footer` actions, and while they aren't adding landmarks, they *are*
inserting HTML elements; and the first I looked at inserted an open div in
the header and a close div in the footer. With this patch, that would be
broken code. Any extender who is using these hooks to add an additional
wrapper will have that issue.
Additionally, if we do *not* wrap the footer in a `footer` element, and it
ever contains content, we've left orphaned content.
The value of landmarks is in being able to find the sections of the page;
the default WordPress version of these forms only have one section, so
it's essentially a moot point structurally. If an extender needs
additional sections, it probably makes more sense for them to define that.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51786#comment:26>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list