You are here: Homepage > AcceDe Web Guidelines > HTML and CSS accessibility guidelines > 1. General structure > 1.2. Mark up the search field with role="search"

1.2. Mark up the search field with role="search"

The website search field must be identified with role="search".

<form role="search" …>
  <input type="search" title="Keyword Search" />
  <input type="submit" value="Search" />
</form>

Find out more

Comments

Add a comment

All fields are mandatory.

Back to top