No duplicate attributes (duplicate-attributes)

Axe-core deprecated + obsolete

Elements like <input> do not have the same attribute (e.g., <type="text">) more than once.


Same attribute twice:

This <input> tag has the type attribute twice:


(HTML auto-corrects this issue)



Original source code of above element is:

<input id="duplicate-type-input" type="text" type="text" />

You can view full original source code by pressing Ctrl + U

Note: HTML automatically corrects this issue. Possible to automatically test. Automated testing can verify this by counting the occurrences of each attribute in an element.