Difference between revisions of "ARIA Group role"

From Level Access Web Labs
Jump to navigation Jump to search
Line 3: Line 3:
 
<html>
 
<html>
 
<div role="group" aria-labelledby="s1" aria-label="Platform ARIA label">  
 
<div role="group" aria-labelledby="s1" aria-label="Platform ARIA label">  
   <span id="s1">Platform:</span>
+
   <span tabindex="-1" id="s1">Platform:</span>
 
   <label><input type="radio" id="r1" name="a"> Mac </label>
 
   <label><input type="radio" id="r1" name="a"> Mac </label>
 
   <label><input type="radio" id="r2" name="a"> Windows </label>
 
   <label><input type="radio" id="r2" name="a"> Windows </label>

Revision as of 14:52, 11 May 2016

ARIA role group example with input type radio.

Platform:
Billing Address:




Fieldset and Legend tag with H2 inside legend

Was this content helpful?




Fieldset and Legend tag with H2 outside the legend

Was this content helpful?




Regular Fieldset and Legend tag

Was this content helpful?