diff --git a/page-components/expandables.md b/page-components/expandables.md index adeb4419..f100359a 100644 --- a/page-components/expandables.md +++ b/page-components/expandables.md @@ -542,108 +542,8 @@ In the default mode, users are able to have multiple sections of an expandable g -

Accordion (alternate)

- -
- -With the “accordion” mode, users can only view the contents of one section at a time; when a user expands an additional section, the previously-expanded section will collapse automatically. - -This can be desirable for maintaining the height of a group of expandable sections, but it can be disorienting when the height of the expandable sections is greater than the height of the user’s viewport (e.g., for users of mobile phones or netbooks), which can lead to off-screen sections closing and shifting all of the content on the screen. For this reason, you should avoid the “accordion” mode if the expanded height of any of the sections is greater than 400px. - -Add the `data-accordion="true"` attribute to the expandable group to activate the accordion mode. - -
- -
- -{::nomarkdown} -
-
- -
-

- Lorem ipsum dolor sit amet, consectetur adipisicing - elit. Neque ipsa voluptatibus soluta nobis unde quisquam - temporibus magnam debitis quidem. Ducimus ratione - corporis nesciunt earum vel est quaerat blanditiis - dolore ipsa? -

-
-
-
- -
-

- Lorem ipsum dolor sit amet, consectetur adipisicing - elit. Neque ipsa voluptatibus soluta nobis unde quisquam - temporibus magnam debitis quidem. Ducimus ratione - corporis nesciunt earum vel est quaerat blanditiis - dolore ipsa? -

-
-
-
- -
-

- Lorem ipsum dolor sit amet, consectetur adipisicing - elit. Neque ipsa voluptatibus soluta nobis unde quisquam - temporibus magnam debitis quidem. Ducimus ratione - corporis nesciunt earum vel est quaerat blanditiis - dolore ipsa? -

-
-
-
-{:/nomarkdown} - -
-

Accessibility

The `find` function will not discover information hidden by a collapsed expandable, so use good judgement in deciding which information to hide. Non-javascript users should default to the expanded state. Otherwise, the default state (expanded or collapsed) will depend on the circumstance. -