Accessibility · Middle · Question 16 of 75

What is the difference between role="status" and role="alert"?

Show the answer

Correct answer: status is polite; alert is assertive and for important messages

Explanation

"3 results found" is a status. "Payment failed" is an alert. Neither moves focus.

Further reading

Problem with a question

Accessibility · Middle · question 16

Test yourself

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

Take this quiz