Accessibility · Senior · Question 23 of 75

How does the popover attribute differ from a modal <dialog>?

Show the answer

Correct answer: It's non-modal: the page stays interactive and focus isn't trapped

Explanation

Popovers give top layer, light dismiss and Esc for free, which suits menus and toasts. For blocking tasks, use showModal().

Further reading

Problem with a question

Accessibility · Senior · question 23

Test yourself

Take the Accessibility · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz