Skip to content

Commit e7e7d6b

Browse files
committed
Add note about autocomplete="new-password"
https://twitter.com/mmatuzo/status/1189041007117176832
1 parent 89c27d5 commit e7e7d6b

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

docs/index.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -872,6 +872,12 @@ <h3 id="subtitle-text-input">Text Input</h3>
872872
dir="auto">
873873
</textarea>
874874
</label>
875+
876+
<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 make supporting browsers suggest secure passwords.</small>
879+
</p>
880+
875881
</fieldset>
876882
<!-- End of #subsection-text-input -->
877883

partials/section.forms.hbs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,12 @@
159159
dir="auto">
160160
</textarea>
161161
</label>
162+
163+
<h4 id="notes-text-input">Notes:</h4>
164+
<p>
165+
<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 make supporting browsers suggest secure passwords.</small>
166+
</p>
167+
162168
</fieldset>
163169
<!-- End of #subsection-text-input -->
164170

0 commit comments

Comments
 (0)