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
Copy file name to clipboardExpand all lines: partials/section.forms.hbs
+11-5Lines changed: 11 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -73,8 +73,9 @@
73
73
Number
74
74
<input
75
75
id="input-number"
76
-
name="number"
77
-
type="number" />
76
+
type="text"
77
+
inputmode="numeric"
78
+
pattern="[0-9]*" />
78
79
</label>
79
80
80
81
<label>
@@ -161,9 +162,14 @@
161
162
</label>
162
163
163
164
<h4id="notes-text-input">Notes:</h4>
164
-
<p>
165
-
<small>Add <codetranslate="no">autocomplete="new-password"</code> to <code><input></code> elements with a type of <codetranslate="no">password</code> to <arel="external noopener"href="https://twitter.com/mmatuzo/status/1189041007117176832">make supporting browsers suggest secure passwords</a>.</small>
166
-
</p>
165
+
<ul>
166
+
<li>
167
+
<small>Add <codetranslate="no">autocomplete="new-password"</code> to <code><input></code> elements with a type of <codetranslate="no">password</code> to <arel="external noopener"href="https://twitter.com/mmatuzo/status/1189041007117176832">make supporting browsers suggest secure passwords</a>.</small>
168
+
</li>
169
+
<li>
170
+
<small><code><input type="number"></code> has <arel="external noopener"href="https://technology.blog.gov.uk/2020/02/24/why-the-gov-uk-design-system-team-changed-the-input-type-for-numbers/">numerous issues with Dragon Naturally Speaking and NVDA</a>.</small>
0 commit comments