Semantics

An insertion contains content that is marked as added or content that is being suggested for addition.

Additional info from the ARIA specification

See related deletion.

Insertions are typically used to either mark differences between two versions of content or to designate content suggested for addition in scenarios where multiple people are revising content.

Abstract Role

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

Content Categories

  • Phrasing ContentAn element that typically appears inline and provides semantic meaning to text content.

Allowed Descendants

Phrasing Children Allowed

Usage

Allowed HTML elements

Implicit semantics

These elements have the role semantics by default, without needing to set the role attribute. Reach for elements with native semantics first when choosing how to implement a role in your content.

  • ins

Explicitly allowed

  • None

Elements that can have any role

  • abbr[role=insertion]
  • address[role=insertion]
  • b[role=insertion]
  • blockquote[role=insertion]
  • canvas[role=insertion]
  • cite[role=insertion]
  • code[role=insertion]
  • custom-element[role=insertion]
  • data[role=insertion]
  • del[role=insertion]
  • dfn[role=insertion]
  • div[role=insertion]
  • em[role=insertion]
  • figure[role=insertion]
  • i[role=insertion]
  • kbd[role=insertion]
  • mark[role=insertion]
  • output[role=insertion]
  • p[role=insertion]
  • pre[role=insertion]
  • q[role=insertion]
  • samp[role=insertion]
  • small[role=insertion]
  • span[role=insertion]
  • table[role=insertion]
  • tbody[role=insertion]
  • tfoot[role=insertion]
  • thead[role=insertion]
  • time[role=insertion]
  • u[role=insertion]
  • var[role=insertion]