[wp-trac] [WordPress Trac] #51580: Application Passwords: Accessibility Improvements

WordPress Trac noreply at wordpress.org
Fri Oct 30 14:41:06 UTC 2020


#51580: Application Passwords: Accessibility Improvements
------------------------------------+--------------------------------------
 Reporter:  georgestephanis         |       Owner:  georgestephanis
     Type:  defect (bug)            |      Status:  reopened
 Priority:  normal                  |   Milestone:  5.6
Component:  Login and Registration  |     Version:  trunk
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch               |     Focuses:  accessibility, rest-api
------------------------------------+--------------------------------------

Comment (by afercia):

 Question: has the problem related to the focus loss been solved? I still
 see a focus loss when using the UI.

 > When using a keyboard and submitting, the form elements get disabled,
 including the submit button. This way, the element that had keyboard focus
 loses focus and there's a focus loss. ideally, interactive elements that
 have focus should never get disabled or removed/hidden from the DOM while
 they're focused. Ideally, instead of disabling, the button should get an
 aria-disabled="true" attribute and noop. If this isn't possible, a
 temporary workaround would be setting focus on the button again once the
 AJAX action has completed.

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


More information about the wp-trac mailing list