Skip to content

Commit e10a252

Browse files
committed
Rebuild docs
1 parent 7ada803 commit e10a252

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

docs/index.html

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -786,8 +786,9 @@ <h3 id="subtitle-text-input">Text Input</h3>
786786
Number
787787
<input
788788
id="input-number"
789-
name="number"
790-
type="number" />
789+
type="text"
790+
inputmode="numeric"
791+
pattern="[0-9]*" />
791792
</label>
792793

793794
<label>
@@ -874,9 +875,14 @@ <h3 id="subtitle-text-input">Text Input</h3>
874875
</label>
875876

876877
<h4 id="notes-text-input">Notes:</h4>
877-
<p>
878-
<small>Add <code translate="no">autocomplete="new-password"</code> to <code>&lt;input&gt;</code> elements with a type of <code translate="no">password</code> to <a rel="external noopener" href="https://twitter.com/mmatuzo/status/1189041007117176832">make supporting browsers suggest secure passwords</a>.</small>
879-
</p>
878+
<ul>
879+
<li>
880+
<small>Add <code translate="no">autocomplete="new-password"</code> to <code>&lt;input&gt;</code> elements with a type of <code translate="no">password</code> to <a rel="external noopener" href="https://twitter.com/mmatuzo/status/1189041007117176832">make supporting browsers suggest secure passwords</a>.</small>
881+
</li>
882+
<li>
883+
<small><code>&lt;input type="number"&gt;</code> has <a rel="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>
884+
</li>
885+
</ul>
880886
</fieldset>
881887
<!-- End of #subsection-text-input -->
882888

0 commit comments

Comments
 (0)