zachleat@zachleat.com’s Mastodon Archive

♻️ Reblog of Sara Soueidan (SaraSoueidan@front-end.social)

Was about to use <input type=“number”> for the first time in years but remembered it had some usability & #a11y issues that were previously shared by the awesome folks at @GOVUK@twitter.com

technology.blog.gov.uk/2020/02

Use <input type="text" inputmode="numeric" pattern="[0-9]*"> instead.