aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/html/global_attributes/autocapitalize
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2020-12-08 14:40:17 -0500
committerPeter Bengtsson <mail@peterbe.com>2020-12-08 14:40:17 -0500
commit33058f2b292b3a581333bdfb21b8f671898c5060 (patch)
tree51c3e392513ec574331b2d3f85c394445ea803c6 /files/ja/web/html/global_attributes/autocapitalize
parent8b66d724f7caf0157093fb09cfec8fbd0c6ad50a (diff)
downloadtranslated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.gz
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.bz2
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.zip
initial commit
Diffstat (limited to 'files/ja/web/html/global_attributes/autocapitalize')
-rw-r--r--files/ja/web/html/global_attributes/autocapitalize/index.html50
1 files changed, 50 insertions, 0 deletions
diff --git a/files/ja/web/html/global_attributes/autocapitalize/index.html b/files/ja/web/html/global_attributes/autocapitalize/index.html
new file mode 100644
index 0000000000..8085ba917c
--- /dev/null
+++ b/files/ja/web/html/global_attributes/autocapitalize/index.html
@@ -0,0 +1,50 @@
+---
+title: autocapitalize
+slug: Web/HTML/Global_attributes/autocapitalize
+tags:
+ - Autocapitalize
+ - HTML
+ - Reference
+ - ウェブ
+ - グローバル属性
+translation_of: Web/HTML/Global_attributes/autocapitalize
+---
+<p>{{HTMLSidebar("Global_attributes")}}</p>
+
+<p><span class="seoSummary"><strong><code>autocapitalize</code></strong> <a href="/ja/docs/Web/HTML/Global_attributes">グローバル属性</a>は列挙型の属性で、ユーザーによって入力/編集されたとき、入力文字列の先頭大文字化が自動的に行われるかどうか、どのように行われるかを制御します。</span>以下の値を指定することができます。</p>
+
+<ul>
+ <li><code>off</code> または <code>none</code>: 自動的な大文字化は適用されません (すべての文字は既定で小文字です)。</li>
+ <li><code>on</code> または <code>sentences</code>: 各文の最初の文字を既定で大文字にします。それ以外の文字は既定で小文字です。</li>
+ <li><code>words</code>: 各語の最初の文字を既定で大文字にします。それ以外の文字は既定で小文字です。</li>
+ <li><code>characters</code>: すべての文字は既定で大文字になります。</li>
+</ul>
+
+<p><code>autocapitalize</code> 属性は、物理キーボードからの入力時の挙動には影響しません。モバイル端末の仮想キーボードや音声入力など、他の入力方式の挙動に影響します。その様な方式では、文の最初の文字を自動的に大文字化することでユーザーを補助することがよくあります。 <code>autocapitalize</code> 属性は要素単位の挙動を上書きすることができます。</p>
+
+<p><code>autocapitalize</code> 属性では、 {{HTMLElement("input")}} 要素の {{htmlattrxref("type", "input")}} の値が <code>url</code>, <code>email</code>, <code>password</code> の場合は自動大文字化が有効になりません。</p>
+
+<h2 id="Specifications" name="Specifications">仕様書</h2>
+
+<table class="standard-table">
+ <thead>
+ <tr>
+ <th scope="col">仕様書</th>
+ <th scope="col">状態</th>
+ <th scope="col">備考</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>{{SpecName('HTML WHATWG', "interaction.html#autocapitalization", "autocapitalize")}}</td>
+ <td>{{Spec2('HTML WHATWG')}}</td>
+ <td> </td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザーの対応</h2>
+
+<div class="hidden">このページの互換性一覧表は構造化データから生成されています。データに協力していただけるのであれば、 <a class="external" href="https://github.com/mdn/browser-compat-data">https://github.com/mdn/browser-compat-data</a> をチェックアウトしてプルリクエストを送信してください。</div>
+
+<p>{{Compat("html.global_attributes.autocapitalize")}}</p>