Trait freya_testing::prelude::NodeAccessibility
source · pub trait NodeAccessibility {
// Required methods
fn get_accessibility_id(&self) -> Option<NodeId>;
fn get_inner_texts(&self) -> Option<String>;
fn get_accessibility_children(&self) -> Vec<NodeId>;
}
Expand description
Shortcut functions to retrieve Acessibility info from a Dioxus Node
Required Methods§
fn get_accessibility_id(&self) -> Option<NodeId>
sourcefn get_inner_texts(&self) -> Option<String>
fn get_inner_texts(&self) -> Option<String>
Return the first text node from this Node
sourcefn get_accessibility_children(&self) -> Vec<NodeId>
fn get_accessibility_children(&self) -> Vec<NodeId>
Collect all the AccessibilityIDs from a Node’s children
Implementations on Foreign Types§
source§impl NodeAccessibility for NodeRef<'_, CustomAttributeValues>
impl NodeAccessibility for NodeRef<'_, CustomAttributeValues>
source§fn get_inner_texts(&self) -> Option<String>
fn get_inner_texts(&self) -> Option<String>
Return the first text node from this Node
source§fn get_accessibility_children(&self) -> Vec<NodeId>
fn get_accessibility_children(&self) -> Vec<NodeId>
Collect all descendant accessibility node ids