Open In App

What is the purpose of the HTML “aria-*” attributes?

The HTML “aria-*” attributes, part of WAI-ARIA (Web Accessibility Initiative – Accessible Rich Internet Applications), are used to enhance the accessibility of web content. These attributes provide additional information to assistive technologies, such as screen readers, in interpreting and presenting content to users with disabilities.

Syntax

<button aria-label="Close" aria-disabled="true">X</button>

Features

Article Tags :