Main content

search

Characteristics

Superclass Role:

  • landmark

See Related:

  • form

Inherited States and Properties:

  • aria-atomic
  • aria-busy (state)
  • aria-controls
  • aria-describedby
  • aria-disabled (state)
  • aria-dropeffect
  • aria-expanded (state)
  • aria-flowto
  • aria-grabbed (state)
  • aria-haspopup
  • aria-hidden (state)
  • aria-invalid (state)
  • aria-label
  • aria-labelledby
  • aria-live
  • aria-owns
  • aria-relevant

Name From:

  • author

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

The group of elements that combine together to form a search functionality can be marked with a search role. A search role is a portion within a navigation panel which is marked with a navigation role. A search role is similar to a form role.

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

User agents should treat elements with the role of search as navigational landmarks.

Syntax

<div role="search">
<label for="search">Search Site</label>
<input type="text" id=”search” title="Search within Site" />
<input type="button" onclick="search()" value="search" />
</div>
More in this category: « section scrollbar »