Kilotest: Rules belonging to attribute invalid
issue
About the attribute invalid
issue
- Why it matters: Item behaves improperly
- Priority: highest
- Related WCAG standard: 1.3.1
Rules
ASLint rules
misused_input_attribute: Element has an attribute that is not valid for input elements
Axe rules
aria-prohibited-attr: Element has an attribute that is not valid for the role of the element
Accessibility Checker rules
aria_attribute_valid: ARIA attribute is invalid for the role of its element
Html Checker API rules
The itemprop attribute was specified, but the element is not a property of any item.: itemprop attribute is on an element that is not a property of an item
An aria-disabled attribute whose value is true should not be specified on an a element that has an href attribute.: a element has aria-disabled=true but has an href attribute
^Attribute .+ not allowed on element .+ at this point.*$: Attribute not allowed on this element
^Attribute .+ not allowed here.*$: Attribute not allowed here
^Attribute .+ is not serializable as XML 1[.]0.*$: Attribute is invalidly nonserializable
^Attribute .+ is only allowed when .+$: Attribute is invalid here
A document must not include more than one autofocus attribute.: Page includes more than one autofocus attribute
An input element with a type attribute whose value is hidden must not have any aria-* attributes.: hidden-type input element has an ARIA attribute
The name attribute is never allowed on the a element.: element is a but has a name attribute
Html Checker rules
The itemprop attribute was specified, but the element is not a property of any item.: itemprop attribute is on an element that is not a property of an item
An aria-disabled attribute whose value is true should not be specified on an a element that has an href attribute.: a element has aria-disabled=true but has an href attribute
^Attribute .+ not allowed on element .+ at this point.*$: Attribute not allowed on this element
^Attribute .+ not allowed here.*$: Attribute not allowed here
^Attribute .+ is not serializable as XML 1[.]0.*$: Attribute is invalidly nonserializable
^Attribute .+ is only allowed when .+$: Attribute is invalid here
A document must not include more than one autofocus attribute.: Page includes more than one autofocus attribute
An input element with a type attribute whose value is hidden must not have any aria-* attributes.: hidden-type input element has an ARIA attribute
The name attribute is never allowed on the a element.: element is a but has a name attribute