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

Unified Diff: content/renderer/accessibility/blink_ax_tree_source.cc

Issue 1941463002: Removes the restriction placed on the role of the accessibility object when calling the next/previo… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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: content/renderer/accessibility/blink_ax_tree_source.cc
diff --git a/content/renderer/accessibility/blink_ax_tree_source.cc b/content/renderer/accessibility/blink_ax_tree_source.cc
index 6a1daa4191bb4627f570c9539545a5aefee753ad..5ab2f9d5ccdf420b8e29a76d76a9952d6a7271ae 100644
--- a/content/renderer/accessibility/blink_ax_tree_source.cc
+++ b/content/renderer/accessibility/blink_ax_tree_source.cc
@@ -403,9 +403,6 @@ void BlinkAXTreeSource::SerializeNode(blink::WebAXObject src,
src.keyboardShortcut().utf8());
}
- if (dst->role == ui::AX_ROLE_STATIC_TEXT ||
- dst->role == ui::AX_ROLE_LINE_BREAK ||
- dst->role == ui::AX_ROLE_INLINE_TEXT_BOX) {
if (!src.nextOnLine().isDetached()) {
dmazzoni 2016/04/29 23:02:14 nit: remove indent
dst->AddIntAttribute(ui::AX_ATTR_NEXT_ON_LINE_ID,
src.nextOnLine().axID());
@@ -415,7 +412,6 @@ void BlinkAXTreeSource::SerializeNode(blink::WebAXObject src,
dst->AddIntAttribute(ui::AX_ATTR_PREVIOUS_ON_LINE_ID,
src.previousOnLine().axID());
}
- }
if (!src.ariaActiveDescendant().isDetached()) {
dst->AddIntAttribute(ui::AX_ATTR_ACTIVEDESCENDANT_ID,

Powered by Google App Engine
This is Rietveld 408576698