Accessibility · Junior · Question 56 of 75
Which key do users expect to close a modal dialog?
- 1Backspace
- 2Escape
- 3Delete
Show the answer
Correct answer: Escape
Explanation
Esc closes a modal in the standard pattern. The native <dialog> opened with showModal() supports this out of the box.