Accordion Component
Outline
This component is suitable for use when creating accessible courses.
The Accordion component lets the learner interact to get more information about the topic.
This article provides an overview of the Accordion component, component setup and behavior, and examples of Accordion component configurations.
Component overview
For each Accordion component item, you can choose to display only text or text and some media. It is also possible to select where to place the media for each Accordion component item.
The Accordion component is fully responsive.
Component set up
To add this component, follow the steps in this article:
Add a Component
Explore everything there is to know about Evolve. This collection begins with the basics of Evolve and completes with information on the tool's more advanced features. Feel free to start from the beginning or hop around to the specific section that suits your needs.
The Property Panel for the newly added component will then open automatically for you to customize set-up.
Or click anywhere on an existing component to open the Property Panel.
General & Behavior sections
In the General section:
Add Title and an Display Title, as needed, that should appear on the Accordion component. Only the Display Title is seen by learners.
Add your Body. Use the text editor to style and format your text.
- Add Instruction Text that tells users how to use the component.
- Add an Aria Label for screen readers, as needed.
In the Interaction Label section:
In the Interaction Label section, you can enable an Interaction Label.
The Interaction Label allows you to add a widget before or after the Accordion component. This widget can display an icon and label prior to the Accordion component completion, which changes to a different icon and label once the Accordion component is completed.
In the Behavior section:
In the Behavior section, you can enable to keep items open until they are manually closed.
In the Appearance section:
In the Appearance section, you can enable to show a check icon on visited items.
Add Component Items
In the Items section you add Items to your Accordion component.
For Each Accordion Item:
- Add Item Title that should appear on the Accordion Item.
- Add Item Body to the Accordion Item. Format the text as needed. The Item Body text is displayed to the learner when the Accordion Item interacts.
- Select Media Type. You can select Image, Video, Videostream or Gif to be displayed in the Accordion Item.
- Select Position of Item Media. This is where your Media will be positioned in the Accordion Item. You can choose to display the Media to the left, right, top or bottom, relative to the text.
Add Media Type:
If you want to add an Image to the Accordion Item, you need to do the following:
- Select or upload an Image to display.
- Enable Image Advanced Settings if you want to set different images per device.
- Add Alt Text if you want to add alternate text for accessibility.
- Toggle View Image in Lightbox, as needed.
- Toggle Enable Magnifier, as needed.
If you want to add a Video to the Accordion Item, you need to do the following:
- Select or upload a Video.
- Add a Poster Image.
- Enable Auto Play for the video to automatically play when the item is selected.
- Add Button Label, as needed.
- Add Transcript Text, as needed.
- Add subtitles Label, as needed.
- Add Subtitles, as needed.
If you want to add a VideoStream to the Accordion Item, you need to do the following:
- Set the Video player service used for your video.
- Enter Video Embed Code.
- Set and enable all other options for the Item Video Stream, as needed.
If you want to add a Gif to the Accordion Item, you need to do the following:
- Select or upload an Item Gif to be displayed.
- Add Alternative text for accessibility.
Add, duplicate, or delete items as needed.
Component Examples
The Accordion component gives you a lot of flexibility. Below are examples that illustrate different Accordion Item component setup:
Example 1 – displays only text.
Example 2 – displays text and image to the right.
Example 3 – displays text and video to the left.
Example 4 – displays text and a top placed image.
Did this article help?
Let us know by leaving a star rating or review at the top of this article.