Resources

BTP Accessibility Guidelines and Resources

A practical reference for designing and developing accessible web experiences.


Summary

Accessibility is a critical frontier for web development that is often underserved and overlooked. It is both morally correct and financially worthwhile to implement accessibility features to the best of our abilities. Building accessible software helps shield our clients from lawsuits (for instance, for federal agencies, via Section 508 compliance), improves the reach of their content, improves SEO performance, and consequently, generates more revenue.

The aim of this document is to identify which aspects of our software and design processes we can improve in terms of accessibility, as well as to serve as a resource for guidelines and considerations.

However, accessibility-prioritized work does come at an additional developmental and quality assurance testing cost. Therefore, we should leverage the many tools at our disposal to use the correct semantic, functional elements where possible, and where not, create consistent, bullet-proof standards from which we can base our work. This should reduce the amount of overhead involved in implementing these accessible features time and again. Additionally, by “shifting left” on the accessibility aspect of our work, we should see mistakes occur earlier in development and thus address them earlier.

Underpinning any attempt to make web content accessible is the need to understand what accessibility features are required to serve most audiences. Because accessibility is a moving target, we need to define the conceptual framework for what makes something accessible. Then, with this framework in mind, we can seek design and code solutions. You will often hear these concepts referred to by an acronym: “POUR.”


Table of Contents


The Four Pillars of Accessibility (“POUR”)


The Absolute Minimum

Taking the POUR framework into account, 18F (a now-defunct governmental organization that defined web standards for governmental tools such as the IRS website) had a ranking system for the "absolute minimum" standards for Section 508 accessibility compliance. Ranked from most to least critical, they are as follows:

A – Critical

  1. Site is keyboard accessible
    • All pointer interactions can be accessed with a keyboard
  2. Site is free of keyboard traps
    • The keyboard focus is never trapped in a loop
  3. All form inputs have explicit labels
  4. All relevant images use an img tag
    • Relevant here meaning the image contributes meaning that isn’t otherwise communicated primarily by textual/aural/visual content.
    • Background images that provide mere decoration, for instance, do not need to be image tags, though it should be considered anyways for caching, lazyloading, and reactivity.
  5. All (relevant) images have non-empty alt attributes
  6. Multimedia is tagged
    • All multimedia has appropriate captioning and audio description where available
  7. Text has sufficient color contrast
    • All text has a contrast ratio of 4.5:1 with the background

B – Less Critical

  1. Site never loses focus
    • Focus is always visible when moving through the page with the keyboard
  2. Tab order is logical
  3. Form instructions are associated with inputs
  4. Site doesn’t timeout unexpectedly
    • Identify elements that may “timeout” and verify that the user can request more time
  5. Tables are coded properly
    • Tables have proper headers and column attributes
  6. Headings are nested properly
    • Heading elements are nested in a logical way

C – Minor

  1. Frames are named
    • All frames have a name element
  2. Flashing elements are compliant
    • Elements that flash on screen do so at a rate of less than 3 Hz
  3. Language is set
    • The language for the page is set
    • The language for sections on the page that differ from the site language are set
  4. CSS is not required to use the page
    • The page makes sense with or without CSS
  5. Links are unique and contextual
    • All links can be understood taken alone, e.g., “Read more – about 508”
  6. Page titles are descriptive
  7. Required plugins are linked on the page

Design Guidelines

Finding a balance between elegant, beautiful design and accessible content can be challenging, and therefore some guidelines with varying degrees of necessity should be established. Critically important aspects have been labeled with the keyword “MUST.” General good practices are typically labeled “SHOULD.”

Text (Typography)

Interactive Elements (Buttons, Links, Inputs)

Animations and Transitions

Color and Value

Design Patterns

Content


Developer Guidelines

Incorrect ARIA/accessibility functionality is worse than no ARIA. By reducing the amount of JavaScript and complex functionality handled client-side, you also reduce the risk of serving a broken application to your end users. Therefore, it is important to leverage the functionalities native to browsers wherever possible, and to consider custom implementations with great caution.

Many web browsers have support for viewing the “accessibility tree” of a document and this feature should be used to verify the relationships between your content and interactive elements. It can help you find unlabeled items, interactive elements lacking events or states, and can also be useful for discovering things you do not want to expose to screen readers (e.g. decorative elements).

Semantics

Interactive Elements (Buttons, Links, Inputs)

Animations and Transitions

Content


Useful Tools and Testing

There are a variety of self-help developmental tools you can utilize to improve the accessibility of your website or app. While there is no true substitute for testing directly with assistive technology and polling your audience for their preferences and accessibility “stack,” these tools should aid in your workflow.


Auditing Services

Another option for accessibility maintenance and compliance is enlisting the services of an external auditing agency. These agencies tend to offer a few different types of compliance assurance, including testing, development, and ongoing maintenance. For legally precarious projects where Section 508 compliance or VPAT are required, using an external auditing service should be strongly considered.