W3C home > Mailing lists > Public > www-style@w3.org > July 2014

Re: [css3-background] PFWG input on focus ring

From: Antony Kennedy <booshtukka@me.com>
Date: Wed, 23 Jul 2014 17:27:20 +0000
Cc: Michael Cooper <cooper@w3.org>, CSS WG <www-style@w3.org>, WAI Liaison <wai-liaison@w3.org>
Message-id: <9BB83A64-E72C-4F25-9FA0-DDA7A5087BCB@me.com> (sfid-20140723_172727_854817_395FE5A5)
To: fantasai <fantasai.lists@inkedblade.net>

> On 23 Jul 2014, at 10:20, fantasai <fantasai.lists@inkedblade.net> wrote:
> On 07/23/2014 05:58 PM, Michael Cooper wrote:
>> Below is a quite late comment from PFWG on CSS Backgrounds and Borders Last Call
>> http://www.w3.org/TR/2014/WD-css3-background-20140204/
>> About drawing focus rings: this can be done with existing border properties and the :focus psudoclass, which is good.  It
>> would be nice to have some discussion of this in the spec and an example.  It would also be interesting to look at whether a
>> focus ring is a different type of border, that should be drawn in a different position or style by default, and how CSS-based
>> focus indicators interact with browser and OS focus indicators.  This is a feature request, and could wait until the next
>> version.
> Hello PFWG,
> Border are not intended for focus rings: we have a separate 'outline'
> property that's intended for this use case:
>  http://www.w3.org/TR/CSS21/ui.html#dynamic-outlines
> An author can change the color/style of the browser/OS focus indicators
> by changing the 'outline' property's values on the focused element.
> A user can disable such modifications by restricting it via !important
> rules in the user style sheet (or an equivalent UI control) just like
> disabling author-specified colors and fonts.
> Let me know if this addresses your concern.
> ~fantasai

A user can set their own outline with !important, but out of interest, is there a way for them to stop the author overriding browser defaults?
Received on Thursday, 24 July 2014 10:18:59 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:23 UTC