Difference between revisions of "Input Element Type Text"

From Level Access Web Labs
Jump to navigation Jump to search
Line 15: Line 15:
 
   <input aria-label="search" id="i1" placeholder="enter search term here" type="text" />
 
   <input aria-label="search" id="i1" placeholder="enter search term here" type="text" />
 
   <span style="border:solid thin;"> Search </span>
 
   <span style="border:solid thin;"> Search </span>
 +
</html>
 +
 +
==Input text with aria-labelledby==
 +
<html>
 +
  <input aria-labelledby="s1" id="i1" placeholder="enter search term here" type="text" />
 +
  <span id="s1" style="border:solid thin;"> Search </span>
 
</html>
 
</html>
  

Revision as of 17:23, 27 March 2014

Input text with title

Input text with label

Input text with aria-label

Search

Input text with aria-labelledby

Search

Input image with alt