-
Notifications
You must be signed in to change notification settings - Fork 275
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
F78 example 2 is anachronistic #4249
Comments
That failure document, and the examples in it, relate to styles of focus indicators that authors can create rather than the default browser / user agent styles. |
Related:
|
Ah, I see. I possibly never understood the purpose of this failure technique because it used to resemble the old focus style of windows (browsers). Since the permanent outline style is inherited, it really depends on the user agent whether the focus is visible. In at least one of two browser in a very brief test, the offset is also changed with focus-visible (and 2.4.7 would pass there). |
Ah yes, you're right about the permanent outline. As I'm just about to post this reply referencing your comment, I see you've struck through your comment on that :) Also note that the failure document does mention it doesn't relate to user-agent styles:
|
I understand that, but the wording is extremely misleading, at least as far as I am concerned. "... an outline around links that looks the same as the focus indicator" seems entirely superfluous, if the actual problem is any permanent outline that is inherited and no additional default focus(-visible) style is. |
If I take example 3 instead, Firefox on macOS with default accent colour draws an additional blue outline around the author supplied medium black border with the same width that has a contrast ratio of 5.4:1. Not mentioning the thin white outline around that, that might or might not be 'visible' as well. Windows is likely to be similar or identical. A lot of footnotes might be in order. It really seems to me that all this is written around a G165 timeline of Windows that hopefully nobody who has a connection to the internet uses anymore. |
[tl;dr note: by "describes a quaint default thin dotted user agent focus style" in the following I did not mean to refer to the code example itself, but to the phrase "looks the same as"]
Example 2 of F78 describes a quaint default thin dotted user agent focus style that does not exist anymore in mainstream browsers. All contemporary mainstream user agents on Windows and macOS have a solid medium-ish border with lots of idiosyncratic discrepancies. It would probably be best to remove that example altogether.
Just a few differences that would make an "in the spirit of"-update rather cumbersome to describe:
The text was updated successfully, but these errors were encountered: