Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 179409
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T14:24:07+00:00 2026-05-11T14:24:07+00:00

Here are some examples of what I mean: google.com – focus is set on

  • 0

Here are some examples of what I mean:

google.com – focus is set on the ‘search’ box

gmail.google.com – focus is set on the ‘user name’ field (actually, most web email clients do this).

stackoverflow, ask a question – focus is set on the ‘title’ box.

Sometimes, this is a convenient feature – e.g., on Google. From a usability standpoint, however, is it really considered a good feature to have on login pages?

Personally, I have often entered my user name, started to enter my password, then the page finished loading and had focus put back onto the user name field. Unfortunately, since I have complex passwords that force me to look at the keyboard while typing, I fail to notice when focus shifts. I often wind up typing my password in the unmasked user name field for anyone standing behind me to see.

Another situation, less dangerous but still annoying, is when I’m typing a url in my address bar while my homepage is still loading. As soon as it finishes, however, and if I’m not done entering the url, focus is stolen from me and put on some other field.

Should websites and/or browsers be programmed so that focus won’t change if the user is already interacting with the site or the browser? Do problems like this bother ordinary (i.e., non-programmer) users?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T14:24:08+00:00Added an answer on May 11, 2026 at 2:24 pm

    These are really two separate questions with different answers:

    Q: Should focus be given to the input field the user is most likely to use?

    A: Most definitely yes, if ‘most users’ really is 90% or more.

    Q: Should this happen when the webpage finishes loading?

    A: No. The ‘onLoad’ event is a pretty stupid place to put this. The input field should get the focus as soon as it appears – it’s usually completely irrelevant when the page finishes loading. Just put a <script> tag that sets the focus right after the input element itself.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm looking for something like break for loops. Here's some example code (using Symfony's
Here is some code I could not get to format properly in markdown, this
Here is some simple Perl to count the number of times a value occurs
Here's some Ruby code: puts %x{ pstree #{$$} } # never forks puts %x{
Here's some background on what I'm trying to do: Open a serial port from
Here's some code I saw once. Can you see what's wrong with it? [updated]
Here is some XAML <HierarchicalDataTemplate DataType={x:Type data:FolderEntity} ItemsSource={Binding Path=FolderEntities,UpdateSourceTrigger=PropertyChanged}> <Label Content={Binding FolderName}/> </HierarchicalDataTemplate> <TreeView/>
here is some sample javascript: SomeObjectType = function() { } SomeObjectType.prototype = { field1:
I was wondering if anyone here had some experience writing this type of script
I'm looking for a laymen's introduction to computer hardware and organization. Here are some

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.