Difference between revisions of "Input Element Type Text"

From Level Access Web Labs
Jump to navigation Jump to search
Line 63: Line 63:
 
   <input autocomplete="on" id="ia1" placeholder="enter search term here" type="text" />
 
   <input autocomplete="on" id="ia1" placeholder="enter search term here" type="text" />
 
   <label for="ia1" style="border:solid thin;"> Search </label>
 
   <label for="ia1" style="border:solid thin;"> Search </label>
 +
</html>
 +
 +
<html>
 +
  <input autocomplete="on" id="ia2" placeholder="enter search term here" type="text" />
 +
  <label for="ia2" style="border:solid thin;"> Search </label>
 
</html>
 
</html>
  
 
[[Category:Elements]]
 
[[Category:Elements]]
 
[[Category:ARIA]]
 
[[Category:ARIA]]

Revision as of 15:08, 6 May 2016

Input text with title (required, placeholder, autofocus)

Input text with label (required)

Input text with aria-label

Search

Input text with aria-labelledby

Search

Input with implicit label

Input with explicit and implicit label

Input text with label and aria-describedby

You can search for anything you want.

Disabled Input text with label

Readonly Input text with label

Input text with label (autocomplete on)