[wp-trac] [WordPress Trac] #51580: Application Passwords: Accessibility Improvements
WordPress Trac
noreply at wordpress.org
Wed Oct 21 16:10:07 UTC 2020
#51580: Application Passwords: Accessibility Improvements
------------------------------------+--------------------------------------
Reporter: georgestephanis | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.6
Component: Login and Registration | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch | Focuses: accessibility, rest-api
------------------------------------+--------------------------------------
Comment (by georgestephanis):
I mean, the "add new" button just doesn't do anything and focuses back on
the text input if it's left blank (`0 === name.length`).
https://github.com/WordPress/wordpress-
develop/blob/530493396b324f5bed518a494e2843e7fdb020f1/src/js/_enqueues/admin
/application-passwords.js#L22-L25
We could do some sort of `wp.a11y.speak()` in that conditional to state
that it's required but I don't have any experience with that and would
appreciate if someone else can draft a change for that aspect.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51580#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list