[wp-trac] [WordPress Trac] #31143: Login error handling accessibility improvements
WordPress Trac
noreply at wordpress.org
Tue Jan 27 16:24:50 UTC 2015
#31143: Login error handling accessibility improvements
------------------------------------+-----------------------------
Reporter: afercia | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Login and Registration | Version: 4.1
Severity: normal | Keywords:
Focuses: accessibility |
------------------------------------+-----------------------------
Splitting this out from #29955
As reported:
> When the user attempts to login with incorrect login information a
message appears on the screen, “ERROR: The password you entered for the
username admin is incorrect. Lost your password?” This statement is not
made available for JAWS to announce automatically.
> Expected result: All dynamically appearing messages are expected to be
made available for JAWS to announce.
Proposed patch could be a simple way to have error messages automatically
announced after page refresh. Given that the login form fields receive
focus on page load, their `aria-describedby` would be automatically read
out.
Would like to ask the accessibility team their feedback and availability
for testing. Tested with Firefox + NVDA, seems error messages are read out
correctly.
This solution could be used also for the other login forms: lost your
password, reset password, etc.
Moved also two question marks, small detail in order to have screen
readers read out text with a proper tone.
Aside:
having the form fields focused with JavaScript conflicts with the browser
trying to focus on the "Would you like to remember the password..." built-
in popup, at least in Firefox. A bit annoying for keyboard users.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31143>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list