73 std::string_view label);
AccessRole
Screen-reader role.
Definition view.hpp:988
@ none
Definition view.hpp:989
Hover-cursor tracking for platform window hosts.
Definition fwd.hpp:27
std::vector< AccessibilityNodeSnapshot > snapshot_accessibility_tree(const View &root)
Depth-first snapshot of root and every descendant.
std::size_t count_announceable(const View &root)
Count nodes the platform bridges actually expose (snapshot node exposed — role != none AND named when...
const View * find_by_role_and_label(const View &root, View::AccessRole role, std::string_view label)
Find the first descendant whose access_label exactly matches label and whose role equals role.
Definition accessibility_tree.hpp:20
bool exposed
Definition accessibility_tree.hpp:31
double current_value
Definition accessibility_tree.hpp:39
std::string disabled
Definition accessibility_tree.hpp:49
std::string hidden
Definition accessibility_tree.hpp:50
std::string label
Definition accessibility_tree.hpp:23
int depth
Definition accessibility_tree.hpp:53
double min_value
Definition accessibility_tree.hpp:37
double max_value
Definition accessibility_tree.hpp:38
const View * view
Definition accessibility_tree.hpp:21
std::string value_string
Definition accessibility_tree.hpp:40
View::AccessRole role
Definition accessibility_tree.hpp:22
bool has_value
Definition accessibility_tree.hpp:36
std::string pressed
Definition accessibility_tree.hpp:47
std::string value
Definition accessibility_tree.hpp:24
std::string checked
Definition accessibility_tree.hpp:48