Add no-dup-name rule for inputs (copy of no-dup-id)
Could rule no-dup-id
be copied as no-dup-name
and report duplicate name attributes in a form?
While this is valid, in 99.9% of cases, this is an oversight/bug and unintentional.
e.g.
<form action="" method="post">
First name: <input type="text" name="user">
Last name: <input type="text" name="user">
<input type="submit" value="Submit">
</form>
Ideally the uniqueness would reset at </form>
though, so multiple forms on the same page can have inputs with the same name without error.