Accessibility · Middle · Question 35 of 75

What contrast does WCAG require for a focus indicator or input border?

Show the answer

Correct answer: 3:1 against adjacent colours

Explanation

Non-text contrast covers UI components and meaningful graphics. An input with a pale grey border may fail even if its text passes.

Further reading

Problem with a question

Accessibility · Middle · question 35

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