[wp-trac] [WordPress Trac] #54483: On logout input fields have aria described login_error

WordPress Trac noreply at wordpress.org
Tue Mar 1 15:44:30 UTC 2022


#54483: On logout input fields have aria described login_error
------------------------------------+--------------------------------
 Reporter:  patrickgroot            |       Owner:  alexstine
     Type:  defect (bug)            |      Status:  accepted
 Priority:  normal                  |   Milestone:  6.0
Component:  Login and Registration  |     Version:  5.8.2
 Severity:  trivial                 |  Resolution:
 Keywords:  has-patch               |     Focuses:  ui, accessibility
------------------------------------+--------------------------------

Comment (by afercia):

 Given that the value of `aria-describedby` should point to the ID of an
 element present on the page, I'd like to propose a different approach in
 [attachment:"54483.3.diff"]. This updated patch should cover the case of
 the login and logout.

 Worth noting there are at least 3 more cases where input fields aren't
 connected to messages displayed on the page:
 - lost password: this page shows a default message and potential errors,
 however the input field is not connected to any description.
 - reset password: the password field is connected to the password strength
 meter, which is also an aria-live region.
 - register: this page shows a default message and potential errors,
 however the two input fields are not connected to any description.

 I'm not sure these cases should be addressed in the context of this ticket
 though.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54483#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list