[wp-trac] [WordPress Trac] #42632: Remove tabindex="-1" from login form header
WordPress Trac
noreply at wordpress.org
Sun Mar 4 16:23:25 UTC 2018
#42632: Remove tabindex="-1" from login form header
-------------------------------------+----------------------------
Reporter: bamadesigner | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.0
Component: Login and Registration | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-refresh | Focuses: accessibility
-------------------------------------+----------------------------
Comment (by afercia):
@bamadesigner thanks. Looking a bit into this, I think my previous comment
was a bit confusing, sorry for that. Most of the first fields in the
installation/setup screens already receive the initial focus via some
JavaScript. It's done in a way that focus is set only for non-mobile
devices to avoid to trigger the mobile on-screen keyboard. See for example
https://core.trac.wordpress.org/browser/trunk/src/wp-
admin/install.php?rev=42343#L410. We should make sure all the first
focusable fields behave in the same way.
Seems to me the only field that doesn't get initial focus is the `dbname`
one. For consistency, it should receive focus but only on non-mobile
devices.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42632#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list