Accessibility "Best Practices" Reference
Copywriters
Web/Email: Use Descriptive Headlines
The Reason:
Your subject lines should be brief but descriptive, and give subscribers an accurate idea of what's in your email. Effective subject lines aren't just good for accessibility, they also tend to increase overall subscriber engagement.
Example:
Watch this developer try to write a descriptive headline for accessibility!
Email: Use Preheaders
The Reason:
Email preheader is the summary text that follows a subject line when the email is viewed in an inbox. In many cases, it’s used to provide a short summary of the email, and is typically one sentence long.
Email preheader text is what many mobile, desktop, and web email clients show readers to give them an idea of what’s inside the message before they actually open it. In many cases, this powerful line of text can be the difference between someone opening and not opening an email.
Your subject line and preheader text can—and should—work together to create interest and encourage readers to open your email. If you do not specify any preheader text, often your brand, disclaimers, site navigation or any other initial text will show in your subscribers’ inboxes. While there’s nothing wrong with this, not including preheader text is a missed opportunity to capture your subscriber’s attention.
Example:
We're rolling out a new payment processing product that will make your job easier!
Web/Email: Use Proper Alt Text
-
Keep It Succinct
One or two sentences are more than enough in your Alt text. It should be meaningful and enticing enough for the subscribers to view the image.
-
Proper Punctuation Is A Must
Use proper punctuation for your screen readers to know where to take a pause and read your content better.
-
Include The Text That Is Present In The Image
Include the exact phrase that appears in the image to make the email message obvious. The safe bet is to also have important information in the Alt text, that doesn’t appear in the image.
-
Don’t ‘COPY And PASTE’ Image Captions
Screen readers and display read the captions even for blocked images. Your Alt text should offer additional information that’s not conveyed through the caption.
-
Count On Context
Just like your image and content should be relevant to each other, your Alt text also should consider context. You should contemplate on the information the reader is likely to get from the surrounding content and then write an Alt text that goes with it.
-
Quotes Are Not Needed
Let’s get a bit technical now! When you use Alt attribute in the HTML code of your email campaign, it uses double quotes to define the beginning and end of your Alt text. If you use quotes again, it will lead to broken HTML.
-
Distinguish The Decorative Images
Write ‘Decorative image’ as Alt text if the image is just for email ornamentation. That would enable quicker email scanning for the subscriber.
The Example (bear with me):
Web/Email: Use Meaningful Link Text
The Reason:
A lot of people using screen readers will navigate the page quickly by tabbing through the links. Some screen reading apps will even create a "Table of Contents" for the page, using only the links.
If all of the links on the page read "Click Here!", there is no way for the user to know what exactly they are clicking on.
Reference Article for Link TextThe Example:
Web/Email: Write Copy That's Easy To Read
-
Readability
Stick to writing at an eighth-grade reading level, which will allow for around 85% of the general population to easily understand your content.
-
Consistancy
Use the same terms to describe the same things. For example, if you refer to an action as “edit,” don’t call it “change” later in your email.
-
Defined
If there’s a chance someone won’t know what a word or phrase means, take the time to define it.
-
Easily Digestible
Write short paragraphs and break up blocks of text with headers and bullet points. This makes content both easier to read and skim.
The Example:
I'm not sure what to write as an example, but I feel like you all will understand.
Designers
Web/Email: Use Color Contrast
The Reason:
This one is pretty obvious. If there's not enough contrast between the text and the background, the text becomes impossible to read for a lot of people with low-vision.
I think you all have this on lock, but here's my favorite online contrast checker:
Coolors Contrast CheckerThe Example:
This is a freaking nightmare to read.
This is a WAY easier to read.
Web/Email: Don't Hide Information in Images
The Reason:
This one is trickier because a lot of our email headlines are embedded in the hero images.
I think we just need to make sure that the relavent information is conveyed through the Header, Preheader, and Alt Text.
Subscribers who use a screen reader, or have images blocked in their email client, aren't going to see information in images or infographics. Make sure the most critical content in your message is presented in text, and use images to complement that text.Reference Article about Info in Images
Web/Email: Tips for Type
-
Choose Legible Fonts
-
Space Fonts Appropriately
"Even the most legible font can be challenging to read if the letters or lines of text are too close together. Adjust the kerning and leading of your fonts so they’re as easy to read as possible."
-
Avoid Center-Aligned Paragraphs
These are really hard for people with dyslexia to read.
-
Use Plenty of Whitespace
The (painful) Example:
Look. At. This.
I'm not sure why this even exists.
Email Team
Email: Maintain a Logical Structure
The Reason:
You've probably heard of responsive design, and that's what we're talking about here. Depending on how they're coded, multi-column templates will sometimes resize on mobile devices or screen readers to display out of the intended order. It's important for all your subscribers to be able to view your content in a logical order no matter what device they're using, but it's especially vital for people who use screen readers.Reference Article for Logical Structure
Example:
Desktop:
Section 1
Section 2
Section 3
Mobile:
Section 1
Section 2
Section 3
Email: Use Headers
The Reason:
"Your subscribers who use screen readers rely on page elements like tables and headers to determine the informational hierarchy of a web page or HTML email. This is how they scan and navigate through your content to access what's most important to them."
"Use HTML headings attributes like 'H1' and 'H2' to identify important sections of your content, rather than rely on style elements like colors or bold text. Well-styled text might look nice, but that doesn't mean much to a subscriber who can't see it."Reference Article on Headers
Also important: Using a semantically logical structure is good just in general. We can always change the "look/styling" of a header, but semantically you want everything to fall in proper order (h1, h2, h3, h4, etc).
The Example:
This is an H1
This is an H3
This is an H4
Email: Include a Plain Text Version
The Reason:
“Plain-text emails are simple, and don't contain any images, rich-text formatting, or embedded links. While these emails don't include any fancy design elements, many people who use screen readers prefer them since they provide just the core content of your message. You can also choose to edit the plain-text version of your campaign in the Campaign Builder.”
Reference Article on Plain TextDevelopment
Web/Email: Semantic Markup
The Reason:
Semantic markup is referring to a logical HTML structure, with logical HTML elements.
Rather than having everything in a 'div', use the proper elements.
Make sure the semantic heirarchy exists.
Reference Article on Semantic MarkupThe Example:
Semantic Markup ExampleWeb/Email: Set the Language Attribute
The Reason:
In the head of the document, establish the language attribute as 'en'.
Reference Article on Language AttributesThe Example:
Web/Email: Set the Title Tag
The Reason:
Just like on a web page, the screen reader will read the title tag of the email before anything else.
Reference Article on Title TagsThe Example:
Web/Email: Use/Don't Remove :focus Indicators
The Reason:
“While some browsers and email clients add these by default, they’re not always the most user-friendly. Consider adding your own, so you can adjust things like color contrast, brand colors, and consistency. Keep in mind, many email clients do not support the :focus selector. But subscribers who need it for email accessibility are more likely to use email clients with support for it. Campaign Monitor has a list of email clients that do/don’t support the :focus selector.”Reference Article on :focus
The Example:
Outline styling:
Web/Email: Set Presentation Roles
The Reason:
“Setting table roles to “presentation” enables screen readers to read your email in a way that makes sense to subscribers. Without this, it will interpret the table as data and read out the HTML code.”Reference Article on Presentation Roles
The Example:
Web/Email: Use form labels
The Reason:
It is tempting to use nothing but placeholders on a form, because they are so much more attractive.
Unfortunately screen readers will not always read the placeholders, which means some people have no idea what they are filling out.
In addition, when a sighted user clicks on the input, the placeholder dissapears, which can also lead to confusion.
Fortunately, if the design calls for nothing but placeholders, there's a dev workaround that can still keep your form accessible.
The Example:
Not Accessible:
Accessible:
General Reference
Accessibility Testing Tools
-
W3C’s Web Accessibility Evaluation Tools List
A comprehensive list of tools you can use to test your email content before sending.
-
Coolors.co Contrast Checker
This is an AWESOME (and stylish) color contrast checker!
-
WAVE’s Web Accessibility Evaluation Tool
Run the browser version of your email through this tool to identify potential accessibility issues.
-
The NVDA screen reader
A screen reader for Windows that allows you to test your emails in a hands-on manner.
-
Apple's vision resource
A list of apps and tools for testing accessibility on Mac devices.
-
JAWS
A popular screen reader for PC with both speech and Braille output.
-
The AXE devTools Extension
A Google Chrome extension that automatically tests for a variety of accessibility issues.
Accessibility Resources
-
The A11y Project
A community-driven effort to simplify accessibility with lots of great information about the fundamentals.
-
W3C's Accessibility Overview
A helpful overview of accessibility guidelines for content.
-
WebAIM's Accessibility Training
Virtual and in-person training opportunities around accessibility.
-
Deque's Empathy Lab
Learn in a hands-on, interactive way and speak directly with those who have disabilities.