Techniques |
- A
section element or an element with a role="region" attribute, which also has an author-defined accessible name, will be considered an region landmark.
- Use the
aria-labelledby attribute to provide an accessible name by referencing the id s of one or more heading (e.g. h2, h3, h4 element) or other elements that identify the contents of the region.
- Use the
aria-label attribute to provide an accessible name that identifies the contents of the region.
- The
title attribute may also be used to provide an accessible name to identify the contents of the region. Note, however, that this technique also generates a tooltip in many web browsers.
|