pub enum FormA11yRule {
MissingLabel,
MissingRequiredIndicator,
MissingVisualRequired,
MissingErrorState,
MissingErrorMessage,
ErrorNotAssociated,
MissingAutocomplete,
PlaceholderAsLabel,
RelatedFieldsNotGrouped,
GroupMissingLegend,
FormMissingName,
}Expand description
Form accessibility violation rule.
Variants§
MissingLabel
Field missing label (1.3.1, 2.4.6)
MissingRequiredIndicator
Required field missing aria-required (3.3.2)
MissingVisualRequired
Required field missing visual indicator (3.3.2)
MissingErrorState
Error field missing aria-invalid (3.3.1)
MissingErrorMessage
Error field missing error message (3.3.1)
ErrorNotAssociated
Error message not associated (3.3.1)
MissingAutocomplete
Field should have autocomplete (1.3.5)
PlaceholderAsLabel
Placeholder used as sole label (3.3.2)
RelatedFieldsNotGrouped
Related fields not grouped (1.3.1)
GroupMissingLegend
Field group missing legend (1.3.1)
FormMissingName
Form missing accessible name (4.1.2)
Implementations§
Trait Implementations§
Source§impl Clone for FormA11yRule
impl Clone for FormA11yRule
Source§fn clone(&self) -> FormA11yRule
fn clone(&self) -> FormA11yRule
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FormA11yRule
impl Debug for FormA11yRule
Source§impl PartialEq for FormA11yRule
impl PartialEq for FormA11yRule
impl Copy for FormA11yRule
impl Eq for FormA11yRule
impl StructuralPartialEq for FormA11yRule
Auto Trait Implementations§
impl Freeze for FormA11yRule
impl RefUnwindSafe for FormA11yRule
impl Send for FormA11yRule
impl Sync for FormA11yRule
impl Unpin for FormA11yRule
impl UnwindSafe for FormA11yRule
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)