Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Really interesting article, and as with everyone else I also really admire their commitment to accessible design.

One interesting this I noticed in this piece was the text (not quoted for reasons that will soon become clear):

Using <input type=”text” inputmode=”numeric” pattern="[0-9]*"> allows for a degree of separation between how the user enters data (“input mode”), what the browser expects the user input to contain (type equals number), and potentially how it tries to validate it.

Which has incorrectly used closing quotes and correctly used straight quotes in the same code section, and then proper opening and closing quotes in the text section. I wonder how that happened.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: