Understanding On Focus

Intent of On Focus

The intent of this Success Criterion is to ensure that functionality is predictable as visitors navigate their way through a document. Any component that is able to trigger an event when it receives focus must not change the context. Examples of changing context when a component receives focus include, but are not limited to:

Focus may be moved to a control either via the keyboard (e.g. tabbing to a control) or the mouse (e.g. clicking on a text field). Moving the mouse over a control does not move the focus unless scripting implements this behavior. Note that for some types of controls, clicking on a control may also activate the control (e.g. button), which may, in turn, initiate a change in context.

What is meant by "component" here is also sometimes called "user interface element" or "user interface component''.

Benefits of On Focus

Examples of On Focus

Resources for On Focus

Techniques for On Focus

Sufficient Techniques for On Focus

  1. Using "activate" rather than "focus" as a trigger for changes of context

A change of content is not always a change of context. This success criterion is automatically met if changes in content are not also changes of context.

Additional Techniques (Advisory) for On Focus

Failures for On Focus