W3C home > Mailing lists > Public > www-style@w3.org > September 2015

Re: [selectors] Suggestion for :focus-ring pseudoclass

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Thu, 24 Sep 2015 11:06:54 -0700
Message-ID: <CAAWBYDDSz29p2GbbSzdTZaA8K2-q7t=B1Jr35puxc73ojM_DxQ@mail.gmail.com>
To: Florian Rivoal <florian@rivoal.net>
Cc: www-style list <www-style@w3.org>
On Thu, Sep 24, 2015 at 6:59 AM, Florian Rivoal <florian@rivoal.net> wrote:
> This seems to make sense. It builds off the same internal model that the input modality pseudo used, and exposes it in a syntax that is more to the point when trying to address the primary (only?) use case: the focus ring.

And, nicely, actually requires no new logic or state; the browser
already knows when it's showing a focus ring.

> The bit that confuses me a little is that you say "independently relevant". Do we still need the modality pseudo if we have this?

That's what I'm discussing with Alice and Brian.  I'm currently of the
opinion that, with the ability to customize how an element deals with
focus rings, and possible better default behavior in some cases, we
won't need anything further; they're currently thinking about
use-cases and other possibilities that will require more

Received on Thursday, 24 September 2015 18:07:41 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:57 UTC