#4612·axe-core

Input-button-name rule does not run on non-lowercase types

Author: strakerCreated Oct 16, 2024Updated Sep 29, 2026
Labelsfixfalse negative

The following code returns inapplicable when running input-button-name. This is because the rules selector is case sensitive so does not match when running against non-lowercase types.

xml
<input type="SUBMIT" />
<input type="ImAGE" />
<input type="ResET" />
<input type="buTTON" />