Recall & Review
beginner
What is a modal in web development?
A modal is a popup window that appears on top of the main page content to show important information or ask for user input without leaving the current page.
Click to reveal answer
beginner
Why do modals focus user attention?
Modals focus user attention by dimming the background and disabling interaction with the rest of the page, so users must interact with the modal before continuing.
Click to reveal answer
intermediate
How does Bootstrap help manage focus in modals?
Bootstrap automatically traps keyboard focus inside the modal and returns focus to the triggering element when the modal closes, improving accessibility.
Click to reveal answer
beginner
What role does the backdrop play in a modal?
The backdrop is the semi-transparent layer behind the modal that dims the page content, visually signaling that the modal requires attention.
Click to reveal answer
beginner
How do modals improve user experience?
Modals improve user experience by focusing attention on a single task or message, preventing distractions and accidental clicks outside the modal.
Click to reveal answer
What happens to the background content when a Bootstrap modal is open?
✗ Incorrect
Bootstrap dims the background and disables interaction to focus user attention on the modal.
How does Bootstrap handle keyboard focus when a modal opens?
✗ Incorrect
Bootstrap traps keyboard focus inside the modal to improve accessibility and user experience.
Why is it important that modals disable interaction with the rest of the page?
✗ Incorrect
Disabling interaction prevents accidental clicks and keeps user focus on the modal task.
What visual effect does the modal backdrop create?
✗ Incorrect
The backdrop dims the page content to highlight the modal.
When a Bootstrap modal closes, what happens to keyboard focus?
✗ Incorrect
Bootstrap returns focus to the element that triggered the modal to keep navigation smooth.
Explain in your own words why modals help focus user attention on a task.
Think about how a popup grabs your eyes and stops you from clicking elsewhere.
You got /4 concepts.
Describe how Bootstrap manages keyboard focus when a modal opens and closes.
Consider how keyboard users navigate modals.
You got /4 concepts.