NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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:

...

  • Show
  • Hide

Avoid vague link text such as "Click here." 

...