- From: John Foliot <john.foliot@deque.com>
- Date: Mon, 4 Jun 2018 17:12:42 -0500
- To: Alastair Campbell <acampbell@nomensa.com>
- Cc: Jonathan Avila <jon.avila@levelaccess.com>, WCAG <w3c-wai-gl@w3.org>
- Message-ID: <CAKdCpxxXDUxsNcxP4sCMJparV84XdRGCiOnCfs8-i=koViE-PQ@mail.gmail.com>
Alastair wrote: > I’m saying that: In the case of the web stack, the default focus state is defined by outline, so if the author leaves the outline alone, that meets the exception. I must disagree (IN THE STRONGEST OF TERMS). The color, outline and other default parameters of a control are all "styled" by default in every browser: if the content author makes a change to one aspect of the control, and that change visually impacts other aspects of the same control, then the author is responsible for all of her actions, not just the one. If you change the default focus outline's background color, then you must also change it's foreground, *or provide a different visual indication of active focus*. We cannot accept that Firefox's default back dotted lines, situated on a CSS-modified background color of Navy blue, is acceptable simply because "that's the default focus indication". White is also the default background color, so Firefox's "native" focus indication is black dotted lines on a white background... change one, you must change the other (or, at least ensure that the change of one does not make the other non-conformant without change). JF On Mon, Jun 4, 2018 at 4:40 PM, Alastair Campbell <acampbell@nomensa.com> wrote: > > In the case of the focus rectangle wouldn’t it be the color of the > rectangle and the background for each one that was changed by the author? > Or are you saying just the rectangle color and not the background color > that were set by the author. > > > > I’m saying that: In the case of the web stack, the default focus state is > defined by outline, so if the author leaves the outline alone, that meets > the exception. > > > > If you use “outline: 0;”, or change the outline (color, thickness etc), > you have changed it therefore a visual indicator of the focus state needs > to be available, and if it is graphic meet the contrast requirement. > > > > I think that’s basically the web-dev perspective, thinking in terms of > CSS… > > > > -Alastair > -- John Foliot Principal Accessibility Strategist Deque Systems Inc. john.foliot@deque.com Advancing the mission of digital accessibility and inclusion
Received on Monday, 4 June 2018 22:13:10 UTC