ARIA Deprecated Features

ARIA role: directory

Historical role for a directory of references to other content. Deprecated in ARIA 1.2; use list or navigation semantics instead. The example demonstrates the replacement. Accessibility exposure varies with browser, platform and assistive technology. Test relevant combinations; rendering is not proof of accessibility.

Formal Syntax & Structure

html syntaxhtml
Deprecated token: role="directory" (do not use in new markup).

Working Example

Example Snippethtml
<ul>  <li>    <a href="#intro">Introduction</a>  </li></ul><h2 id="intro">Introduction</h2>
HTML Reference