Semantics

A landmark region that contains a collection of items and objects that, as a whole, combine to create a search facility.

Additional info from the ARIA specification

See related form and searchbox.

A search region can be a mix of host language form controls, scripted controls, and hyperlinks.

Assistive technologies SHOULD enable users to quickly navigate to elements with role search. user agents SHOULD treat elements with role search as navigational landmarks. user agents MAY enable users to quickly navigate to elements with role search.

Abstract Role

  • LandmarkRepresents a top-level section of a page, relevant to a specific purpose, that a user may want to scan for quickly and could appear in a site map or table of contents.

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

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.

  • search

Explicitly allowed

  • aside[role=search]
  • form[role=search]
  • section[role=search]

Elements that can have any role

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