http://www.w3.org/TR/html5/disabled-elements.html
4.14.2 Pseudo-classes

:enabled

The :enabled
<http://www.w3.org/TR/html5/disabled-elements.html#selector-enabled>
pseudo-class
must match any element falling into one of the following categories:

   - a <http://www.w3.org/TR/html5/text-level-semantics.html#the-a-element>
elements
   that have an href
   <http://www.w3.org/TR/html5/links.html#attr-hyperlink-href> attribute

But different CSS frameworks (Bootstrap, Yahoo Pure, ...) have their own
understanding what is disabled anchor.
Bootstrap for example expects 'disabled' class to style the anchor as
disabled - http://getbootstrap.com/css/#buttons-disabled.


On Fri, Jul 11, 2014 at 3:33 PM, Nick Pratt <nbpr...@gmail.com> wrote:

> Does that include anchor tags?
> On Jul 11, 2014 8:11 AM, "Martijn Dashorst" <martijn.dasho...@gmail.com>
> wrote:
>
> > On Fri, Jul 11, 2014 at 1:59 PM, Nick Pratt <nbpr...@gmail.com> wrote:
> > > Just curious - with regards to disabled links, what HTML is being
> > suggested
> > > (or is the 2014 expected norm) as the replacement for the em/span in
> the
> > > disabled state?
> >
> > http://www.w3.org/TR/html5/disabled-elements.html
> >
> > Martijn
> >
>

Reply via email to