> ## Documentation Index
> Fetch the complete documentation index at: https://help.standards.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Accessibility

Web accessibility ensures that content is usable and inclusive for all individuals.

<Frame>
  <img src="https://mintcdn.com/standards/CR_kF1BrWgp3pcsY/images/accessibility-01.png?fit=max&auto=format&n=CR_kF1BrWgp3pcsY&q=85&s=1b6e66b9b718fbed254bb997fbe9479d" alt="Image description interface overlaying a clearspace design" width="1200" height="600" data-path="images/accessibility-01.png" />
</Frame>

***

## Image descriptions

When using Media throughout your project, it is important to keep accessibility in mind. Standards allows you to include meta descriptions for both **Media** elements, and the **Files** themselves.

### What image descriptions are

Image descriptions are short text based statements that describe the subject or the meaning of visual content, and are programmed to display when that visual content is not available, such as when browsing with a screen reader.

### How descriptions are displayed

* If a **Media** element and the **File** it’s referencing both include a description, the **Media** description will be shown.
* If a **File** includes a description, but the **Media** element referencing that file does not, the **File** description will be shown.
* If neither the **Media** element or the **File** it’s referencing include a description, no description will be shown.

### Writing descriptions for Media elements

When writing a description for a **Media** element, it is often best practice is to describe the context or meaning of the media rather than the subject, since the file could easily change. **Example:** “Demonstration of proper logo clearspace equal to the logotype’s x-height”

### Add image descriptions to Media

<Frame>
  <img src="https://mintcdn.com/standards/CR_kF1BrWgp3pcsY/images/accessibility-02.png?fit=max&auto=format&n=CR_kF1BrWgp3pcsY&q=85&s=b1ed101f10edc13e5558a2f6c92e3d77" alt="Image description field in the right sidebar editor interface" width="1200" height="600" data-path="images/accessibility-02.png" />
</Frame>

<Steps>
  <Step title="Select media">
    Within the design or content mode of the editor, select a media element
  </Step>

  <Step title="Enter image description">
    When in design mode, enter the description into the right sidebar in the **Accessibility** settings group. In content mode, enter the image description in the contextual popup.
  </Step>
</Steps>

### Add image descriptions to a File

<Frame>
  <img src="https://mintcdn.com/standards/CR_kF1BrWgp3pcsY/images/accessibility-03.png?fit=max&auto=format&n=CR_kF1BrWgp3pcsY&q=85&s=da2f391df682d7c729832605884f67af" alt="Image description field inside file info panel" width="1200" height="600" data-path="images/accessibility-03.png" />
</Frame>

<Steps>
  <Step title="Select file">
    Within the editor, select the **Files** tab from the top of the right sidebar. Then select the desired file.
  </Step>

  <Step title="Enter description">
    From the file detail panel, enter the description into the **Image description** field.
  </Step>
</Steps>

<Info>
  **Note:** Replacing a file will reset the image description
</Info>

When writing a description for a **File**, the best practice is to simply describe the subject or content rather than the meaning, since it could be placed in any context. **Example:** “Logo surrounded by an empty frame defined by the height of the symbol”

### Add descriptions to Buttons

<Frame>
  <img alt="Button for a logo download with the word 'Download' within, selected showing the accessibiliy description 'Logo'" title="Button Accessibility" lightAlt="Button for a logo download with the word 'Download' within, selected showing the accessibiliy description 'Logo'" darkAlt="Button for a logo download with the word 'Download' within, selected showing the accessibiliy description 'Logo'" src="https://mintcdn.com/standards/kybQLj6kn6QrOPbw/images/button-accessibility.png?fit=max&auto=format&n=kybQLj6kn6QrOPbw&q=85&s=1b790fde49d7c1883b549b1b2eb63120" className="hidden dark:block" width="1200" height="600" data-path="images/button-accessibility.png" />

  <img alt="Button for a logo download with the word 'Download' within, selected showing the accessibiliy description 'Logo'" title="Button Accessibility" lightAlt="Button for a logo download with the word 'Download' within, selected showing the accessibiliy description 'Logo'" darkAlt="Button for a logo download with the word 'Download' within, selected showing the accessibiliy description 'Logo'" src="https://mintcdn.com/standards/kybQLj6kn6QrOPbw/images/button-accessibility-1.png?fit=max&auto=format&n=kybQLj6kn6QrOPbw&q=85&s=9ac3d4c564025bcc8323bcf1c142d551" className="dark:hidden" width="1200" height="600" data-path="images/button-accessibility-1.png" />
</Frame>

<Steps>
  <Step title="Select Button">
    From within the editor, select the button
  </Step>

  <Step title="Input accessibility description">
    * Use action verbs
    * Be specific about the target
    * Avoid generic labels
    * Don't include the word "button"
    * Icon-only buttons still need a label
  </Step>
</Steps>

***

## Section labeling for screen readers

Improve navigation for screen readers by labeling sections of a page. Add a label to each major section of your page. This label is used by screen readers to identify the section and enables jump navigation for keyboard users.

### Add section labeling

