Skip to Main Content

Making Online Content Accessible: General Principles of Accessibility

Techniques and principles for making online content like web pages and PDF files accessible to people with sensory disabilities and mobility impairments.

Design Approach

To produce accessible documents, you have to keep in mind that you are designing for both people who can see your documents and for those who have to listen to a description of your documents. Rather than focusing on making the document look a certain way, you should focus on making sure your content is properly tagged and described, so that adaptive technology can effectively convey the content of your document. You can still utilize visual design, but you should make sure that your content is still understandable without the visual styling.

You should try to avoid using extra spaces, extra tabs, or extra blank lines to create a particular visual appearance. This could cause your authoring tool to generate misleading or extraneous tagging for your document. You can usually achieve the same effect by modifying the Style settings in Word or the CSS on a web page.

Words as Text / Words in Images

Computer applications often handle words as strings of individual text characters and spaces. This is why you can often copy and paste words and sentences from one application into another. This is also why adaptive technology like screen reading programs are able to detect and audibly read out text on web pages and other programs.

However, words that are a part of a graphic image – composed not of encoded characters, but of light and dark dots – cannot be read out by screen readers. To convey that image's information, you need to provide some kind of alternative representation of the content and/or function of the image. This could be in the form of a hidden description (known as "alt text") for the image, or information elsewhere in the text of the document, or even a separate document.

Semantic Markup

Two sample documents, one formatted and one a continuous line of text.

Both of the documents in the illustration above contain the same words, but the one on the left has visual cues that help the reader understand the structure of the document and make the content easier to absorb. To make these cues available to users of adaptive technology, we have to tag, or mark up, the parts of the document to identify their function. Semantic markup is tagging that conveys meaning, rather than just controls presentation.

Headings

It's a common practice to use visual characteristics such as font, color, and positioning to set headings apart from the rest of the text. But for a screen reader program to provide audible cues when reading out the text, headings have to be tagged as such. So when creating a web page, Word document, or Google Doc, you should use the authoring application's Heading feature to mark heading text as a heading, rather than applying visual styling directly to the text. You can set the visual styling for each type of heading, so that marking text as a heading also controls its visual appearance.

Heading tags have numbers that indicate a hierarchical level. Heading 1 is used as the page title, and is used only once per page*. One or more Level 2 headings are used to divide the page into sections. You can further divide a section into sub-sections with Level 3 headings, and so forth. Avoid skipping levels – don't choose an inappropriate heading level because you like its appearance; modify the appearance of the appropriate heading to your preference.

*HTML allows only one Level 1 heading per document; PDF allows multiple Level 1 headings.

Paragraphs

You generally don't have to manually mark paragraphs. Pressing the Enter key when typing into a word processor or web authoring tool tells the program that you want to the end the paragraph, and it will automatically tag the paragraphs.

Lists

When making lists, use the application's list-making function. rather than manually inserting a bullet character or number at the start of each line. This way, the screen reader will announce each list item as an item within a list, rather than as separate paragraphs. It can also tell users how many list items they can expect to hear.

Tables

Ideally, you should only create tables to present tabular data. Avoid using tables as a visual positioning tool, i.e., creating a table with invisible lines just to lock objects into a grid. The screen reader will describe each cell as a table cell.

Headings within a table should be marked as table headings, so screen readers can properly describe the contents of table cells.

See the W3C-WAI tutorial on creating accessible tables for detailed information on how to create different types of tables.

Use of Color

Contrast

The WebAIM Color Contrast Checker lets you enter the color codes for text and background to see if they have sufficient contrast. The standard is a little more lenient for large text – 14 pt (typically 19 pixels)* bolded text or 18 pt (typically 24 pixels) normal. The ColorZilla extension for Chrome and Firefox lets you identify the color codes when you hover over a color in your browser.

*Font size in print is measured in points (about 1/72nd of an inch) while font size for screens is measured in pixels (picture elements – individual dots of light that form the image). Because different monitors have different-sized pixels, there is no firm conversion between points and pixels.

Using Color to Communicate

Do not rely on color alone to communicate, as this could make information inaccessible to people with color blindness. You may have to use labels or patterns in addition to color when creating charts or graphs, and provide alternative text when necessary.

Some people reportedly find it bothersome or even distressing to view large areas of red. I have not yet found a formal recommendation to avoid red.

Reading Order / Reading Without Styling

When text is arranged in multiple columns, or is placed in multiple areas of the page, it is possible that the text may not be read out in a logical order. You may need to use accessibility tools, such as those in Acrobat Pro, to check and correct the document's reading order. Or you might be able to rearrange the content to address the problem.

The details of visual formatting and styling are often not conveyed to users of adaptive technology, so you should try to avoid relying on these kinds of design elements to communicate content. If you want to use visual styling to do something like emphasize a word or a passage, make sure the content is still understandable without the styling.

Unfortunately, some of the problems of this nature can be difficult to address due to limitations of the authoring tools and/or shortcomings in adaptive technology applications. Just try to be aware of the potential problems, and do as best as you can to address the most egregious instances.

Meaningful Hypertext Links

Users of screen readers may skim through a document by jumping from link to link. You should make the text for each link descriptive. Avoid ambiguous link text like "click here".

Resources

Adaptive Technology

Adaptive technology provides capabilities to people with disabilities. Screen reader programs like JAWS and NVDA read out text in web browsers and other programs, using synthesized speech. They also give context to the text by telling users when they are reading out things like headings, items on a list, or data within a table. Another form of technology are refreshable braille displays, which are electro-mechanical devices that convert screen text to braille.

People with impaired vision may be able to read a screen by enlarging the text and images. A well-designed web page is a good format for these users because text can re-wrap to remain on the screen, obviating the need to scroll horizontally.

Guide Author

Profile Photo
Ralph Toyama
Contact:
96-045 Ala ʻIke
Pearl City, HI 96782
808-455-0682