Each person’s experience with a disability is unique, and it’s important to avoid categorizing people by disability “type.” Instead, approach accessibility by understanding the ways people with disabilities use and interact with digital technologies, and design for them using the best practices defined in this section.

Designers can prevent about 70% of common accessibility issues by considering VGAR as they work.

Use of color

When using color to identify or differentiate elements, ensure the same information is available through alternative methods such as text or icons for users experiencing color blindness.

  • Never use color alone to indicate a change in state including errors.
  • Combine two of the three elements to assist users: color, icon, and descriptive text.
An input field showing an error through the use of red color, error icon, and error descriptive text

VGAR links (internal only)

Media controls

When using moving content, such as automatically-updating content or a slideshow carousel, clearly present users with the option to stop, pause, or hide the content.

  • Never use content that blinks or flashes automatically as this can induce seizures in users with photosensitive disorders.
A video player with a play button in the center

For additional context on why media controls are important, refer to the Motion section of this foundation.

VGAR links (internal only)

Sufficient contrast

Maintaining a minimum contrast ratio between foreground and background colors is crucial for readability. It ensures that content is easily distinguishable and readable, especially for users with visual impairments or color blindness. This adherence to contrast ratio requirements is a key aspect of creating an accessible and inclusive digital experience.

  • Ensure that all content adapts to and supports the user’s high contrast mode settings.
A paragraph of text with insufficient contrast and another that passes the required ratio

Contrast requirements

Contrast ratio requirements by context
Context Ratio
Text smaller than: 18 pt normal, 14 pt bold4.5:1
Text at least: 18 pt normal, 14 pt bold3:1
Text in logos and brand namesNo requirement
UI components
Graphical objects
3:1
Controls in disabled stateNo requirement

VGAR links (internal only)

Responsive content

Responsive design is a cornerstone of accessibility, as it ensures content adapts well to different devices, screen sizes, and user preferences. This enhances the user experience, making your content more accessible and user-friendly for all.

  • Always consider how your content will respond to changes like text resizing, spacing, and reflow.
A paragraph of text wraps and reflows on a small screen

Resizing and scaling

Resizing and scaling are key for accessibility as they allow users with visual impairments to enlarge content without losing functionality or ease of navigation.

  • Design content to scale effectively, ensuring it remains fully functional and doesn’t require horizontal scrolling even when users increase the size to 400%.
Page layout the scrolls and reflows

Do Make sure that visually rendered text with text-based controls can be resized up to 200% without losing content.

A cropped page layout

Don't Allow viewports and screen sizes to cut off content when resized.

Increasing spacing

Content should adapt to increases in letter, word, line, and paragraph spacing. There should be no loss of content or functionality when:

  • Line height or spacing is changed up to 1.5 times the font size.
  • Paragraph spacing is changed up to 2 times the font size.
  • Tracking or letter spacing is changed up to 0.12 times the font size.
  • Word spacing is changed up to 0.16 times the font size.

Reference Typography for further guidance.

VGAR links (internal only)

Hierarchy

Clear hierarchy is vital for accessibility. Always ensure that information, structures, and relationships conveyed through visual and auditory presentation formats are also programmatically determined or made available in text. By making this information available in a programmatically determined or text format, you ensure that it’s accessible to all users, including those using assistive technologies like screen readers.

  • Use headings and other visual cues to associate sections with related content and create a logical hierarchy.
  • Content in a list format must use the correct ordered (ol) or unordered list (ul) markup.
  • Learn more about structure in Readability.
A page layout with clear visual hierarchy

For further guidance on headings and hierarchy, refer to Typography and Information architecture.

VGAR links (internal only)

Maintaining a consistent order for components across multiple pages is crucial for accessibility. It provides a predictable and intuitive navigation experience, particularly for users who rely on screen readers or keyboard navigation.

  • Provide users with more than one way to locate content within a set of web pages, except when the page is a step in a process or its end result.
  • If a page has a login feature and focus is not automatically set to the login field on page load, the page must include a “Skip to login” link as the first link on the page. The link must move focus to the login field, and the link may be hidden from view until it has focus.
  • A “Skip to main content” link must be included on every page as the first link (or second if “skip to login” link is present) on the page. The link must skip to the main content of the page or the error summary (if present) and may be visually hidden until it has focus.
