Accessibility for Authors

Creating a digital experience that is accessible to all users is not only the right thing to do, but it is also a federal requirement.

Who is responsible for website accessibility?

Everyone! If you are creating any type of content (copy, images, downloadable files, video, etc.), it is your responsibility to ensure your content is accessible to all and adheres to accessibility requirements and best practices.

Visuals and accessibility

Images

  • It’s best to avoid text in an image or text-heavy graphics to communicate important information. Learn more about images of text (link is external) .
  • If there’s text on an image or graphic, it shouldn’t exceed 150 characters, as all of the text must be placed in the alt text field in the content management system (more on this below).
  • Images, graphics with text and even PDFs should be created with color contrast (link is external) and readability in mind.

Alt text describes images

Alt text is a brief image description that conveys the meaning communicated by the picture. It’s used by assistive technology (e.g. screen readers), search engines, and browsers (when the image can’t be loaded). Learn more about how to use alt text.

Note that if the image is purely decorative and conveys no meaningful information, you may use two quote marks ("") in the alt text field to indicate empty alt text. Use this decision tree (link is external) as a guide to alt text for decorative images.

Conveying meaning

Remember, accessibility is about providing the same informational value to all users, and we want to be sure people aren’t missing out on important details.

Learn more about the image component or the image link component, where these kinds of decisions about accessibility will be made.

Hero images

Hero images are a great way to add a decorative element to the top of your page.

  • Hero images should not contain any words in the image.
    • Why? Text in an image file cannot be read by a screen reader. Depending on the size of your user’s screen, the text may also be cropped out of view.
    • What you can do: You can add text over your image in Drupal. It can be your page title or a supplementary headline.
  • Why does my image on the page  look darker than the image file I uploaded?  When you add an image to an organization’s landing page, a program page, or when you are on an interior page and choose the hero display option of “Text on Image,” a subtle overlay will appear on the image that may make your image appear darker. This overlay creates a level of contrast that allows the white text that appears over the image to be readable and accessible.

Infographics and other complex graphics

Infographics, one-sheeters and other complex graphics usually contain a lot of information presented in a visual way. They may serve a purpose as a printed asset, but when directly added to a webpage, not all users will be able to access the information.

Infographics can be a challenge for people with cognitive disabilities, people who use screen readers, people on mobile devices, or even people with slow internet speed. Learn more about the challenges of information presented in complex graphics.

Options for adding a complex graphic

If you want your infographic or complex graphic to be downloadable, use the Featured File component.

  • Ensure that your infographic is a PDF that meets 508 compliance requirements—not a jpeg or png.
  • You can screenshot your graphic so you will have a thumbnail preview of the infographic, and then users can click on the link to access or download it.

An example of a featured file component

Creating an alternative version of your complex visual element

Mark your image as decorative, and add all of the information that is presented in the infographic in one of the following ways:

Copy and accessibility

The text component or other components with a text editor provide a lot of flexibility for your content. It is important to craft your content according to best practices for accessibility.

Adding links

  • Avoid full urls on-page when possible. Instead, use descriptive link text.
  • Avoid phrases like click here, here, read more, or view more in your link text.
    • Avoid link text "click here," "here" or "read more...." These words by themselves do not provide enough information about the destination. This issue is compounded if a page has multiple destinations using the same "click here" or "read more" link text. 
    • For more examples on writing active link text, see this W3C Tip for Webmasters (link is external)

Headings and readability

  • Use proper heading hierarchy to add structure to your webpage. Learn how to add headings with the text editor.
  • Avoid all caps - screen readers will read each letter as if it is an acronym.
    • SO IF YOU WROTE THIS it would be read aloud letter-by-letter as S-O I-F Y-O-U W-R-O-T-E T-H-I-S.
  • Avoid underlining text that is not a link - this can be confusing to users.

Plain language

The National Science Foundation is committed to ensuring all content on Beta adheres to federal plain language guidelines. If you have questions about these guidelines or how you can make your copy compliant, reach out to OLPA.