Hacker News new | ask | show | jobs
by JimDabell 1917 days ago
> Well, there's no semantic input for "year" or "currency", so there's nothing the form designer could do to stop 1Password from picking the wrong field.

This is how you mark up the expiry year in a credit card form:

    <input autocomplete="cc-exp-year">