Radio group without a list

Return to main list

This is a test case designed to determine how the <fieldset> and <legend> elements are announced in relation to a radio group by various screen readers. In this test, the radio group is not presented inside a list.

Example

Do you like boats?

Code

<fieldset>
  <legend>Do you like boats?</legend>
  <div>
    <input type="radio" id="boats-y" name="boats">
    <label for="boats-y">Yes</label>
  </div>
  <div>
    <input type="radio" id="boats-n" name="boats">
    <label for="boats-n">No</label>
  </div>
</fieldset>

Assistive technologies

VoiceOver

NVDA

JAWS

Return to main list