pub type ElementNode = AriaNode;Aliased Type§
pub struct ElementNode {Show 13 fields
pub role: String,
pub name: String,
pub index: Option<usize>,
pub children: Vec<AriaChild>,
pub props: HashMap<String, String>,
pub box_info: BoxInfo,
pub checked: Option<AriaChecked>,
pub disabled: Option<bool>,
pub expanded: Option<bool>,
pub level: Option<u32>,
pub pressed: Option<AriaPressed>,
pub selected: Option<bool>,
pub active: Option<bool>,
}Fields§
§role: StringARIA role (e.g., “button”, “link”, “textbox”, “generic”, “iframe”, “fragment”)
name: StringAccessible name of the element
index: Option<usize>Index of the element in the interactive elements array
children: Vec<AriaChild>Child nodes (can be AriaNode or text strings)
props: HashMap<String, String>ARIA properties specific to this element (e.g., url, placeholder)
box_info: BoxInfoBox information (visibility, cursor)
checked: Option<AriaChecked>Whether element is checked (for checkboxes, radios, etc.)
disabled: Option<bool>Whether element is disabled
expanded: Option<bool>Whether element is expanded (for expandable elements)
level: Option<u32>Heading/list level
pressed: Option<AriaPressed>Whether button is pressed
selected: Option<bool>Whether element is selected
active: Option<bool>Whether element is currently active/focused