Semantics

A type of live region containing a numerical counter which indicates an amount of elapsed time from a start point, or the time remaining until 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 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:

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