ACCESSIBILITY BEST PRACTICES

 

Accessibility promotes a user-friendly experience and allows the widest range of users to engage with your content. Two vital reasons to ensure your content is accessible:

It’s the law.

Federally-funded agencies are required to make their content accessible to people with disabilities.

26% of adults

in the US have some type of disability. In the State of Connecticut, that number is 19%.

Screen shot showing alt text for an image.

Alternative Text 

 

Alternative text (also called alt text) provides a helpful written description of a visual element on your webpage. Accurate alt text is essential for accessibility, UX, and SEO. Screen readers and search engines will crawl this text, so the alt text needs to be clear and concise.

Alt text should be used for:

  • Images (non-decorative)
  • Graphs
  • Diagrams

How to Write Alternative Text 

 

When writing alt text, ask yourself, “What information am I trying to convey with this image?” Answering this question can help you write clear and helpful descriptions.

Avoid using phrases like “image of…” or "graphic of...” in your alternative text. Assistive technology provides this information automatically.

Avoid applying comments that attempt to editorialize the image. Use “Blonde woman standing alongside a green car” instead of “Blonde woman standing in an alluring pose alongside a green car.”

Alternative text should be:

  • Short
  • Meaningful
  • Descriptive

How to Write Descriptive Links 

 

When creating links, remember the following:

  • Links should open in the same window. If a link opens in a different window for any reason, this should be indicated in the link text for screen readers: “External Link,” or “Opens in a New Window.”
  • Avoid using non-descriptive words like “click here,” “more,” or “learn more”.
  • Avoid using the word “link” as part of the description. Assistive technology will identify a link as such and would be repetitive.
  • Avoid using the actual URL as link text. URLs are usually long and can be made of random letters, characters, and numbers which can be tedious and confusing to a screen reader user. They are not human-readable or screen-reader friendly.
 

Accessible Design 

 
  • Color: Use bold text to highlight important text. If you only use color to mark something as important, a user who is colorblind won’t be able to make that distinction.
  • Contrast: If the contrast between colors is too low - for example, a small gray font on a white background - users who have low vision won’t be able to read or see the text. The contrast between text and background color should be a ratio of 4.5:1 for normal text and 3:1 for large text.
  • Text formatting: ‘Bold’, ‘italicized’, and ‘strikethrough’, are NOT announced to screen reader users. If a message is important be sure to emphasize it in text rather than style.
 

Many tools can help check for the right color contrast. TPGi has a helpful color contrast checker with additional information about color contrast.

 

Using Tables 

 

Tables are difficult to make accessible, and they’re tricky to make responsive. When a table loses the relationship between the row and column headings and the rest of the content, it may be inaccessible for screen reader users.

If you have other ways to organize information on the page, try those first. Tables are best used for what they were designed for — tabular data.

× close  

If you must use tables, keep these guidelines in mind:

  • Use the simplest table possible.
  • Avoid having nested tables or unnecessary rows and columns.
  • Avoid using spanned rows and columns, as it can change the logical order of the rows and columns.
  • Include table captions. Captions give the user an idea of what the table is about, which provides helpful context. And because the caption is tied to the table, a screen reader will read it first before reading the content.
  • Identify row and column headings. Headers are the main categories for a table, and are very helpful in increasing accessibility.
× close  

Check out this example of a table with a row heading and a column heading.

The row headers are Ball and Block. The column headers are Name, Color, Shape, and Size.

 
Name Color Shape Size

Ball

Red

Circle

Small

Block

Blue

Square

Medium

Helpful Tips

× close  

Check out the Web Content Accessibility Guidelines (WCAG) 2.1 for the latest updates on making content more accessible.

Sitecore makes it easy to include alternative text to any images, graphs, or diagrams you upload into the system. It will also alert you when alt text is missing and needed.

Sitecore allows you to insert a table for tabular data using the Table Wizard.

× close  

How well your web content can be accessed and received by all users, including users with a disability. This is especially important, and legally mandated, for our government websites. It is a great idea to take a deeper dive into accessibility standards when writing content for CT.gov.

Text describing the appearance of a visual element on a webpage. It is indexed by search engines (SEO) and read aloud by screen readers (accessibility).

Decorative images don’t add any unique content or message to a page. They are only used to accent a message or make a webpage more attractive. These types of images should be classified with an empty alt tag (alt="") to avoid audible clutter for screen readers. 

Please note: Right now, Sitecore (our CMS) does not allow these types of alt tags. Instead, use … 

Dynamic changes to the layout of a webpage depending on a user’s device, behavior, etc. Responsive design makes websites faster and more accessible.

(Search engine optimization) Improving web content for rankings in search engines. Common SEO practices include keyword research and link building. Alt text and descriptive links are crawled by search engines, so optimizing this text is a great idea for boosting SEO value.

This CMS houses most of the web content for our CT.GOV-Connecticut's Official State Website sites. Sitecore is where you can edit pages, add alt text, etc.

(User experience) How the user interacts with/ experiences your web content.

Related Pages

On-page Content Structure 

Make it easy for the user to find what they need by structuring content clearly.

Plain Language Guidelines 

Write content that is clear, concise, well-organized, and follows best practices.