Lantern quizzes are built with accessibility in mind, so shoppers who use a keyboard, a screen reader or reduced motion can take your quiz. Some parts depend on how you set up your quiz, and this article explains both.
What Lantern takes care of
Every Lantern quiz includes these accessibility features:
Keyboard: shoppers can use every answer, button and link with the keyboard, and each one shows a visible focus outline.
Screen readers: screen readers announce each new question, along with progress and error messages.
Contrast: the quiz's own text is designed to meet the WCAG contrast level.
Motion: the quiz skips its animations for shoppers who have turned on "Reduce motion".
Popups: a quiz popup opens as a proper dialog. Focus moves into it, Escape closes it, and the shopper lands back where they were.
Product images: each product image uses the product title as its description.
Dropdown answers also work with a keyboard and screen readers: arrow keys move through the list, Enter picks an answer and Escape closes the list. Find out more about dropdown answers.
What depends on your quiz setup
The choices you make when designing your quiz also affect how accessible it is.
Colors
Text needs enough contrast against its background to be easy to read. WCAG asks for a contrast ratio of at least 4.5:1. You can check your text and background colors with WebAIM's free contrast checker.
Images in content blocks
Content blocks let you add text, images, buttons and video to your quiz pages. When you add an image to a content block, add alt text in the content block's settings in the Lantern editor so screen readers can describe it. Find out how to use Content Blocks on Quiz Pages.
Custom CSS
Custom CSS lets you change how your quiz looks beyond the built-in settings. CSS that removes focus outlines or hides elements can make the quiz harder to use with a keyboard. Find out how to add custom CSS to your quiz.
ADA and legal compliance
Lantern doesn't guarantee compliance with the ADA. That's because so much depends on how each quiz is set up and on the store around it.
Whether your store meets its legal requirements is best decided with your own legal or accessibility advisor.
Found an issue or received an audit?
If you've received an accessibility audit or report, or a shopper ran into a problem, email it to [email protected]. Please include:
The link to your quiz.
For a specific problem, the page where it happens and the steps to reproduce it.
We'll go through each point, fix what we can on our side, and tell you what to change in your quiz settings for the rest.
