Focus Order – Initial focus on edit field

The initial focus is a technique that is used to set the focus on a particular element when any application or website is loaded. For example, when a user opens a form on a website, the initial focus might be set on the first input field of the form instead of the start of the page.

NOTE:

  • New to accessibility or uncertain of requirements, it will be helpful to review all sections below.
  • Already familiar with requirements, skip to the “Working Example” section for sample HTML, CSS and JavaScript (when needed), along with a working demo.