use accesskit::{Action, ActionRequest, Node, NodeId as A11yNodeId, Rect, Role, Tree, TreeUpdate};
/// - an update node must be the root, already delivered, or listed as a child by another update
/// - re-hangs every exposed non-root node that no parent claimed off the root, so every node is
#[allow(clippy::cast_possible_truncation)] // bounded graphics/coord/font/fixed-point/debug-marker cast
#[allow(clippy::too_many_lines, clippy::cognitive_complexity)] // large but cohesive: single-purpose layout/render/parse routine (one branch per case)
/// - Lower 32 bits: `NodeId + 1` (index within that DOM tree, offset by 1 to avoid colliding with
#[allow(clippy::cast_possible_truncation)] // bounded graphics/coord/font/fixed-point/debug-marker cast