Trait freya_core::accessibility::NodeAccessibility

source ·
pub trait NodeAccessibility {
    // Required methods
    fn get_accessibility_id(&self) -> Option<AccessibilityId>;
    fn get_inner_texts(&self) -> Option<String>;
    fn get_accessibility_children(&self) -> Vec<AccessibilityId>;
}
Expand description

Shortcut functions to retrieve Acessibility info from a Dioxus Node

Required Methods§

source

fn get_accessibility_id(&self) -> Option<AccessibilityId>

source

fn get_inner_texts(&self) -> Option<String>

Return the first text node from this Node

source

fn get_accessibility_children(&self) -> Vec<AccessibilityId>

Collect all the AccessibilityIDs from a Node’s children

Implementors§