pub enum IssueType {
MissingAltText,
HeadingStructure,
MissingLabels,
InvalidAria,
ColorContrast,
KeyboardNavigation,
LanguageDeclaration,
}Expand description
Types of accessibility issues that can be detected.
§Examples
use html_generator::accessibility::IssueType;
let kind = IssueType::MissingAltText;
assert_eq!(format!("{kind:?}"), "MissingAltText");Variants§
MissingAltText
Missing alternative text for images
HeadingStructure
Improper heading structure
MissingLabels
Missing form labels
InvalidAria
Invalid ARIA attributes
ColorContrast
Color contrast issues
Keyboard navigation issues
LanguageDeclaration
Missing or invalid language declarations
Trait Implementations§
impl Copy for IssueType
impl Eq for IssueType
impl StructuralPartialEq for IssueType
Auto Trait Implementations§
impl Freeze for IssueType
impl RefUnwindSafe for IssueType
impl Send for IssueType
impl Sync for IssueType
impl Unpin for IssueType
impl UnsafeUnpin for IssueType
impl UnwindSafe for IssueType
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.