← All Elements

Shape

Focus Management

Controlling where keyboard focus goes after something changes on screen.

What is Focus Management?

Controlling where keyboard focus goes after something changes on screen.

What you learn

After anything changes, put focus where people will continue.

When it helps

focus disappears after a dialog closes, or lands somewhere unexpected.

Use it at work

  1. List every change: dialogs, deletions and new content.
  2. Decide where focus should go after each.
  3. Move focus there, and keep it visible.
  4. Test each change with a keyboard.

Your output

Open and close every dialog in your product with the keyboard. Check where focus lands each time.

Watch for

Letting focus fall back to the top of the page after a change.

Related practices

Sources

Enable JavaScript to try the interactive activity.

Elements.
48 elements · 8 families
Filters
DESIGN CONTEXT
What are you trying to do?

Scroll sideways within the map to explore all columns.

Created by Alan Hurt. Activities and notes are stored on your device. Privacy · Usage counts

ELEMENTS FIELD GUIDE