You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A disclosure is a widget that enables content to be either collapsed (hidden) or expanded (visible).
23
-
It has two elements: a disclosure <ahref="../button/button-pattern.html">button</a> and a section of content whose visibility is controlled by the button.
24
-
When the controlled content is hidden, the button is often styled as a typical push button with a right-pointing arrow or triangle to hint that activating the button will display additional content.
25
-
When the content is visible, the arrow or triangle typically points down.
When the content is visible, the element with role <code>button</code>has<ahref="#aria-expanded" class="state-reference">aria-expanded</a>set to <code>true</code>.
55
-
When the content area is hidden, it is set to <code>false</code>.
Optionally, the element with role <code>button</code>has a value specified for <ahref="#aria-controls" class="property-reference">aria-controls</a>that refers to the element that contains all the content that is shown or hidden.
0 commit comments