Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(959)

Unified Diff: third_party/WebKit/LayoutTests/accessibility/aria-option-role.html

Issue 2893683002: Selection follows focus/activedescendant in single selection containers (Closed)
Patch Set: Last test to fix we hope Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/accessibility/aria-option-role.html
diff --git a/third_party/WebKit/LayoutTests/accessibility/aria-option-role.html b/third_party/WebKit/LayoutTests/accessibility/aria-option-role.html
index 139f0744a4790fe8eb9b850df7f74a7c9bfa7153..b37d6f99d228b437c33538b509d3a1b105615cb6 100644
--- a/third_party/WebKit/LayoutTests/accessibility/aria-option-role.html
+++ b/third_party/WebKit/LayoutTests/accessibility/aria-option-role.html
@@ -6,7 +6,7 @@
<body id="body">
<div role="listbox">
-<div role="option">option 1</div>
+<div role="option" tabindex="-1">option 1</div>
<div role="option" aria-label="label 2">option 2</div>
</div>
@@ -33,6 +33,8 @@
shouldBe("firstChild.childrenCount", "0");
shouldBe("secondChild.childrenCount", "0");
+
+ shouldBe("firstChild.isFocusable", "true");
}
</script>

Powered by Google App Engine
This is Rietveld 408576698