A11yParse
Object Hierarchy:
Description:
public class A11yParse : Object
One AT-SPI / Win32Atspi tree walk that builds a11y Content / References markdown.
Create once per document with root /
route. walk
registers nodes via walk_node, then emit lays out Content by window y (same
row → same line, left-to-right by x).
Platform Accessible comes from using AndroidAtspi / Win32Atspi / Atspi.
Example
var parse = new OLLMwebkit.A11yParse(walk_root, walk_route);
parse.walk();
var md = parse.content;
Content:
Properties:
- public string content { get; }
## Content body (no page header).
- public HashMap<string,ArrayList<int>> html_names { get; }
HTML form name= (or id= when name is missing) → child-
index path from the application root to that field (ints are successive get_child_at_index steps; same path shape as
press_routes values).
- public HashMap<int,string> press_labels { get; }
Press-ref id → a11y label (for permission questions).
- public HashMap<int,ArrayList<int>> press_routes { get; }
Press-ref id → child-index route from the AT-SPI application root.
- public string refs { get; }
## References body.
- public Accessible root { get; construct; }
Document (or app) accessible to start from.
- public ArrayList<int> route { get; construct; }
Child-index path from the application root to
root.
Creation methods:
- public A11yParse (Accessible root, ArrayList<int> route)
Methods:
Inherited Members:
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref