ARIA: directory role
The directory
role was for a list of references to members of a group, such as a static table of contents.
Warning:
The directory
role was deprecated in ARIA 1.2
Description
A directory is a static table of contents, whether linked or unlinked. This includes tables of contents built with lists, including nested lists. Dynamic tables of contents, however, might use a tree role instead.
The deprecated directory
role was used for lists of references to members of a group, such as a static table of contents.
Use the list
role instead. Or, better yet, use the <ul>
or <ol>
elements, as using directory
does not provide any additional benefits to assistive technology users.
Specifications
Specification |
---|
Accessible Rich Internet Applications (WAI-ARIA) # directory |
See also
- The
list
role - The
<ul>
element - The
<ol>
element