react-spectrum
02105e79 - Remove redundant role="spinbutton" from NumberInput (#478)

Commit
6 years ago
Remove redundant role="spinbutton" from NumberInput (#478) * Remove redundant role="spinbutton" from NumberInput The `NumberInput` component's `Textfield` had the attribute `role="spinbutton"`. This was redundant, since it also has the attribute `type="number"`, which natively sets `role="spinbutton"`. This came up as an accessibility failure in AAM's accessibility audit, conducted by Level Access. AAM bug: https://jira.corp.adobe.com/browse/AAM-48931 * Add NumberInput test: verify `type="number"` exists on Textfield
Author
Committer
Parents
Loading