Components· 15 of 16

15 of 16

Return focus when an overlay closes

When an overlay closes, return keyboard focus to the control that opened it. If closing removes that control, such as when a row is deleted, focus the next logical control in the workflow.

Do
Don’t

DoEsc → focus back on "Edit"

Don’tEsc, then Tab → focus restarts at "New project"

Before you ship

  • Tab to Edit for Quarterly report, press Enter, then Esc. Is the focus outline back on Edit before you press Tab again?
  • Do Cancel and Save also put focus where the task should continue?
  • Delete the row from the dialog. Does focus land on the next logical control after the row disappears?

Next

Make the chart’s question answerable in textComponents · 16 of 16J