Semantics

A section of content containing a numerical counter which indicates an amount of elapsed time from a start point, or the time remaining until an end point.

Additional info from the ARIA specification

The text contents of the timer object indicate the current time measurement, and are updated as that amount changes. The timer value is not necessarily machine parsable, but authors SHOULD update the text contents at fixed intervals, except when the timer is paused or reaches an end-point.

Abstract Role

  • Live RegionRepresents dynamic content or an announcement, typically updated as a result of an external event when user focus may be elsewhere.

Content Categories

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

Allowed Descendants

Flow Children Allowed

No main element descendants allowed.

Usage

Allowed HTML elements

Implicit semantics

  • None

Explicitly allowed

  • None

Elements that can have any role

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