label for textbox

Modified on 2010/06/05 22:44 by Administrator — Categorized as: Web Accessibility

KWAH requires label for textbox in this case

<form>
  <input type="text" name="query" />
  <input type="submit" value="Search" />
</form>

But accessibility rules says that this is enough

<form>
  <input type="text" name="query" title="search text" />
  <input type="submit" value="Search" />
</form>