pub enum Guideline {
TextAlternatives,
Adaptable,
Distinguishable,
EnoughTime,
Seizures,
Navigable,
Readable,
Predictable,
Compatible,
}Expand description
wcag principle to follow
Variants§
TextAlternatives
Provide text alternatives for any non-text content so that it can be changed into other forms people need.
Adaptable
Create content that can be presented in different ways (for example simpler layout) without losing information or structure.
Distinguishable
Make it easier for users to see and hear content including separating foreground from background.
EnoughTime
Provide users enough time to read and use content.
Seizures
Do not design content in a way that is known to cause seizures.
Provide ways to help users navigate, find content, and determine where they are.
Readable
Make text content readable and understandable.
Predictable
Make Web pages appear and operate in predictable ways.
Compatible
Maximize compatibility with current and future user agents, including assistive technologies.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Guideline
impl RefUnwindSafe for Guideline
impl Send for Guideline
impl Sync for Guideline
impl Unpin for Guideline
impl UnwindSafe for Guideline
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more