2.11.0
Exhibits pair a visual element and a caption to provide additional content intended to aid in the communication of ideas.
Use to display an informative visual paired with a caption.
<figure class="mds-exhibit">
<div class="mds-exhibit__content">
<img src="/images/components/exhibits/exhibits-sample-image.png" alt="Photograph of a modernist apartment building in Tokyo">
</div>
<figcaption class="mds-exhibit__caption">Ex: An example of a modernist apartment building style common to Tokyo.</figcaption>
</figure>
aria-describedby
tag to link the mds-exhibit__content
and the mds-exhibit__caption
.mds-exhibit__content
area, always include the alt
attribute describing the information that is visually displayed but is not explained in the mds-exhibit__caption
text.