Semantics

One or more emphasized characters.

Additional info from the ARIA specification

See related strong.

The purpose of the emphasis role is to stress or emphasize content. It is not for communicating changes in typographical presentation that do not impact the meaning of the content. Authors SHOULD use the emphasis role only if its absence would change the meaning of the content.

The emphasis role is not intended to convey importance; for that purpose, the strong role is more appropriate.

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.

  • em

Explicitly allowed

  • None

Elements that can have any role

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