Web Accessibility Training
Toronto, Montreal, Ottawa and worldwide via Webex More

Testing fieldsetand legend withdiv and spaninside it, with JAWS and NVDA

The fieldset below has span around the legend

Please select your eye colour:

The fieldset below has div around the legend

Please select your eye colour:


The fieldset below has NO div or span around the legend

Please select your age:



Using JAWS or NVDA tab into the first or second radio groups, the legend is not announced. Tab into the third group and the legend is announced.

Feel free to comment on this article on Twitter @davidmacd

Author information:

David MacDonald is a 15 year WCAG veteran and co-editor of Using WAI ARIA in HTML5 . Opinions are my own.




CONTACT US

For a quote or just to chat about your organization's needs


EMAIL

help at can hyphen adapt dot com, (spoken phonetically to trick spam bots)

PHONE

six one three, eight zero six, nine zero zero five

SOCIAL MEDIA