Accessibility · Junior · Question 21 of 75

What does :focus-visible help with?

Show the answer

Correct answer: Showing the focus ring when it's useful, like keyboard use

Explanation

Browsers apply it based on how focus arrived. Buttons clicked with a mouse don't get a ring, while keyboard users always see one.

Further reading

Problem with a question

Accessibility · Junior · question 21

Test yourself

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

Take this quiz