Accessibility · Senior · Question 66 of 75

What do Playwright ARIA snapshots compare?

Show the answer

Correct answer: The page's accessibility tree against a YAML template

Explanation

toMatchAriaSnapshot catches lost roles and names that visual tests miss.

Further reading

Problem with a question

Accessibility · Senior · question 66

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