Semantics

A perceivable section of content that typically contains a graphical document, images, code snippets, or example text.

Abstract Role

StructureRepresents a non-interactive part of a page that organizes content into coherent units.

Content Category

Flow ContentAn element that structures and organizes the body of a web document.

Allowed Descendants

Flow Children Allowed

No main element descendants allowed.

Usage

Elements that can designate the role in HTML:

  • figure
  • div[role=figure]
  • custom-element[role=figure]