[prev in list] [next in list] [prev in thread] [next in thread]
List: kfm-devel
Subject: Re: [PATCH] Last version of the "fix label form focus" (59489)
From: Tobias Anton <TA () ESC-Electronics ! de>
Date: 2004-07-06 12:34:28
Message-ID: 200407061434.28006.TA () ESC-Electronics ! de
[Download RAW message or body]
On Dienstag, 6. Juli 2004 14:58, bj@altern.org wrote:
> > If a label does not have a "for" attribute and does not contain child
> > elements, shouldn't it activate the nearest following input element in
> > document order?
>
> That's what I initially did for the patch, but the problem is that the
> label can be placed before or after the corresponding input. For example, a
> poll can have the radio input buttons on the right or on the left of the
> text labels. So if we activate the nearest following input, we could end up
> activating next line's input which would be completely wrong.
I agree; in that case, we should perhaps better do nothing than doing it The
Wrong Way. On the other hand, web sites could rely on a certain fallback
behaviour. Do you know how other browsers behave?
> Let's hope that if more browser support the label form focus, webmasters
> will become more careful with the <label> tag.
>
> By the way, shall I get somebody else's approval before committing my patch
> ?
Good question.
I think that's not necessary. Go ahead and commit.
If somebody objects later on, you can blame me :-)
Cheers
-- Tobias
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic