Created
April 7, 2021 16:40
-
-
Save henshaw/20d291a7eb047197b0fdf3bae3fba5ae to your computer and use it in GitHub Desktop.
Accessible number input
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<input type="text" pattern="[0-9]*" inputmode="numeric"> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Referenced on this article: Most web developers are using inaccessible number inputs on forms and here is how to fix it