[whatwg] Making elements match the :active pseudoclass
Tab Atkins Jr.
jackalmage at gmail.com
Tue Dec 28 14:44:28 PST 2010
On Tue, Dec 28, 2010 at 2:06 PM, fantasai <fantasai.lists at inkedblade.net> wrote:
> On 12/28/2010 04:27 PM, Tab Atkins Jr. wrote:
>> * IE8 and IE9 make only the target of the click :active
> does not turn green? That seems pretty broken.
Yes (it stays red), and I agree that it's totally broken.
> FWIW, I think the behavior currently in the spec makes the most sense.
> If the element has no behavior to activate, it doesn't make sense to
> me for the element to ever match :active. And if there is behavior to
> activate, it should be keyboard-activateable as well, not just mouse-
> I'm also interested to know whether there's a web-compat issue here or
> just a bug-compat issue, and what the implementers think.
I know that I've written pages in the past which implement button-like
things with non-interactive elements. This wasn't a great idea, as
it's inaccessible for keyboard users, but I don't think I'm alone in
making this mistake. (It was for some intranet apps for my previous
employer, so at least it's not exposed to the public.)
More information about the whatwg