WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Using <legend> and <fieldset> on a single drop-down.

for

From: Tom Livingston
Date: May 28, 2021 1:49PM


On Fri, May 28, 2021 at 2:27 PM Graham Armfield
< <EMAIL REMOVED> > wrote:
>
> Hi All,
>
> In the code provided by Tom, the name attribute on the two radio buttons
> has a different value, so as far as the browser is concerned they are not
> part of the same group. This can cause unexpected behaviour for keyboard
> users who can see they are adjacent, and also for desktop/laptop screen
> reader users.
>
>
Yes, sorry. Just jotting code out quickly. I spent more time on the
kale joke than the code. :-P




--

Tom Livingston | Senior Front End Developer | Media Logic |
ph: 518.456.3015x231 | fx: 518.456.4279 | medialogic.com


#663399