diff --git a/aria-practices.html b/aria-practices.html index 218c504ce..8d731a266 100644 --- a/aria-practices.html +++ b/aria-practices.html @@ -246,7 +246,6 @@
This section is work in progress. Provide feedback in issue 53.
An accordion is a vertically stacked set of elements, such as labels or thumbnails, that allow the user to toggle the display of sections of content. Each labeling element can be expanded or collapsed to reveal or hide its associated @@ -266,11 +265,12 @@
button
element has aria-controls set to the ID of the element containing the accordion panel content. button
element has aria-expanded set to true
.
- If the panel is not visible, aria-expanded is set to false
. button
element has aria-disabled set to true
. button
is wrapped in an element with role heading that has a value set for aria-level that is appropriate for the information architecture of the page.
- If the native host language has an element with an implicit heading
and aria-level
, such as an HTML heading tag, a native host language element may be used.
- The button
element is the only element inside the heading
element.
- That is, if there are other visually persistent elements, they are not included inside the heading
element. button
is wrapped in an element with role
+ heading
+ that has a value set for
+ aria-level
+ that is appropriate for the information architecture of the page. If the
+ native host language has an element with an implicit heading
+ and aria-level
, such as an HTML heading tag, a native host
+ language element may be used. The button
element is the only
+ element inside the heading
element. That is, if there are other
+ visually persistent elements, they are not included inside the heading
+ element.
+ button
element has
+ aria-expanded
+ set to true
. If the panel is not visible,
+ aria-expanded
+ is set to false
.
+ button
element has
+ aria-controls
+ set to the ID of the element containing the accordion panel content.
+ button
+ element has
+ aria-disabled
+ set to true
.
+