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 1ad905da7ebaaac4c2f15b974925de4d98b35ce8..c0a1ef58de51b636c0d52b190f8cb7e640d796e3 100644 |
--- a/content/renderer/accessibility/blink_ax_tree_source.cc |
+++ b/content/renderer/accessibility/blink_ax_tree_source.cc |
@@ -335,6 +335,12 @@ void BlinkAXTreeSource::SerializeNode(blink::WebAXObject src, |
src.hierarchicalLevel()); |
} |
+ if (src.setSize()) |
+ dst->AddIntAttribute(ui::AX_ATTR_SET_SIZE, src.setSize()); |
+ |
+ if (src.posInSet()) |
+ dst->AddIntAttribute(ui::AX_ATTR_POS_IN_SET, src.posInSet()); |
+ |
// Treat the active list box item as focused. |
if (dst->role == ui::AX_ROLE_LIST_BOX_OPTION && |
src.isSelectedOptionActive()) { |