struct Protocol::Accessibility::QueryAXTree

Overview

Query a DOM node's accessibility subtree for accessible name and role. This command computes the name and role for all nodes in the subtree, including those that are ignored for accessibility, and returns those that mactch the specified name and role. If no DOM node is specified, or the DOM node does not exist, the command returns an error. If neither accessibleName or role is specified, it returns all the accessibility nodes in the subtree.

Included Modules

Defined in:

protocol/accessibility.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def nodes : Array(AXNode) #

A list of Accessibility.AXNode matching the specified attributes, including nodes that are ignored for accessibility.


[View source]