zng_wgt_access/
lib.rs

1#![doc(html_favicon_url = "https://raw.githubusercontent.com/zng-ui/zng/main/examples/image/res/zng-logo-icon.png")]
2#![doc(html_logo_url = "https://raw.githubusercontent.com/zng-ui/zng/main/examples/image/res/zng-logo.png")]
3//! Properties that define accessibility metadata.
4//!
5//! The properties in this crate should only be used by widget implementers, they only
6//! define metadata for accessibility, this metadata signals the availability of behaviors
7//! that are not implemented by these properties, for example an [`AccessRole::Button`] widget
8//! must also be focusable and handle click events, an [`AccessRole::TabList`] must contain widgets
9//! marked [`AccessRole::Tab`].
10//!
11//! [`AccessRole::Button`]: zng_app::widget::info::access::AccessRole::Button
12//! [`AccessRole::TabList`]: zng_app::widget::info::access::AccessRole::TabList
13//! [`AccessRole::Tab`]: zng_app::widget::info::access::AccessRole::Tab
14//!
15//! # Crate
16//!
17#![doc = include_str!(concat!("../", std::env!("CARGO_PKG_README")))]
18#![warn(unused_extern_crates)]
19#![warn(missing_docs)]
20
21mod events;
22mod meta;
23pub use events::*;
24pub use meta::*;