Difference between revisions of "ARIA Group role"

From Level Access Web Labs
Jump to navigation Jump to search
Line 16: Line 16:
 
</div>
 
</div>
  
 +
<h2> Regular Fieldset and Legend tag</h2>
 
<fieldset id="feedbackIntro">
 
<fieldset id="feedbackIntro">
 
<legend> Was this content helpful?</legend>
 
<legend> Was this content helpful?</legend>
Line 21: Line 22:
 
<button id="feedbackNo" class="feedbackHelpful" title="No" data-value="no");">No</button>
 
<button id="feedbackNo" class="feedbackHelpful" title="No" data-value="no");">No</button>
 
</fieldset>
 
</fieldset>
 +
 +
 +
<h2> Fieldset and Legend tag with H2 inside legend</h2>
 +
<fieldset id="feedbackIntro">
 +
<legend><H2> Was this content helpful? </H2></legend>
 +
<button id="feedbackYes" class="feedbackHelpful" title="Yes" data-value="yes">Yes</button>
 +
<button id="feedbackNo" class="feedbackHelpful" title="No" data-value="no");">No</button>
 +
</fieldset>
 +
 +
 +
<h2> Fieldset and Legend tag with H2 outside the legend</h2>
 +
<fieldset id="feedbackIntro">
 +
<legend><H2> Was this content helpful? </H2></legend>
 +
<button id="feedbackYes" class="feedbackHelpful" title="Yes" data-value="yes">Yes</button>
 +
<button id="feedbackNo" class="feedbackHelpful" title="No" data-value="no");">No</button>
 +
</fieldset>
 +
  
 
</html>
 
</html>
  
 
[[Category:ARIA]]
 
[[Category:ARIA]]

Revision as of 20:41, 20 April 2016

ARIA role group example with input type radio.

Platform:
Billing Address:

Regular Fieldset and Legend tag

Was this content helpful?

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?