E-mail List Archives
Re: Valid elements for aria-required
From: Steve Faulkner
Date: Jun 28, 2013 6:04AM
- Next message: Alastair Campbell: "Re: Valid elements for aria-required"
- Previous message: Alastair Campbell: "Re: JAWS demo video"
- Next message in Thread: Alastair Campbell: "Re: Valid elements for aria-required"
- Previous message in Thread: Alastair Campbell: "Re: Valid elements for aria-required"
- View all messages in this Thread
note adding the html5 required attribute to one radio button makes all
radio buttons in a set required (as in one must be chosen)
regards
stevef
--
Regards
SteveF
HTML 5.1 <http://www.w3.org/html/wg/drafts/html/master/>
On 28 June 2013 12:49, Alastair Campbell < <EMAIL REMOVED> > wrote:
> James Nurthen wrote:
> > IMO yes for SELECT but not for checkbox and radio button. The aria spec
> > states that it is valid on the roles
> >
> ...
> > - radiogroup <http://www.w3.org/TR/wai-aria/roles#radiogroup>
>
> At a top level it would make sense to allow for a group of radio
> buttons (or checkboxes) to be required. I can see instances where you
> don't want to pre-select a radio button, but do want it to be required
> (so there is no argument that they just went with the default.)
>
> However, you are right that adding it to the inputs doesn't make much
> sense, and there is no defined grouping element we can assume is used.
>
> Patricks idea of fieldsets makes the most sense from an HTML point of
> view, perhaps its something that should be added to the HTML5x spec?
>
> -Alastair
> > > >
- Next message: Alastair Campbell: "Re: Valid elements for aria-required"
- Previous message: Alastair Campbell: "Re: JAWS demo video"
- Next message in Thread: Alastair Campbell: "Re: Valid elements for aria-required"
- Previous message in Thread: Alastair Campbell: "Re: Valid elements for aria-required"
- View all messages in this Thread