You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update the date input so that each of the inputs is of type="text" with inputmode="numeric", rather than using type="number".
For now, we're going to keep the pattern attribute as it ensures the right keyboard is displayed for iOS < 12.2+ – we can review this when we stop seeing much traffic from these older versions.
Why
For context, see the results of the investigation in #1449
Who needs to know about this
Developers
Done when
Inputs within the date input component use type="text"
Inputs within the date input component use inputmode="numeric"
Tests for the above
Tested in the browsers / assistive technologies that we support
Remove "Attribute pattern is only allowed when the input type is email, password, search, tel, text, or url" from our list of known errors / warnings as we are now be using input type="text" which won't trigger validation warnings.
The text was updated successfully, but these errors were encountered:
What
Update the date input so that each of the inputs is of
type="text"
withinputmode="numeric"
, rather than usingtype="number"
.For now, we're going to keep the
pattern
attribute as it ensures the right keyboard is displayed for iOS < 12.2+ – we can review this when we stop seeing much traffic from these older versions.Why
For context, see the results of the investigation in #1449
Who needs to know about this
Developers
Done when
type="text"
inputmode="numeric"
We should then:
input type="text"
which won't trigger validation warnings.The text was updated successfully, but these errors were encountered: