Difference between revisions of "Fieldset, Label, and Legend Elements"
Jump to navigation
Jump to search
radios
Line 1: | Line 1: | ||
* JAWS 18+ only announces fieldset label when entering in Firefox and Chrome but in IE still announces for each tab stop in the fieldset. Doesn’t seem to announce fieldset for Edge. | * JAWS 18+ only announces fieldset label when entering in Firefox and Chrome but in IE still announces for each tab stop in the fieldset. Doesn’t seem to announce fieldset for Edge. | ||
+ | ==Fieldset with legend and inputs with aria-label== | ||
<html> | <html> | ||
− | <fieldset><legend>Phone number</legend> | + | <fieldset> |
− | <input id="areaCode" name="areaCode" aria-label="Area Code" | + | <legend>Phone number</legend> |
+ | <input id="areaCode" name="areaCode" aria-label="Area Code" | ||
type="text" size="3" value="" > | type="text" size="3" value="" > | ||
− | <input id="exchange" name="exchange" aria-label ="First three digits of phone number" | + | <input id="exchange" name="exchange" aria-label ="First three digits of phone number" |
type="text" size="3" value="" > | type="text" size="3" value="" > | ||
− | <input id="lastDigits" name="lastDigits" aria-label ="Last four digits of phone number" | + | <input id="lastDigits" name="lastDigits" aria-label ="Last four digits of phone number" |
type="text" size="4" value="" > | type="text" size="4" value="" > | ||
</fieldset> | </fieldset> | ||
Line 48: | Line 50: | ||
</html> | </html> | ||
+ | ==Fieldset with legend and inputs with label== | ||
<html> | <html> | ||
<form> | <form> |
Revision as of 13:57, 11 December 2018
- JAWS 18+ only announces fieldset label when entering in Firefox and Chrome but in IE still announces for each tab stop in the fieldset. Doesn’t seem to announce fieldset for Edge.
Fieldset with legend and inputs with aria-label
Fieldset with legend and inputs with label