System Design · Middle · Question 50 of 75

How do you manage focus when opening a modal in an SPA?

Explanation

Without focus management, keyboard and screen reader users get lost. The native <dialog> with showModal() does most of the work. At the system level, this is built into the design system's base components.

Further reading

Problem with a question

System Design · Middle · question 50

Test yourself

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

Take this quiz