Title: [288448] trunk/Source/WebCore
- Revision
- 288448
- Author
- [email protected]
- Date
- 2022-01-24 08:22:25 -0800 (Mon, 24 Jan 2022)
Log Message
[GTK][a11y] Do not expose the slider thumb to ATs with ATSPI
https://bugs.webkit.org/show_bug.cgi?id=235487
Reviewed by Adrian Perez de Castro.
We expose the slider as a whole but not its value indicator.
* accessibility/atspi/AccessibilityObjectAtspi.cpp:
(WebCore::AccessibilityObject::accessibilityPlatformIncludesObject const):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (288447 => 288448)
--- trunk/Source/WebCore/ChangeLog 2022-01-24 16:21:27 UTC (rev 288447)
+++ trunk/Source/WebCore/ChangeLog 2022-01-24 16:22:25 UTC (rev 288448)
@@ -1,5 +1,17 @@
2022-01-24 Carlos Garcia Campos <[email protected]>
+ [GTK][a11y] Do not expose the slider thumb to ATs with ATSPI
+ https://bugs.webkit.org/show_bug.cgi?id=235487
+
+ Reviewed by Adrian Perez de Castro.
+
+ We expose the slider as a whole but not its value indicator.
+
+ * accessibility/atspi/AccessibilityObjectAtspi.cpp:
+ (WebCore::AccessibilityObject::accessibilityPlatformIncludesObject const):
+
+2022-01-24 Carlos Garcia Campos <[email protected]>
+
[GTK][a11y] Only consider links as replaced objects when iterating with EmitsObjectReplacementCharacters
https://bugs.webkit.org/show_bug.cgi?id=235474
Modified: trunk/Source/WebCore/accessibility/atspi/AccessibilityObjectAtspi.cpp (288447 => 288448)
--- trunk/Source/WebCore/accessibility/atspi/AccessibilityObjectAtspi.cpp 2022-01-24 16:21:27 UTC (rev 288447)
+++ trunk/Source/WebCore/accessibility/atspi/AccessibilityObjectAtspi.cpp 2022-01-24 16:22:25 UTC (rev 288448)
@@ -1428,6 +1428,10 @@
if (parent->isPasswordField() || parent->isTextControl())
return AccessibilityObjectInclusion::IgnoreObject;
+ // We expose the slider as a whole but not its value indicator.
+ if (roleValue() == AccessibilityRole::SliderThumb)
+ return AccessibilityObjectInclusion::IgnoreObject;
+
// List items inheriting presentational are ignored, but their content exposed.
// Since we expose text in the parent, we need to expose presentational list items
// with a different role (section).
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes