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

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

Issue 785943002: ARIA state/property aria-autocomplete should expose IA2_STATE_SUPPORTS_AUTOCOMPLETION. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updating expectations Created 6 years 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 c55d3266af568028f0623c65e1fee8cacf6e1324..b4751fac11b71cec183c1845c059170684eacdbf 100644
--- a/content/renderer/accessibility/blink_ax_tree_source.cc
+++ b/content/renderer/accessibility/blink_ax_tree_source.cc
@@ -267,6 +267,9 @@ void BlinkAXTreeSource::SerializeNode(blink::WebAXObject src,
}
if (src.actionVerb().length())
dst->AddStringAttribute(ui::AX_ATTR_ACTION, UTF16ToUTF8(src.actionVerb()));
+ if (src.ariaAutoComplete().length())
+ dst->AddStringAttribute(ui::AX_ATTR_AUTO_COMPLETE,
+ UTF16ToUTF8(src.ariaAutoComplete()));
if (src.isAriaReadOnly())
dst->AddBoolAttribute(ui::AX_ATTR_ARIA_READONLY, true);
if (src.isButtonStateMixed())
« no previous file with comments | « content/browser/accessibility/browser_accessibility_win.cc ('k') | content/test/data/accessibility/aria-autocomplete.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698