W3C home > Mailing lists > Public > public-html@w3.org > March 2015

Fwd: Re: Form element dependencies

From: sisbluesteel <sisbluesteel@aol.com>
Date: Fri, 06 Mar 2015 23:52:12 +0200
Message-ID: <54FA218C.3090906@aol.com>
To: "public-html@w3.org LIST" <public-html@w3.org>



-------- Forwarded Message --------
Subject: 	Re: Form element dependencies
Date: 	Fri, 06 Mar 2015 23:51:44 +0200
From: 	sisbluesteel <sisbluesteel@aol.com>
To: 	Boris Zbarsky <bzbarsky@mit.edu>



True. This could be resolved with wrapping both the control and the
label inside a fieldset-element. The fieldset -element should also
support dependencies (fieldset already supports the "disabled" -attribute).

On 06.03.2015 23:45, Boris Zbarsky wrote:
> On 3/6/15 4:35 PM, sisbluesteel wrote:
>> When the other element is not valid, the dependant element has
>> "disabled" -attribute set. The actual hiding/showing can be done with
>> CSS selectors (":disabled").
>
> Except typically one hides the control and its label at the very
> least, not just the control.
>
> -Boris
>
Received on Friday, 6 March 2015 21:52:48 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:46:12 UTC