Skip to main content

argui_accessibility/
lib.rs

1//! Renderer-independent accessibility semantics and incremental tree updates.
2
3mod schema;
4mod tree;
5
6#[cfg(not(target_arch = "wasm32"))]
7mod native;
8
9#[cfg(not(target_arch = "wasm32"))]
10pub use native::AccessKitTree;
11pub use schema::{
12    CheckedState, FocusPolicy, LiveRegion, Orientation, Role, SemanticAction, SemanticRequest,
13    SemanticState, SemanticValue, Semantics,
14};
15pub use tree::{SemanticNode, SemanticNodeId, SemanticPatch, SemanticTree};
16
17#[cfg(target_arch = "wasm32")]
18mod web;
19#[cfg(target_arch = "wasm32")]
20pub use web::DomTree;
21
22mod relations;
23pub use relations::{GridPosition, PopupKind, SemanticRelations, SortDirection};