Accessibility · Senior · Question 32 of 75

Which CSS helps layouts work in right-to-left languages?

Show the answer

Correct answer: Logical properties like margin-inline-start

Explanation

Set dir="rtl" on the document, and logical properties flip automatically. Icons with direction need mirroring as well.

Further reading

Problem with a question

Accessibility · Senior · question 32

Test yourself

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

Take this quiz