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

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

Issue 2957973003: Automatically fire AX events on Win based on tree changes (Closed)
Patch Set: Audit all events, manually test with JAWS and NVDA Created 3 years, 5 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 f0f3f6161d680e71d726c924f3e147d83db0b3e3..d8d2b26c7f9447c87374368c0f0cc79712fcb435 100644
--- a/content/renderer/accessibility/blink_ax_tree_source.cc
+++ b/content/renderer/accessibility/blink_ax_tree_source.cc
@@ -101,7 +101,8 @@ class AXContentNodeDataSparseAttributeAdapter
const WebAXObject& value) override {
switch (attribute) {
case WebAXObjectAttribute::kAriaActiveDescendant:
- dst_->AddIntAttribute(ui::AX_ATTR_ACTIVEDESCENDANT_ID, value.AxID());
+ // TODO(dmazzoni): WebAXObject::ActiveDescendant currently returns
+ // more information than the sparse interface does.
break;
case WebAXObjectAttribute::kAriaDetails:
dst_->AddIntAttribute(ui::AX_ATTR_DETAILS_ID, value.AxID());

Powered by Google App Engine
This is Rietveld 408576698