|
|
h3 |
- Element that serves as an accordion header.
- Each accordion header element contains a button that controls the visibility of its content panel.
- The example uses heading level 3 so it fits correctly within the outline of the page; the example is contained in a section titled with a level 2 heading.
|
|
aria-expanded="true" |
button |
Set to true when the Accordion panel is expanded, otherwise set to false .
|
|
aria-controls="ID" |
button |
Points to the ID of the panel which the header controls.
|
region |
|
div |
Creates a landmark region that contains the currently expanded accordion panel. |
|
aria-labelledby="IDREF" |
div |
- Defines the accessible name for the
region element.
- References the accordion header button that expands and collapses the region.
region elements are required to have an accessible name to be identified as a landmark.
|