DeepFrontend
Learning Paths
Practice
System Design & DS
Design Studio
Data Structures Curriculum
Real-World Case Studies
Careers
Job Board
Resume Builder
Blog
Sign in
Search
⌘K
Go Pro
Loading compiler resources...
HTML Quiz Practice
Active Recall Drill Session
← Exit Session
Question 1 of 1
medium
HTML
When a modal dialog closes, where should keyboard focus go?
A
It doesn't matter, the browser handles it automatically
B
Always to <body>, matching a fresh page load
C
Back to the element that originally opened/triggered the modal
D
To the first focusable element on the page
Check Answer