Page MenuHomePhabricator

On login forms, autofocus the "username" field
ClosedPublic

Authored by epriestley on Feb 7 2019, 4:55 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 21, 3:51 PM
Unknown Object (File)
Sun, Nov 17, 8:00 AM
Unknown Object (File)
Mon, Nov 4, 10:42 AM
Unknown Object (File)
Mon, Nov 4, 10:42 AM
Unknown Object (File)
Mon, Nov 4, 10:41 AM
Unknown Object (File)
Sun, Nov 3, 1:56 AM
Unknown Object (File)
Oct 20 2024, 3:15 PM
Unknown Object (File)
Oct 13 2024, 4:29 AM
Subscribers
None
Tokens
"100" token, awarded by amckinley."Dat Boi" token, awarded by cspeckmim.

Details

Summary

Depends on D20120. Fixes T8907. I thought this needed some Javascript nonsense but Safari, Firefox and Chrome all support an autofocus attribute.

Test Plan

Loaded login page with password auth enabled in Safari, Firefox, and Chrome; saw username field automatically gain focus.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable