News and Insights

A guide to ecommerce web accessibility

Improving UX and accessibility is worth £17.1 billion to the ecommerce sector.

There are more than 7.15 million people online in the UK with access needs. And they want to shop online. But they can find it pretty difficult.

Issues like crowded pages, poor navigation, and distracting moving images stopped people using ecommerce websites like yours. Our guide to ecommerce web accessibility will help you identify these issues on your site.

We’ll outline what we mean by accessibility, then point out some of the most impactful ways to make your ecommerce website accessible. We’ve included steps on how to conduct an accessibility audit too.

Table of Contents

  1. What is accessibility?
  2. Why is web accessibility important?
  3. Identifying (and fixing) common accessibility issues
  4. How to perform a full accessibility audit
  5. Frequently asked questions

What is accessibility?

  • Vision impairments
  • Hearing impairments
  • Cognitive impairments
  • Neurological impairments
  • Physical impairments
  • Temporary impairments (like an injury)
  • Situational impairments (like slow wifi or small screen sizes)
  • Environmental impairments (like bright or loud environments)

Why is web accessibility important?

WebAim’s study in February 2022 found that 96.8% of one million tested home pages did not pass WCAG accessibility standards.

User experience and accessibility improvements are often very simple to find and fix, but Click-Away Pound’s 2019 survey estimated they greatly contributed to ~£17.1 billion of lost revenue.

In fact, 75% of people with access needs said that “accessibility is more important […] than price”. And that’s not something you hear a lot in ecommerce.

PWC’s Customer Experience survey showed that “65% find a positive experience with a brand to be more influential than great advertising”.

So, it’s safe to say that fixing UX and accessibility issues will increase revenue and improve your brand. Likewise, improving your website for people with disabilities improves the website for everyone. Just like clearing a ramp first, rather than making it an after thought.

A cartoon that depicts snow being shovelled from stairs rather than a ramp. The quote says "all these kids are waiting to use the stairs, I\'ll clear the ramp after". The wheelchair user\'s reply is "if you shovel the ramp we can all get in".

So, how do you ensure that your web content actually is accessible and stop haemorrhaging your slice of that £17.1 billion? Identify accessibility issues, then fix what’s not up to scratch.

A quick guide to identifying and fixing common accessibility issues (for ecommerce websites)

Issues like crowded pages, poor navigation, and distracting moving images stop people using ecommerce websites like yours. The most common issue faced by users is crowded web pages with too much content.

A graph from Click-Away Pound that compares Common Accessibility Issues from 2016 vs 2019. The most common issue is that pages are crowded and have too much content.

Performing a full accessibility audit is the most thorough way to identify issues throughout your website.

However, it can be a substantial undertaking for ecommerce business and so, with the view that something is better than nothing, here’s a quick guide to ecommerce website accessibility. It includes some key tips, how to test for issues, and what ecommerce pages are most likely to be negatively affected.

  1. Headings
  2. Alt text for important images
  3. Unique and descriptive links
  4. Use colour carefully
  5. Optimise your forms
  6. Provide keyboard accessibility
  7. Use ARIA roles properly
  8. Make dynamic content accessible

Or, scroll down if you’d prefer to run a full accessibility audit.

1. Headings

Headings should use the correct HTML heading tags from <h1> to <h6> . Screen readers rely on your heading structure to navigate your page content. HTML section heading elements should keep your page content well-organised and easily navigable.

  • Always use the correct order of headings (don’t skip heading levels).
  • Only ever use one <h1> per webpage.
  • Don’t use a heading style because it “looks good” (create a CSS class to style your text).

Quick test: Close your eyes and use a screen reader to navigate a random product page (ideally you won’t know what product). Can you easily figure out what the product is? Can you locate key product information like price, product description, and specifications?

Key ecommerce pages: product display pages, category pages, checkout pages, homepage.

2. Alt text for important images

Alternative text (or alt text) describes the appearance or function of an image on a web page. Alt text is used by screen readers to provide information to a user that can’t otherwise see the on-page images.

An image of alt text in action within some HTML.

  • Alt text should contain the message you wish to convey with the image itself.
  • Don’t add alt text to images that are purely included for decoration (it just adds clutter)
  • Always use alt text for images that contain hyperlinks.

Learn more about writing great alt text in Moz’s SEO fundamentals documentation.

Quick test: Use a screen reader and close your eyes to navigate an image-heavy page. Can you access all the information contained in the images?

Key ecommerce pages: most/all.

3. Unique and descriptive links (with the title attributes)

Hyperlinks are the way predominant all users navigate the web. In ecommerce, hyperlinks help users complete actions like clicking your CTAs (call-to-action). But what if you don’t know where that CTA will go, or can’t even see the CTA?

A screen reader can be used to skip between links found on a page. This means that link text is often not read within the context of the page or surrounding content. A link with anchor text that says “click here” is highly ambiguous whereas a link that says “Read Our Delivery Information” likely leads to a page that contains delivery information.

  • Don’t use ambiguous anchor text like “click here” or “learn more”.
  • Instead, use descriptive text in your links.
  • Add “title=” attributes to your links to give extra context.

An image showing the correct use of link title attribute in HTML.

Quick test: Visually inspect text links and check for the issues we’ve outlined. Update any links that use poor anchor text.

Key ecommerce pages: all.

4. Use colour carefully

Colour and colour contrast can be both helpful, and not when accessibility is in question. High contrast colours can help users pick out key areas of your content (when used correctly) but lower contrast colours might prevent users from being able to see your content clearly.

Try to avoid using red and green next to each other. 9% of men and 1% of women suffer from red/green colour deficiency.

  • High-contrast colours can be used to indicate priority page content.
  • Use other text/visual indicators like asterisks and exclamation marks to draw attention to important content.
  • Don’t refer to page elements by their colour alone. I.e. “click the red button” is not helpful to users who can’t see colours.
  • Use whitespace and borders to distinguish content blocks.

Quick test: squint at your screen. Can you make out the different colours in form fields? Can you read coloured text? This quick test can help you instantly check your product pages and other key page templates for colour contrast issues. You can also use TPGI’s free Color Contrast Analyzer (CCA) tool which provides WCAG 2.1 recommendations.

Key ecommerce pages: product display pages, category pages, checkout pages, homepage.

5. Optimise your forms

Forms are critical to ecommerce websites. Without forms, you wouldn’t have a checkout.

Imagine your checkout page form fields are completely blank, how would you know where to input your name, address, and card number?

This is exactly the issue that users with accessibility needs encounter. No wonder there’s an estimated £17.1 billion in missed revenue (in the UK).

Forms should be labelled properly so that a screen reader can read cues about the content that each form field needs. Without form labels, it might be impossible to tell what content should be input.

  • Use form labels to add information about what content is needed.
  • Use clear and understandable labelling conventions like “Full Name” or “Last Names” rather than “Name”.
  • Configure “required” fields by adding ARIA required=”true” attributes.
  • Allow users to shift through form fields sequentially with TAB or other input keys.
  • Form errors should be clearly highlighted and users should be informed.

WebAIM’s article on creating accessible forms goes into more detail and has working examples of correct and incorrect form field use.

Quick test: Use a screen reader with your screen switched off to see if your forms are navigable and usable.

Key ecommerce pages: checkout pages, contact page, any page with forms.

6. Keyboard Accessibility

Mobility restrictions stop some users being able to use a mouse or a trackpad to control a cursor. This means they can only access your web content with keyboard or button inputs.

The Accessibility Developer Guide walks through the steps of browsing websites using only a keyboard.

All modern browsers offer keyboard input functionality but your website content will need to adhere to some basic design principles to make keyboard navigation accessible.

The easiest approach is to use standard HTML controls. They offer built-in support for keyboard interaction.

If custom elements (like interactive JS widgets) are essential, then make sure to adhere to a few best practices:

  • Focusable: custom elements should be focusable (perhaps by using focus-ready HTML elements like links and buttons).
  • Keyboard operable: add events link “onclick” that can be fired by a mouse or keyboard, don’t use “hover” events. Avoid listening to specific keyboard keys, unless you really want to provide device-specific functionality. Listen for a “click” event instead. Keep key inputs as simple as possible, don’t bind functionality to specific key inputs.
  • Focus management: make sure dialogs like pop-ups work with keyboard input (and screen readers). ADG have more information on dialog widgets.

A common issue: Keyboard-only users can’t access dropdown menus that open on hover only.

Quick test: Use the tab, space, and enter keys to navigate a common user journey. Try moving from your homepage, to a category page, then to a product page, then through checkout options.

Key ecommerce pages: all.

7. Use ARIA roles properly

ARIA (Accessible Rich Internet Applications) helps developers add accessibility information where standard HTML does not provide functionality.

ARIA roles can add vital information for users with screen readers (that HTML isn’t capable of) but if not implemented correctly it often creates a worse experience, so be careful when using ARIA.

The Accessibility Developer Guide includes a helpful chapter on ARIA best and worst practices.

Key ecommerce pages: all.

8. Make dynamic content accessible

Dynamic content (moving content) can be very difficult for users with accessibility needs to interact with. Dynamic content includes things like:

  • Overlays
  • Lightboxes (normally used to display image galleries/slideshows)
  • Popups
  • Carousels
  • Videos

These content types introduce several hurdles for accessibility. It’s important to evaluate your use of dynamic content and, if it’s crucial for a page’s purpose, ensure that it can be accessed. Some common dynamic content accessibility issues to consider are:

  • Keyboard-only users may be trapped in page overlays
  • Magnification software users could be zoomed in on blank sections of a page
  • Video players that play automatically can be very jarring for some users
  • Video players that can’t be operated with keyboard controls
  • Video content without captions or transcripts for visual and hearing-impaired users
  • Slideshow content without alt-text
  • Slideshow content that can’t be opened, navigated and closed with keyboard inputs
  • Unique/custom widgets often need additional development to ensure they’re accessible

Key ecommerce pages: any page with dynamic content.

How to perform a full accessibility audit

Performing a comprehensive web accessibility audit on your ecommerce can take significant resource but it’s always worthwhile investing in future-proofing your virtual storefront.

A manual review of your web pages is the best way to understand where your content does not meet the four principles of accessibility. However, for most large ecommerce sites with hundreds (or thousands, or millions) of pages a manual review of every website page would be unfathomable.

The NHS accessibility audit checklist defines a logic-based framework for auditing web-based content or services and it can reasonably be applied to ecommerce websites.

  1. Scope (& Prioritise)
  2. Explore and Identify
  3. Sample
  4. Audit
  5. Report

1. Scope

The scope defines the website, or section of a website, you’re auditing. Ecommerce websites often include these key areas:

  • Cart & Checkout
  • Forms
  • Categories (Category Landing Pages & Product Listing Pages)
  • Product Display Pages
  • Navigation Elements
  • Account Pages
  • Administration Pages
  • Blog

Prioritise your audit by adopting a conversion-focussed approach to ecommerce accessibility. This means focussing on checkout and form areas first. Removing friction from the stages directly around checkout can have the greatest impact on overall conversion rates, and leave a good impression on users.

RememberAll your customers will benefit from a clear and explicit checkout process; but for some customers with disabilities, it is crucial.

Setting a clear scope at the start of your ecommerce accessibility audit will help it produce concise and valuable actions to take on a specific area of your website. Next, we’ll explore the scoped area and identify key areas.

2. Explore and Identify

Dig into the website like a user would. Identify how the website works and what user journeys are being completed in the area you’re exploring.

You’ll need to gather information on:

  • Different website elements like navigation, forms, and content types like image, video, and text.
  • The user journeys that are being completed through this area of the website.
  • The different technologies that are being used in this area.

3. Sample

Next, select a specific sample to test. Here a sample might mean exploring one or two user journeys, or it could mean testing a set number of pages (rather than all of them). Here are some examples of a good sample size for an ecommerce website.

  • You’re testing a range of category and product pages for “socks”. There are two user journeys: (1) a user buying sports socks, (2) a user buying dress socks. Your accessibility testing focuses on the user buying dress socks.
  • You’re testing all “soap” category pages (your most profitable category), but there are 54 different category landing & product listing pages in this category. Your accessibility testing focuses on a sample set of 6 pages (over 10%).

Remember you’ll be assuming that all pages within your sample will use uniform page templates.

4. Audit

Now audit your sample against WCAGs accessibility guidelines.

You’re essentially testing whether each page is perceivable, operable, understandable, and robust.

Record your findings in a table that states whether the page passes (and at what compliance level), fails, or has associated warnings.

5. Report

A good accessibility report outlines the scope and sample of tested pages and provides a synopsis of:

  • the number of pages that pass
  • the pages that fail and the main reasons for failure
  • priority recommendations, key findings, and next steps to achieving accessibility compliance.

Equipment and Technology

In order to successfully test each page you’ll require a variety of hardware and software. Again, the NHS accessibility audit checklist outlines what is likely to be required.

Hardware

You will need:

  • a computer with multi-screen setup (ideally 3, minimum 2)
  • screens large enough to use developer sidebars
  • an Apple iPhone
  • a modern Android phone

Software

You will need:

  • multiple standard browsers installed, including Chrome, Edge, and Firefox
  • Lynx browser (a text-only browser, good as a proxy for many accessibility technologies)
  • Safari browser configured on the iPhone

Chrome browser needs to be configured with:

  • developer mode
  • ARC toolkit toolbar
  • Google Lighthouse toolbar
  • Quick Javascript switcher extension
  • alt text testing extension
  • Microdata.reveal
  • high contrast extension
  • NVDA screen reader

Frequently asked questions about accessibility

I’m building a new website. When’s the best time to address accessibility?

Addressing accessibility is best and easiest to do during the design stage of a website development project. It’s much harder to fix bugs after templates have been built.

How can I demonstrate to management that accessibility is important?

If the statistics mentioned in the introduction don’t convince them enough… Get them to use your website with a screen reader and the screen switched off for an authentic user experience. It’s likely that your website will be fairly hard to navigate. Failing that, Silktide has a great video demonstration of how accessibility affects people in the real world.

I don’t have the time to test manually, can’t I just use an accessibility testing tool?

Automated accessibility testing tools can only find a small percentage of the accessibility issues on a site. That said, they can be great to test very specific implementations.

Can a screen reader interpret emojis?

Emojis in text may cause confusion for screen readers or cognitively impaired users. Don’t use them to convey important information.

How important are headers really?

Very. Screen readers can “skim read” pages by listening to the headers alone, so make sure headers are clear.

How many websites are actually accessible?

It’s hard to say exactly, but WebAIM’s February 2022 study found that only 3.2% of home pages (out of 1 million tested) passed WCAG’s accessibility criteria.

Over to you

Web accessibility makes your website content usable and accessible for everyone, regardless of their abilities or disabilities. It’s not only a moral and legal obligation, but also a smart business strategy.

Do you think your website might be losing sales because of accessibility issues? Run through our quick guide to identifying and fixing common accessibility issues or get in touch with us today.

Additional Sources:

https://webaccess.berkeley.edu/resources/tips/web-accessibility

Stay in the loop

Sign up to the Digital Six newsletter