[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev lynx checks a radio button by default
From: |
Hugo Haas |
Subject: |
Re: lynx-dev lynx checks a radio button by default |
Date: |
Fri, 23 Jun 2000 13:52:08 -0400 |
User-agent: |
Mutt/1.2.2i |
On Fri, Jun 23, 2000, address@hidden wrote:
> >From an HI perspective, one of a set of radio buttons *HAS* to be set.
>
> Now this may disagree with the HTML standards, and if so, it must be
> fixed. Otherwise, setting the first one makes sense if none of the others
> in the same group are set.
>
> In other words, unless it conflicts with the letter of the law in the
> standards, I'd say Lynx is doing the right thing and the other browsers
> aren't.
Hmmm... actually, that's a good point. The HTML 4.01 specification
says[1]:
At all times, exactly one of the radio buttons in a set is checked.
If none of the <INPUT> elements of a set of radio buttons specifies
`CHECKED', then the user agent must check the first radio button of
the set initially.
Next time I'll read the spec before reporting a bug. :-)
1. http://www.w3.org/TR/html4/interact/forms.html#h-17.2.1
--
Hugo Haas, Webmaster, Systems Team - W3C/MIT
mailto:address@hidden - tel:+1-617-452-2092
; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden