You will learn
Learn how to use the accessibility assistant feature in the Form Alerts tab of the sign-up forms editor to avoid some of the most common web content accessibility guidelines (WCAG) compliance issues. Companies striving to make their websites ADA-friendly should reference and follow WCAG standards. The accessibility assistant guides you in creating sign-up forms that are accessible for all of your site visitors.
The WCAG standards aim to make web content more accessible to everyone, including people with disabilities. Website accessibility is a legal requirement in many countries, and implementing WCAG standards can help satisfy many of these accessibility needs. Please note that while the accessibility assistant is intended to help identify accessibility issues under the WCAG 2.0 AA standards as they apply to sign-up forms, it may not be able to identify every accessibility requirement due to known limitations of existing technology or other factors independent of technology. Use of the accessibility assistant can help with web accessibility requirements, but does not guarantee compliance with applicable laws. To confirm legal implications and requirements of web accessibility, it is recommended to seek the advice of a qualified lawyer.
Before you begin
Below is a list of issues that the accessibility assistant will check for. Please note that the error types listed below are how Klaviyo's accessibility assistant identifies them, not specific input field names in the form builder. If an error is detected, an alert with a description and fix prompt will appear in the Form alerts tab.
Error type |
Description |
Button-name |
Ensures buttons have discernible text. |
Image-alt |
Ensures image elements have alternate text (alt text) or a html role of “none” or presentation. |
Color-contrast |
Ensures the contrast between foreground and background colors meets WCAG 2 AA contrast ratio thresholds. |
Link-in-text-block |
Ensure links are distinguishable from surrounding text in a way that does not rely on color. |
Link-name |
Ensures links have discernible text. |
Label |
Ensures every form element has a label. |
Create a ADA-friendly sign-up form
Whether you’re building your first sign-up form or updating a form, the accessibility assistant helps you identify and fix accessibility issues.
To create a form in-line with the WCAG standards listed above:
- Create a new sign-up form or open up the form editor for one of your existing sign-up forms.
- Use the editor to add content blocks and style the form to fit your brand.
The accessibility assistant will monitor for form elements that do not meet WCAG standards as you build your form and log them as Active alerts. An existing form will log all issues in the Active alerts section.
- Click on the Form alerts in the bottom left to see the identified accessibility issues.
Under Active alerts, you’ll see various cards describing the elements that don't meet WCAG standards that the accessibility assistant identified in your form, in addition to other content or design issues identified. Each card will include a description of the issue and a prompt to either fix or dismiss it. For example, if you add an image to your sign-up form, the accessibility assistant will alert you to add alt text to the image. Alt text provides a description of the image so that shoppers browsing your site with a screen reader can access the digital content.
- To fix an issue, follow the suggestions on the card and either resolve or add the missing elements. Once you are satisfied with your changes, click Fix.
Some issues will prompt you to fix them in the respective block’s settings (i.e., a button block) or the styles section, rather than directly in the Form alerts tab. To resolve these issues, take note of the problem description on the alert card, then click Edit block (or Edit Styles) to make the suggested changes. Navigate back to the Form alerts tab once you fix the issue.
- If you wish to ignore one or more of the accessibility suggestions, click Dismiss. Dismissing an issue will prompt a modal to appear, asking you to cancel or confirm your choice.
You can return to ignored issues at a later time by opening the assistant and viewing your previously dismissed alerts. It is recommended you fix all issues highlighted in the accessibility assistant. Non-compliance with WCAG standards may expose your company to legal risk.
- Click Publish to set your sign-up form live on your site with your accessibility updates.
Note that when you click publish, you'll be prompted to fix any active form alerts. You can choose to resolve the errors in the Form alerts tab or publish anyways.
JAWS accessibility reports
Please note that JAWS, a computer screen reader program for Microsoft Windows, may not be detecting sign-up forms on your website that were created in Klaviyo. To ensure that site visitors using JAWS can still interact with sign-up forms on your website, we suggest adding an extra snippet of code to your site that makes it more accessible to JAWS.
Copy the following code snippet and paste it into your site’s main theme file so that JAWS will detect and read your Klaviyo sign-up forms:
Next stepsNext steps
It is important to maintain WCAG standards across all of your Klaviyo sign-up forms. Previously published sign-up forms may still contain accessibility issues for you to fix, but note that Klaviyo will not automatically fix any WCAG non-compliant issues.
Navigate to the Form alerts tab within the editor for each of your existing forms to resolve any accessibility issues to help with WCAG-compliance on your website.
Additional resources