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)
Sat, Mar 1, 9:22 PM
Unknown Object (File)
Feb 18 2025, 12:33 PM
Unknown Object (File)
Feb 17 2025, 11:23 AM
Unknown Object (File)
Feb 9 2025, 7:08 AM
Unknown Object (File)
Feb 9 2025, 7:08 AM
Unknown Object (File)
Feb 9 2025, 7:08 AM
Unknown Object (File)
Feb 9 2025, 7:08 AM
Unknown Object (File)
Jan 28 2025, 8:32 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
Branch
xacc11
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 21877
Build 29863: Run Core Tests
Build 29862: arc lint + arc unit