A page layout with a navigation header and a Skip to content link below

VGAR links (internal only)

Interactive target areas

Ensuring sufficient space around interactive areas is vital as it facilitates easier interaction, particularly for users who may struggle with precise movements. When using components with smaller visual footprints, it’s important to design with ample touch area in mind and avoid placing elements too closely together.


Learn more about challenges for users with a limited ability to use a mouse

Touch targets

Touch targets should be large and appropriately spaced for easy interaction by users with varying dexterity and vision.

A button with a touch target area of 44 by 44 pixels

Use the minimum size of 44 x 44 dps for touch areas across all interactive components.

Non-touch targets

Non-touch targets should be easily navigable and identifiable for users with varying levels of dexterity and vision.

A button with an icon that is 24 x 24 dps.
  • Use the minimum size of 24 x 24 dps for target areas across all interactive components.
  • Rounded corners detract from 24 x 24 dps target area.
  • To learn more details and nuances around target areas, check out the WCAG guidance.

Error feedback

Pages collecting user input need to validate entries and ensure all users are aware of errors. By providing clear and immediate feedback about errors, you can create a more accessible and user-friendly experience.

  • Provide users with clear instructions on how to correct errors when applicable.
  • Never use color alone to indicate a change in state including errors.
  • Combine two of the three elements to assist users: color, icon, and descriptive text.
An error in a section message and an inline error on an input field

VGAR links (internal only)

Consistent identification

Using consistent identification for content with the same functions is crucial for accessibility. This allows users, especially those using assistive technologies like screen readers, to easily identify and understand the purpose of interactive elements such as links, buttons, and custom controls. By doing so, you enhance the predictability and usability of your content, making it more accessible to all users.

  • Use consistent labels, names, and text alternatives for content with the same functions across experiences.
Buttons that have labels actions, and examples of links used to navigate

VGAR links (internal only)

Labeling and instructions

Ensuring that form input controls have clear, descriptive labels and instructions helps users, particularly those with cognitive impairments or those using assistive technologies, to accurately identify specific components within the content. It also prevents incomplete or incorrect form submissions by providing users with the necessary information to fill out the form correctly.

  • Ensure that form input controls have clear, descriptive labels and instructions.
  • Use universally understood icons and text to help users understand labels.
Two input fields labelled required with instructions to fill in all required fields.

Do Ensure instructions are provided in a clear, text-based format that is accessible to all users.

Two input fields labelled only with icons and shown as required through red color

Don't Rely solely on visual cues like size, shape, color, or spatial directions, including icons, to provide instructions for users. 

Text-based alternatives

Providing accurate text alternatives for images and non-text content ensures the same information is conveyed with the same context and purpose to users who cannot perceive the original content due to visual impairments or those using assistive technologies like screen readers. By ensuring this information can be rendered through any sensory modality, you make your content more accessible.

  • Ensure images and non-text content have accurate text alternatives that provide the same information, context, and purpose to users and can be rendered through any sensory modality.
  • Always present text using live text and CSS, not images of text. The only exceptions are instances where images of text are unavoidable, such as logos, graphs, and screenshots.
A graphic of a mountain range with alt text describing the same

VGAR links (internal only)

Multimedia content

Accurate closed captioning for all dialogue in video content allows all users to fully engage with the content. Additionally, they can be beneficial for individuals who may not have their sound turned on or for whom English is a second language. By ensuring all video content is accurately captioned, you make your content more accessible to a wider range of users.

  • If the video provides information visually that the accompanying audio doesn’t describe, include an audio description track specifically explaining that information.
  • If the audio description track can’t adequately explain the visual information during gaps in the dialogue, use an extended audio description.
  • Add pauses at appropriate times in the video to allow the description to finish.
A media player with a full set of controls as well as subtitles and a link to a transcript

VGAR links (internal only)

States

Learn about visual cues and design requirements that help users understand component interactivity from States.