Difference between revisions of "Input Element Type Checkbox"

From Level Access Web Labs
Jump to navigation Jump to search
(Input checkbox with aria-labelledby)
 
(One intermediate revision by one other user not shown)
Line 58: Line 58:
 
</html>
 
</html>
  
==Input checkbox with aria-labelledby==
+
==Input checkbox with in fieldset==
 
<html>
 
<html>
<span role="checkbox" tabindex="0" aria-labelledby="c4span" checked="True">
+
<fieldset>
   <input id="c4" type="checkbox" />
+
<legend> Settings</legend>
</span>
+
   <input id="c11" type="checkbox" />
   <span id="c4span" style="border:solid thin;"> Search the Internet </span>
+
   <label for="c11" style="border:solid thin;"> Search Internet</label>
 +
</fieldset>
 
</html>
 
</html>
 +
 
[[Category:Elements]]
 
[[Category:Elements]]
 
[[Category:ARIA]]
 
[[Category:ARIA]]

Latest revision as of 00:55, 6 March 2018

Input checkbox with title (required, autofocus)

Input checkbox with label (required)

Input checkbox with aria-label

Search the Internet

Input checkbox with aria-labelledby

Search the Internet

Input checkbox with implicit label

Input checkbox with explicit and implicit label

Input checkbox with label and aria-describedby

You can search for anything you want.

Disabled Input checkbox with label

Input checkbox with label (checked)

Input checkbox with in fieldset

Settings