Questions tagged [autofocus]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
1 answer
67 views

Are there any guidelines for using the auto focus (programmatic focus) on a webpage by WCAG 2.0?

Regarding ADA compliance and web accessibility guidelines like WCAG and WAI-ARIA, is there a specific requirement recommending the auto-focusing of input fields after service failure error (not a ...
BlendedThinking's user avatar
24 votes
5 answers
5k views

Why would the search input field not get focus when the page is loaded?

Opening up google.com I see that the search input field gets focus automatically, i.e. the cursor is already blinking in the field and users can start typing right away. In contrast, amazon.com or ...
greenforest's user avatar
  • 8,786
2 votes
1 answer
400 views

Mobile: Apply text field focus with keyboard or not?

I'm interested in the drawbacks when applying auto focus with keyboard on text fields. I'm redesigning an application where the user have to enter PIN etc. Normally the user have to enter maximum ...
Karolina Matyja's user avatar
5 votes
2 answers
1k views

Why Google search form is not using auto-focus attribute?

I was doing some testing for a project where I wanted to ensure that the user still could reach certain functionality even with JS disabled. I wanted to quickly find something by going to Google and I ...
Shina's user avatar
  • 507
0 votes
3 answers
343 views

autofocus on main action

I was asked to add autofocus to the confirm button: download bmml source – Wireframes created with Balsamiq Mockups Works great, there are lot of confirmation info text. When testing on small ...
Igor-G's user avatar
  • 3,062