[wp-trac] [WordPress Trac] #54483: On logout input fields have aria described login_error
WordPress Trac
noreply at wordpress.org
Sun Nov 21 09:37:07 UTC 2021
#54483: On logout input fields have aria described login_error
------------------------------------+--------------------------------
Reporter: patrickgroot | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Login and Registration | Version: 5.8.2
Severity: trivial | Resolution:
Keywords: | Focuses: ui, accessibility
------------------------------------+--------------------------------
Comment (by patrickgroot):
Potential/proposal fix
Original file: wp-login.php
{{{#!php
<?php
if ( $errors->has_errors() ) {
$aria_describedby_error = ' aria-describedby="login_error"';
} else {
$aria_describedby_error = '';
}
}}}
Change to on line 1307:
{{{#!php
<?php
if ( $errors->has_errors() && !empty( $_GET['loggedout'] ) == false ) {
$aria_describedby_error = ' aria-describedby="login_error"';
} else {
$aria_describedby_error = '';
}
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54483#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list