Home  • Programming • JavaScript

Accessible Rich Internet Applications (ARIA)

Accessible Rich Internet Applications

Accessible Rich Internet Applications (ARIA) is a set of roles and attributes that define ways to make web content and web applications (especially those developed with JavaScript) more accessible to people with disabilities.

It supplements HTML so that interactions and widgets commonly used in applications can be passed to assistive technologies when there is not otherwise a mechanism. For example, ARIA enables accessible JavaScript widgets, form hints and error messages, live content updates, and more.

Here's the markup for a progress bar widget:
<div
  id="percent-loaded"
  role="progressbar"
  aria-valuenow="75"
  aria-valuemin="0"
  aria-valuemax="100"></div>
It would have been much simpler to use the native <progress> element instead:
<progress id="percent-loaded" value="75" max="100">75 %</progress>
Note: ARIA roles are added to HTML elements using role="role type", where role type is the name of a role in the ARIA specification. The role attribute describes the role of an element in programs that can make use of it. Some roles require the inclusion of associated ARIA states or properties; others are only valid in association with other roles. Support Like any other web technology, there are varying degrees of support for ARIA. Support is based on the operating system and browser being used, as well as the kind of assistive technology interfacing with it. In addition, the version of the operating system, browser, and assistive technology are contributing factors. Older software versions may not support certain ARIA roles, have only partial support, or misreport its functionality. It is also important to acknowledge that some people who rely on assistive technology are reluctant to upgrade their software, for fear of losing the ability to interact with their computer and browser. Because of this, it is important to use semantic HTML elements whenever possible, as semantic HTML has far better support for assistive technology. It is also important to test your authored ARIA with actual assistive technology. This is because browser emulators and simulators are not really effective for testing full support. Similarly, proxy assistive technology solutions are not sufficient to fully guarantee functionality.

Comments 0


Copyright © 2024. Powered by Intellect Software Ltd