Trait vizia_core::modifiers::AccessibilityModifiers
source · pub trait AccessibilityModifiers: Modifiable {
// Provided methods
fn role(self, role: Role) -> Self { ... }
fn name<U: ToStringLocalized>(self, name: impl Res<U>) -> Self { ... }
fn default_action_verb(self, action_verb: DefaultActionVerb) -> Self { ... }
fn live(self, live: Live) -> Self { ... }
fn hidden<U: Into<bool>>(self, hidden: impl Res<U>) -> Self { ... }
fn numeric_value<U: Into<f64>>(self, value: impl Res<U>) -> Self { ... }
fn text_value<U: ToStringLocalized>(self, value: impl Res<U>) -> Self { ... }
}
Expand description
Modifiers for changing the accessibility properties of a view.
Provided Methods§
sourcefn name<U: ToStringLocalized>(self, name: impl Res<U>) -> Self
fn name<U: ToStringLocalized>(self, name: impl Res<U>) -> Self
Sets the accessibility name of the view.
sourcefn default_action_verb(self, action_verb: DefaultActionVerb) -> Self
fn default_action_verb(self, action_verb: DefaultActionVerb) -> Self
Sets the accessibility default action for the view.
sourcefn live(self, live: Live) -> Self
fn live(self, live: Live) -> Self
Sets whether the view should act as an accessibility live region.
Sets whether the view should be hidden from accessibility.
sourcefn numeric_value<U: Into<f64>>(self, value: impl Res<U>) -> Self
fn numeric_value<U: Into<f64>>(self, value: impl Res<U>) -> Self
Sets the accessibility numeric value for the view.
sourcefn text_value<U: ToStringLocalized>(self, value: impl Res<U>) -> Self
fn text_value<U: ToStringLocalized>(self, value: impl Res<U>) -> Self
Sets the accessibility text value for the view.
Object Safety§
This trait is not object safe.