Title: [272639] trunk/LayoutTests
- Revision
- 272639
- Author
- lmo...@igalia.com
- Date
- 2021-02-10 00:53:20 -0800 (Wed, 10 Feb 2021)
Log Message
[ATK] Support focusable-inside-hidden test
https://bugs.webkit.org/show_bug.cgi?id=221646
Reviewed by Chris Fleizach.
ATK uses a different field for the description. (See r201216 and
r201072).
* accessibility/focusable-inside-hidden.html: Add check for ATK.
* platform/glib/accessibility/focusable-inside-hidden-expected.txt: Added.
Modified Paths
Added Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (272638 => 272639)
--- trunk/LayoutTests/ChangeLog 2021-02-10 05:46:03 UTC (rev 272638)
+++ trunk/LayoutTests/ChangeLog 2021-02-10 08:53:20 UTC (rev 272639)
@@ -1,3 +1,16 @@
+2021-02-10 Lauro Moura <lmo...@igalia.com>
+
+ [ATK] Support focusable-inside-hidden test
+ https://bugs.webkit.org/show_bug.cgi?id=221646
+
+ Reviewed by Chris Fleizach.
+
+ ATK uses a different field for the description. (See r201216 and
+ r201072).
+
+ * accessibility/focusable-inside-hidden.html: Add check for ATK.
+ * platform/glib/accessibility/focusable-inside-hidden-expected.txt: Added.
+
2021-02-09 Lauro Moura <lmo...@igalia.com>
[GLIB] Rebaseline table tests after r272100 and garden some a11 failures.
Modified: trunk/LayoutTests/accessibility/focusable-inside-hidden.html (272638 => 272639)
--- trunk/LayoutTests/accessibility/focusable-inside-hidden.html 2021-02-10 05:46:03 UTC (rev 272638)
+++ trunk/LayoutTests/accessibility/focusable-inside-hidden.html 2021-02-10 08:53:20 UTC (rev 272639)
@@ -30,11 +30,20 @@
setTimeout(function() {
button = accessibilityController.focusedElement;
- shouldBe("button.description", "'AXDescription: BUTTON'");
+ if (accessibilityController.platformName == "atk") {
+ shouldBe("button.title", "'AXTitle: BUTTON'");
+ } else {
+ shouldBe("button.description", "'AXDescription: BUTTON'");
+ }
button = accessibilityController.accessibleElementById("button");
- shouldBe("button.description", "'AXDescription: BUTTON'");
+ if (accessibilityController.platformName == "atk") {
+ shouldBe("button.title", "'AXTitle: BUTTON'");
+ } else {
+ shouldBe("button.description", "'AXDescription: BUTTON'");
+ }
+
// Lose focus and this element should be hidden again.
document.getElementById("otherbutton").focus();
setTimeout(function() {
Added: trunk/LayoutTests/platform/glib/accessibility/focusable-inside-hidden-expected.txt (0 => 272639)
--- trunk/LayoutTests/platform/glib/accessibility/focusable-inside-hidden-expected.txt (rev 0)
+++ trunk/LayoutTests/platform/glib/accessibility/focusable-inside-hidden-expected.txt 2021-02-10 08:53:20 UTC (rev 272639)
@@ -0,0 +1,15 @@
+This tests that a focusable object inside an aria-hidden is in the hieararchy only after it gains focus.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS !button || !button.isValid is true
+PASS button.title is 'AXTitle: BUTTON'
+PASS button.title is 'AXTitle: BUTTON'
+PASS !button || !button.isValid is true
+PASS successfullyParsed is true
+
+TEST COMPLETE
+a
+test
+
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes