Semantics

A section containing listitem elements.

Additional info from the ARIA specification

See related listbox.

Lists contain children whose role is listitem.

Abstract Role

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

Content Categories

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

Allowed Descendants

Specific Guidance

Only listitem roles 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.

  • menu
  • ol
  • ul

Explicitly allowed

  • dl[role=list]

Elements that can have any role

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