Difference between revisions of "Fieldset, Label, and Legend Elements"

From Level Access Web Labs
Jump to navigation Jump to search
Line 40: Line 40:
 
</fieldset>
 
</fieldset>
  
 +
<br><br>
 +
<h3> Fieldset with H2 and no legend</h3>
 +
<fieldset id="feedbackIntro">
 +
<H2> Was this content helpful? </H2>
 +
<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>
  
 
<br><br>
 
<br><br>

Revision as of 21:23, 20 April 2016

Shipping Address:


Fieldset and Legend tag with H2 inside legend

Was this content helpful?



Fieldset with H2 and no 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?


Using ARIA Describedby instead of legend

Was this content helpful?



Using ARIA Describedby instead of legend and input type submit instead of button

Was this content helpful?



Using ARIA Labelledby instead of legend

Was this content helpful?



Using ARIA Label instead of legend

Was this content helpful?


<html>