Skip to Navigation
< Return to Ferrigan Design Websites Page

Lesson 12 Final Exam Project

ARIA Cheatsheet

The W3C created ARIA to ensure that many kinds of applications and websites can incorporate accessibility within them and to make up for the lack of accessibility when it comes to various industry standards. Where CSS provides visual style effects for HTML, ARIA provides accessibility effects for HTML that make webpages user-friendly for a wider audience.

Roles

Roles are used to indicate the purpose of the element to the user. They also allow tools to support interaction with the element in a way that is consistent with the user's previous experience with the same type of element.

Abstract

These are the foundation that all other roles are built on. Abstract roles help organize the role taxonomy and provide roles with a meaning in the context of known concepts, and streamline the addition of roles that include necessary features. NOTE: Abstract roles are used for the ontology. Authors MUST NOT use abstract roles in content.

role="input"
role="landmark"
role="section"
Document structure

These describe structures that organize content in a page. Document structures are not usually interactive.

role="definition"
role="figure"
role="heading"
Landmark

These are regions of the page intended as navigational landmarks.

role="banner"
role="contentinfo"
role="navigation"
Live region

These are perceivable regions of a webpage that are typically updated due to an external event with user focus may be elsewhere. These regions are not always updated as a result of a user interaction. Examples include a chat log, stock ticker, or a sport scoring section that updates periodically to reflect game statistics.

role="alert"
role="log"
role="timer"
Widget

This is a discrete user interface object that the user can interact with. Widgets range from simple objects with one value or operation (e.g., checkboxes and menu items) to complex objects that contain many managed sub-objects (e.g., trees and grids).

role="button"
role="checkbox"
role="menuitem"
Window

These act as windows within the browser or application.

role="alertdialog"
role="dialog"