← Back to Catalog

Tab into field selects text

tab-into-field-selects-text

Tab into a text field selects existing text.

Description

When someone tabs into a Spectrum text field that already has content, the existing text should be selected so typing replaces it immediately. Placing a caret without selection forces extra keystrokes to clear or overwrite the value. Apply on keyboard focus into filled text inputs during form editing; do not change empty fields, mouse click-to-caret placement inside the value, or non-text controls that use different focus behavior.

When to use

Keyboard focus into filled text fields during form editing.

Not when

Empty fields, mouse click-to-caret placement, or non-text controls.

Agent hint

On keyboard focus into a filled text field, select the existing text.

Pass

Keyboard focus into a text field with existing text selects that text.

Fail

Tab-in places a caret without selecting existing text.

Citations

Open UX · cited UX rules agents audit against

Privacy · Sources ·