<Frame>
  <img src="https://mintcdn.com/standards/IGAuj1TSLlJu6H2c/images/accessibility-05.png?fit=max&auto=format&n=IGAuj1TSLlJu6H2c&q=85&s=8eeb444b29b68add93d3fa2491c77cc1" alt="Logo group of Identity page selected and the word 'Logo' input into the accessibilty description field" title="Accessibility 05" lightAlt="Logo group of Identity page selected and the word 'Logo' input into the accessibilty description field" darkAlt="Accessibility 05aLogo group of Identity page selected and the word 'Logo' input into the accessibilty description field" width="1200" height="600" data-path="images/accessibility-05.png" />
</Frame>

<Steps>
  <Step title="Group related page content">
    This is a good practice while working to stay organized. Select contents layers then group them together by pressing `Make group` in the sidebar, or  <kbd>command</kbd> <kbd>G</kbd>
  </Step>

  <Step title="Input labels into accessibility fields">
    With the group or layout layer selected, look for the Accessibility settings group in the right sidebar. Enter the appropriate section label — for example, "Brand Colors" or "Typography."
  </Step>
</Steps>

***

## Content tags

Adding content tags to text provides data that may be used by browsers and search engines to infer the hierarchy of text content without visual cues, and may effect how the text is displayed on screen readers or in other environments.

### Add tags to text

<Frame>
  <img src="https://mintcdn.com/standards/CR_kF1BrWgp3pcsY/images/accessibility-04-1.png?fit=max&auto=format&n=CR_kF1BrWgp3pcsY&q=85&s=ab7bd688a79f61388b9552b22f331410" alt="Text highlighted and content tag applied from right sidebar editor interface" width="1200" height="600" data-path="images/accessibility-04-1.png" />
</Frame>

<Steps>
  <Step title="Select text">
    Within the editor, select a text block from the contents list in the left sidebar, or from the in-body content.
  </Step>

  <Step title="Select proper content tag">
    In the right sidebar at the bottom, there is a settings group named **Accessibility.** Select the **Content tag** dropdown, then select the tag that best fits the text content
  </Step>
</Steps>

### Tags

* **Paragraph:** Represents a paragraph. Paragraphs are usually represented in visual media as blocks of text separated from adjacent blocks by blank lines.
* **Heading 1 - 6:** Represent six levels of section headings. Heading 1 is the highest section level and heading 6 is the lowest.

### Best practices

* One H1 per page, typically the page title.
* Don't skip levels (H1 → H3 skipping H2 is a no)
* Nest logically: H2's are sections, H3's are subsections within those, etc.

***

## UserWay plugin

Additional accessibility features can be enabled on Standards projects with the UswerWay plugin. UserWay allows site visitors to control a range of accessibility options like increasing text size. Learn more about [UserWay](http://userway.org/).

### Enable UserWay on your project

<Info>
  Note: This **does not require** a UserWay account
</Info>

<Steps>
  <Step title="Select project settings">
    Within the project editor, select the gear icon from the top bar.
  </Step>

  <Step title="Toggle UserWay plugin option">
    Within the project settings in the right sidebar, look for the **Accessibility** settings group, toggle on the UserWay plugin.
  </Step>

  <Step title="Publish">
    Publish the changes from the **Publish & share** window. The UserWay plugin now viewable on your live site.
  </Step>
</Steps>

### Add optional UserWay account ID

<Info>
  **Note:** This **requires** a UserWay account, allowing for additional features. Additionally, the integration is only available when published to a custom domain.
</Info>

<Steps>
  <Step title="Log into UserWay">
    Log into your UserWay account on [userway.org](http://userway.org). If you don't have an account, sign up for one.
  </Step>

  <Step title="Select embed code">
    In the UserWay dashboard, select the **Embed code** tab from the left sidebar.
  </Step>

  <Step title="Copy ID">
    From the embed code, look for the ID just after **data-account=** between the quotation marks. Copy the ID to your clipboard, <kbd>ctrl</kbd>+<kbd>C</kbd>on your keyboard

    <Frame caption="Example ID. Copy the code that displays on your UserWay dashboard">
      <img src="https://mintcdn.com/standards/T-r7Tup6tRX4vVUd/images/userway-id.png?fit=max&auto=format&n=T-r7Tup6tRX4vVUd&q=85&s=7f954800d82ba352ba785e563029e4d4" alt="Example UserWay script with acount ID highlighted" width="1800" height="141" data-path="images/userway-id.png" />
    </Frame>
  </Step>

  <Step title="Open project settings in Standards">
    Back in Standards, enter the project editor by selecting the gear icon from the top bar.
  </Step>

  <Step title="Paste ID">
    Within the project settings in the right sidebar, look for the **Accessibility** settings group. Paste the ID into the **Account ID** field.
  </Step>

  <Step title="Publish">
    Publish the changes from the **Publish & share** window. The UserWay plugin now viewable on your live site.
  </Step>
</Steps>

***

## Resources

Learn more about improving site accessibility: [https://www.w3.org/TR/WCAG22](https://www.w3.org/TR/WCAG22)

Check color contrast: [https://webaim.org/resources/contrastchecker/](https://webaim.org/resources/contrastchecker/)
