WHAT IS ARIA?

Download Report

Transcript WHAT IS ARIA?

ARIA Web Design and Development Patterns

KEITH HAYS

IT Accessibility Specialist CITES / ITaccess [email protected]

• ARIA stands for: Accessible Rich Internet Applications • Created by the Web Accessibility Initiative (WAI) of the World Wide Web Consortium (W3C).

• Will reach final recommendation status early in 2013.

• Allows dynamic web content to be accessible.

• Maps to browser accessibility APIs.

– Adds additional HTML attributes.

• Document structure only goes so far:

– Assistive technologies (AT), such as screen readers, can not tell certain things from HTML tags alone.

– CSS is invisible to AT.

– Pages with a lot of information can be hard to navigate.

– Dynamic changes to the page can be missed by AT.

• Consider common page elements:

– Data tables, large menus, typical front-page layouts.

– hide/show regions, modal dialogs, tree views, accordion menus, etc.

• JavaScript manipulates the DOM and invalidates default accessibility information.

• Custom widgets are not recognized by AT.

• ARIA provides additional information to AT: – The semantic role of an element or page region.

– The semantic properties of an element or region.

– The current state of an element.

• ARIA is lightweight and does not affect page performance.

• Roles define the purpose of a page element or region.

• Roles are applied only to container elements.

is not a container.

• Four types of roles:

1.

2.

Landmark roles

- enhance document navigation.

Structure roles

– enhance document structure.

3.

4.

Widget roles

- define custom UI widgets.

Abstract roles

– define role taxonomy.

Do not use abstract roles in your widgets!

• ARIA landmarks provide region-level structure – ARIA labels can further enhance landmarks by identifying multiple regions of the same type.

– Headings provide structure within a region.

8.

5.

6.

7.

• Eight roles: 1.

2.

3.

4.

banner main navigation search complementary } } Should be used on most websites.

Use when it seems useful to do so.

form contentinfo } application Use only when necessary.

• Screen reader users can navigate by landmark using: – NVDA (2011.2) – Jaws (Version 10+) – VoiceOver (OS X 10.7 Lion) – VoiceOver (iPhone and iPad iOS 4+) • Window Eyes (V7.5) does not support landmark roles.

LANDMARK

Banner Navigation Main Complementary Search

HTML5

none