E-mail List Archives
Re: Using <legend> and <fieldset> on a single drop-down.
From: JP Jamous
Date: May 28, 2021 8:54AM
- Next message: Dhananjay Bhole: "Regarding VPAT and litigation"
- Previous message: Patrick H. Lauke: "Re: Using
- Next message in Thread: Tom Livingston: "Re: Using
- Previous message in Thread: Patrick H. Lauke: "Re: Using
- View all messages in this Thread
If you do it the way you wrote the markup, the <p> will most likely be announced by screen readers while the user is tabbing through the form.
When you use a legend, most screen readers read the legend first followed by the radio button label.
So with your approach, you will force the screen reader user to get out of forms mode, read the <p> in browse or navigation mode and press Enter on either the Yes or No radio button.
Personally, I would like to use a legend, but I do not know your case. As I always say, each case is different and that's what determines the best markup.
=================================================Jean-Pierre Jamous
Principal Digital Accessibility Engineer
Jepelsy LLC
W: (952) 666-2930
M: (952) 666-2930
<EMAIL REMOVED>
"The only limitations in life are those we set for ourselves"
=================================================
- Next message: Dhananjay Bhole: "Regarding VPAT and litigation"
- Previous message: Patrick H. Lauke: "Re: Using
- Next message in Thread: Tom Livingston: "Re: Using
- Previous message in Thread: Patrick H. Lauke: "Re: Using
- View all messages in this Thread