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)
Sun, Dec 15, 4:26 PM
Unknown Object (File)
Thu, Dec 12, 4:46 AM
Unknown Object (File)
Thu, Dec 12, 2:59 AM
Unknown Object (File)
Fri, Dec 6, 4:01 PM
Unknown Object (File)
Sun, Dec 1, 5:39 PM
Unknown Object (File)
Fri, Nov 29, 9:30 AM
Unknown Object (File)
Tue, Nov 26, 3:59 PM
Unknown Object (File)
Tue, Nov 26, 7:10 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