Skip to content

Commit

Permalink
Address comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
aphillips committed Feb 3, 2024
1 parent 013d2dc commit 52d6dd8
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -81064,13 +81064,15 @@ body { display:none }

<h4>Autocapitalization</h4>

<p>A few languages and writing systems distinguish between upper, lower, and titlecase letters.
Some methods of entering text, for example virtual keyboards on mobile devices, and also voice
input, often assist users by automatically capitalizing the first letter of sentences (when
<p>Some languages in some writing systems distinguish between upper, lower,
and <a href="https://unicode.org/glossary/#titlecase">titlecase</a> letters.
These distinctions are language-specific and their implementation varies in language-specific ways.
Some methods of entering text, for example virtual keyboards on mobile devices or voice
inputs, often assist users by automatically capitalizing the first letter of sentences (when
composing text in a language with this convention). A virtual keyboard that implements
autocapitalization might automatically switch to showing uppercase letters (but allow the user to
toggle it back to lowercase) when a letter that should be autocapitalized is about to be typed.
Other types of input, for example voice input, may perform autocapitalization in a way that does
Other types of input, for example voice input, might perform autocapitalization in a way that does
not give users an option to intervene first. The <code
data-x="attr-autocapitalize">autocapitalize</code> attribute allows authors to control such
behavior.</p>
Expand All @@ -81079,9 +81081,7 @@ body { display:none }
implemented, does not affect behavior when typing on a physical keyboard. (For this reason, as
well as the ability for users to override the autocapitalization behavior in some cases or edit
the text after initial input, the attribute must not be relied on for any sort of input
validation.) Virtual keyboards or other input systems normally interpret this attribute in a
script or language-specific manner. In some languages the hints are ignored or can receive
special treatment.</p>
validation.)</p>

<p>The <code data-x="attr-autocapitalize">autocapitalize</code> attribute can be used on an <span
data-x="editing host">editing host</span> to control autocapitalization behavior for the hosted
Expand Down

0 comments on commit 52d6dd8

Please sign in to comment.