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)
Tue, Jan 21, 11:20 AM
Unknown Object (File)
Wed, Jan 15, 12:12 AM
Unknown Object (File)
Dec 15 2024, 4:26 PM
Unknown Object (File)
Dec 12 2024, 4:46 AM
Unknown Object (File)
Dec 12 2024, 2:59 AM
Unknown Object (File)
Dec 6 2024, 4:01 PM
Unknown Object (File)
Dec 1 2024, 5:39 PM
Unknown Object (File)
Nov 29 2024, 9:30 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