W3C home > Mailing lists > Public > www-style@w3.org > November 2008

Re: Selectors Tests

From: Philip TAYLOR (Ret'd) <P.Taylor@Rhul.Ac.Uk>
Date: Wed, 12 Nov 2008 15:01:19 +0000
Message-ID: <491AEFBF.5030703@Rhul.Ac.Uk>
To: Lachlan Hunt <lachlan.hunt@lachy.id.au>
CC: Brad Kemper <brkemper.comcast@gmail.com>, Mikko Rantalainen <mikko.rantalainen@peda.net>, www-style@w3.org, "public-html@w3.org" <public-html@w3.org>

Lachlan Hunt wrote:

> Allowing links to be disabled would be something for the HTMLWG to 
> consider, but it would require clear use cases, and there haven't been 
> any presented.  If this was something that authors really wanted, then 
> it's very likely that they would have found workarounds, which isn't too 
> hard to do.
> e.g. Attaching an event listener that cancels the default action when 
> clicked, and adding a class name like class="disabled" which can be used 
> for styling.  (If authors are doing this, or something else that gives 
> equivalent results, then please raise the issue on public-html and 
> present the examples.)

Before retiring as webmaster at Royal Holloway, University of London,
we certainly had disabled links in some iterations of the site.  The
classic case was the need to differentiate (in a jump table menu)
between the current page (to which jumping would serve no purpose)
and the set of target pages that were not the current page.  I imagine
that this is by no means rare in real life.

Received on Wednesday, 12 November 2008 15:02:13 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:41 UTC