Open
Description
Sandbox reproducing: https://codesandbox.io/s/jsx-a11y-no-redundant-role-p6ojt?file=/src/App.js
For a <input type="number"/>
in the HTML, the implicit role of it is spinbutton
. This happens both in Chrome 81 (image) and Firefox 76.
So it can be concluded that in <input type="number" role="textbox" />
the role
attribute is not redundant, since it modifies the implicit role of the HTML. However the rule no-redundant-roles
does not consider this.