Title: [286783] trunk/Source/WTF
- Revision
- 286783
- Author
- [email protected]
- Date
- 2021-12-09 09:22:14 -0800 (Thu, 09 Dec 2021)
Log Message
Enable :focus-visible pseudo-class by default
https://bugs.webkit.org/show_bug.cgi?id=234019
<rdar://problem/86218583>
Reviewed by Brent Fulgham.
This enables :focus-visible pseudo-class for authors.
It also changes :focus-visible behavior in the user agent stylesheet so that
- <div tabindex> (or any element with 'tabindex' attribute that is not focusable otherwise) will not show focus
indicator when focused via click/tap/script.
- <details> element will not show focus indicator when focused via click/tap/script.
Both still show focus indicator when focused via keyboard (tab) navigation.
* Scripts/Preferences/WebPreferencesExperimental.yaml:
Modified Paths
Diff
Modified: trunk/Source/WTF/ChangeLog (286782 => 286783)
--- trunk/Source/WTF/ChangeLog 2021-12-09 17:10:03 UTC (rev 286782)
+++ trunk/Source/WTF/ChangeLog 2021-12-09 17:22:14 UTC (rev 286783)
@@ -1,3 +1,23 @@
+2021-12-09 Antti Koivisto <[email protected]>
+
+ Enable :focus-visible pseudo-class by default
+ https://bugs.webkit.org/show_bug.cgi?id=234019
+ <rdar://problem/86218583>
+
+ Reviewed by Brent Fulgham.
+
+ This enables :focus-visible pseudo-class for authors.
+
+ It also changes :focus-visible behavior in the user agent stylesheet so that
+
+ - <div tabindex> (or any element with 'tabindex' attribute that is not focusable otherwise) will not show focus
+ indicator when focused via click/tap/script.
+ - <details> element will not show focus indicator when focused via click/tap/script.
+
+ Both still show focus indicator when focused via keyboard (tab) navigation.
+
+ * Scripts/Preferences/WebPreferencesExperimental.yaml:
+
2021-12-09 Myles C. Maxfield <[email protected]> and Don Olmstead <[email protected]>
Move TextCodec files from WebCore/platform/text to WebCore/PAL/text
Modified: trunk/Source/WTF/Scripts/Preferences/WebPreferencesExperimental.yaml (286782 => 286783)
--- trunk/Source/WTF/Scripts/Preferences/WebPreferencesExperimental.yaml 2021-12-09 17:10:03 UTC (rev 286782)
+++ trunk/Source/WTF/Scripts/Preferences/WebPreferencesExperimental.yaml 2021-12-09 17:22:14 UTC (rev 286783)
@@ -535,11 +535,11 @@
humanReadableDescription: "Enable the focus-indicated pseudo-class :focus-visible"
defaultValue:
WebKitLegacy:
- default: false
+ default: true
WebKit:
- default: false
+ default: true
WebCore:
- default: false
+ default: true
# FIXME: This is on by default in WebKit2. Perhaps we should consider turning it on for WebKitLegacy as well.
GenericCueAPIEnabled:
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes