Page History
Multiple macros are available to show and hide blocks of content. For example, if you want to provide a transcript with a video, you can use one of these macros to hide the transcript. Readers who want to read the transcript can click the link to expand the text.
- If you want to specify different text for the expand and collapse links, use the combination of Cloak, Toggle Cloak, and Composition macros.
- Otherwise, use the Expand macro. (It is easier to implement.)
Key point for accessibility: Make sure the link text briefly and uniquely describes the hidden content or what the link does, as in the following examples:
- Transcript of this video
- Show
- Hide
Avoid vague link text such as "Click here."
...
Panel | |||||||||
---|---|---|---|---|---|---|---|---|---|
| |||||||||
|
To enter the macros
Type as much of the following as needed to open the macro browser.
Code Block {cloak
- When the macro browser opens, select the Cloak or Toggle Cloak macro from the list.
- In the macro dialog box, enter the ID (such as TOC in the example).
- Click Save.
...