From cc2603ff08fd9b3a55ebed6de0e1d2aa677c1e62 Mon Sep 17 00:00:00 2001
From: Masahiro FUJIMOTO
Date: Thu, 22 May 2025 00:53:59 +0900
Subject: [PATCH 1/3] =?UTF-8?q?2025/04/10=20=E6=99=82=E7=82=B9=E3=81=AE?=
=?UTF-8?q?=E8=8B=B1=E8=AA=9E=E7=89=88=E3=81=AB=E5=90=8C=E6=9C=9F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../html/reference/attributes/accept/index.md | 28 +++----
.../attributes/autocomplete/index.md | 25 +++----
.../reference/attributes/capture/index.md | 20 ++---
.../reference/attributes/dirname/index.md | 11 ++-
.../reference/attributes/disabled/index.md | 42 +++++------
.../attributes/elementtiming/index.md | 11 ++-
.../html/reference/attributes/for/index.md | 14 ++--
.../reference/attributes/maxlength/index.md | 5 +-
.../reference/attributes/minlength/index.md | 13 ++--
.../reference/attributes/multiple/index.md | 31 ++++----
.../reference/attributes/placeholder/index.md | 6 +-
.../reference/attributes/readonly/index.md | 73 ++++++++++++-------
.../html/reference/attributes/size/index.md | 46 ++++++------
.../html/reference/attributes/step/index.md | 3 +-
14 files changed, 174 insertions(+), 154 deletions(-)
diff --git a/files/ja/web/html/reference/attributes/accept/index.md b/files/ja/web/html/reference/attributes/accept/index.md
index 8f9be6332edd25..b96c2e9585635f 100644
--- a/files/ja/web/html/reference/attributes/accept/index.md
+++ b/files/ja/web/html/reference/attributes/accept/index.md
@@ -1,23 +1,23 @@
---
title: "HTML 属性: accept"
+short-title: accept
slug: Web/HTML/Reference/Attributes/accept
-original_slug: Web/HTML/Attributes/accept
l10n:
- sourceCommit: 942a529383ee7ee3996fb234187641c08935f3ff
+ sourceCommit: e9b6cd1b7fa8612257b72b2a85a96dd7d45c0200
---
{{HTMLSidebar}}
**`accept`** 属性は、値としてカンマ区切りでファイル種別または[固有ファイル種別指定子](#unique_file_type_specifiers)を取り、どのファイル種別を受け入れるかを記述します。
-{{InteractiveExample("HTML Demo: accept", "tabbed-shorter")}}
+{{InteractiveExample("HTML デモ: accept", "tabbed-shorter")}}
```html interactive-example
-
+
-
+
```
@@ -56,7 +56,7 @@ accept プロパティは {{HTMLElement("input/file", "file")}} 型の {{htmlele
```
-`accept` 属性は、選択されたファイルの種別を検証するものではありません。これはブラウザーがユーザーに対して正しいファイル種別を選択できるようにするためのガイドをするためのヒントを提供するだけです。ユーザーがファイルセレクターのオプションを切り替え、これを上書きして任意のファイルを選択し、不正なファイル種別を選択することは (ほとんどの場合) 可能です。
+`accept` 属性は、選択されたファイルの種別を検証するものではありません。これはブラウザーがユーザーに対して正しいファイル種別を選択できるようにするためのガイドをするためのヒントを提供するだけです。ユーザーがファイルセレクターのオプションを切り替え、これを上書きして任意のファイルを選択し、不正なファイル種別を選択することは(ほとんどの場合)可能です。
このため、期待される要件をサーバー側で検証するようにしてください。
@@ -66,15 +66,15 @@ accept プロパティは {{HTMLElement("input/file", "file")}} 型の {{htmlele
```html
-
+
-
+
-
+
```
@@ -106,11 +106,11 @@ accept プロパティは {{HTMLElement("input/file", "file")}} 型の {{htmlele
```html
```
@@ -130,7 +130,7 @@ div {
ユーザーの端末やオペレーティングシステムが何であろうと、ファイル入力には、ユーザーがファイルを選択するためのファイルピッカーダイアログを開くボタンが用意されす。
-上記のように [`multiple`](multiple) 属性を含めることで、複数のファイルを一度に選択できるようになります。ユーザーは、選択したプラットフォームが許す任意の方法でファイルピッカーから複数のファイルを選択することができます (例えば、Shift キーまたは Control キーを押しながらクリックするなど)。 `` ごとに 1 つのファイルのみを選択させたい場合は、 `multiple` 属性を省略してください。
+上記のように [`multiple`](/ja/docs/Web/HTML/Reference/Elements/input#multiple) 属性を含めることで、複数のファイルを一度に選択できるようになります。ユーザーは、選択したプラットフォームが許す任意の方法でファイルピッカーから複数のファイルを選択することができます(例えば、 Shift キーまたは Control キーを押しながらクリックするなど)。 `` ごとに 1 つのファイルのみを選択させたい場合は、 `multiple` 属性を省略してください。
### 受け付けるファイル種別の制限
@@ -148,7 +148,7 @@ div {
```html
```
diff --git a/files/ja/web/html/reference/attributes/autocomplete/index.md b/files/ja/web/html/reference/attributes/autocomplete/index.md
index 4bb1e0a68acdae..c1b76930659cf5 100644
--- a/files/ja/web/html/reference/attributes/autocomplete/index.md
+++ b/files/ja/web/html/reference/attributes/autocomplete/index.md
@@ -2,27 +2,26 @@
title: "HTML 属性: autocomplete"
short-title: autocomplete
slug: Web/HTML/Reference/Attributes/autocomplete
-original_slug: Web/HTML/Attributes/autocomplete
l10n:
- sourceCommit: 0a406fde67d297e7d2771e4ba239f545eee46d07
+ sourceCommit: e9b6cd1b7fa8612257b72b2a85a96dd7d45c0200
---
{{HTMLSidebar}}
-HTML の `autocomplete` 属性は、ウェブ開発者は入力欄にどの種類の情報が期待されているかをブラウザーに示唆することができるのに加え、{{Glossary("user agent", "ユーザーエージェント")}}がフォーム入力欄の値を埋めるための自動支援を提供する必要があることを指定することができます。
+HTML の `autocomplete` 属性により、ウェブ開発者は入力欄にどの種類の情報が期待されているかをブラウザーに示唆することができるのに加え、{{Glossary("user agent", "ユーザーエージェント")}}がフォーム入力欄の値を埋めるための自動支援を提供する必要があることを指定することができます。
入力値としてテキストまたは数値を取る {{HTMLElement("input")}} 要素、 {{HTMLElement("textarea")}} 要素、 {{HTMLElement("select")}} 要素、 {{HTMLElement("form")}} 要素で利用できます。
-{{InteractiveExample("HTML Demo: autocomplete", "tabbed-shorter")}}
+{{InteractiveExample("HTML デモ: autocomplete", "tabbed-shorter")}}
```html interactive-example
-
-
-
-
+
-
+
+
+
+
```
@@ -44,7 +43,7 @@ label {
```
-{{HTMLElement("input")}}, {{HTMLElement("select")}}, {{HTMLElement("textarea")}} 要素に `autocomplete` 属性がない場合、ブラウザーは[その要素の**所有元フォーム**の `autocomplete` 属性](/ja/docs/Web/HTML/Reference/Elements/form#autocomplete)を使用します。所有元フォームとは、要素の [`form`](/ja/docs/Web/HTML/Reference/Elements/input#form) 属性で指定された `id` に一致する `
-
+
-
+
```
diff --git a/files/ja/web/html/reference/attributes/dirname/index.md b/files/ja/web/html/reference/attributes/dirname/index.md
index 9189823c142430..557449de6fc9d7 100644
--- a/files/ja/web/html/reference/attributes/dirname/index.md
+++ b/files/ja/web/html/reference/attributes/dirname/index.md
@@ -1,9 +1,9 @@
---
title: "HTML 属性: dirname"
+short-title: dirname
slug: Web/HTML/Reference/Attributes/dirname
-original_slug: Web/HTML/Attributes/dirname
l10n:
- sourceCommit: 62b2885cf645395c39081f8ffa8f6023d7d1bc0b
+ sourceCommit: e9b6cd1b7fa8612257b72b2a85a96dd7d45c0200
---
{{HTMLSidebar}}
@@ -14,11 +14,10 @@ l10n:
## 使用法のメモ
-`dirname` 属性はすべての {{htmlelement("textarea")}} 要素、および種類が {{htmlelement("input/text", "text")}}、{{htmlelement("input/search", "search")}}、{{htmlelement("input/tel", "tel")}}、{{htmlelement("input/url", "url")}}、{{htmlelement("input/email", "email")}} のいずれかであるすべての {{htmlelement("input")}} 要素で用いることができます。
+`dirname` 属性はすべての {{htmlelement("textarea")}} 要素、およびすべての {{htmlelement("input")}} 要素のうち、種類が {{htmlelement("input/hidden", "hidden")}}, {{htmlelement("input/text", "text")}}, {{htmlelement("input/search", "search")}}, {{htmlelement("input/tel", "tel")}}, {{htmlelement("input/url", "url")}}, {{htmlelement("input/email", "email")}}, {{htmlelement("input/password", "password")}}, {{htmlelement("input/submit", "submit")}}, {{htmlelement("input/reset", "reset")}}, {{htmlelement("input/button", "button")}} のいずれかの型であるもので用いることができます。
送信されるデータの形式は `{dirname_value}={direction}` です。`{dirname_value}` は `dirname` 属性の値に、`{direction}` はテキストの方向になります。
-たとえば、ユーザーが属性 `name="comment"` および `dirname="comment-direction"` を持つ要素に「Hello」を入力した場合、`GET` リクエストでフォームを送信する際の URL エンコードされたデータは `comment=Hello&comment-direction=ltr` となるでしょう。
-
+たとえば、ユーザーが属性 `name="comment"` および `dirname="comment-direction"` を持つ要素に "Hello" を入力した場合、`GET` リクエストでフォームを送信する際の URL エンコードされたデータは `comment=Hello&comment-direction=ltr` となるでしょう。
方向は、以下のいずれかです。
- `rtl`
@@ -26,7 +25,7 @@ l10n:
- `ltr`
- : ユーザーが入力したテキストを書く方向は左から右です。
-テキストの方向が指定されていない場合は、ユーザーエージェントはフォームが入っている親要素のテキストの方向を用います。それも指定されていない場合は、ユーザーエージェントのデフォルトのテキストの方向を用います。
+テキストの方向が指定されていない場合は、ユーザーエージェントはフォームが入っている親要素のテキストの方向を用います。それも指定されていない場合は、ユーザーエージェントの既定のテキストの方向を用います。
## 例
diff --git a/files/ja/web/html/reference/attributes/disabled/index.md b/files/ja/web/html/reference/attributes/disabled/index.md
index 3ff05eb6e96b58..685b53405155bf 100644
--- a/files/ja/web/html/reference/attributes/disabled/index.md
+++ b/files/ja/web/html/reference/attributes/disabled/index.md
@@ -1,32 +1,32 @@
---
title: "HTML 属性: disabled"
+short-title: disabled
slug: Web/HTML/Reference/Attributes/disabled
-original_slug: Web/HTML/Attributes/disabled
l10n:
- sourceCommit: db32c2f103885a65715e2cce48bda44be03f44f7
+ sourceCommit: e9b6cd1b7fa8612257b72b2a85a96dd7d45c0200
---
{{HTMLSidebar}}
**`disabled`** は論理属性で、存在する場合、その要素は変更不可、フォーカス不可、フォームへの送信不可となります。ユーザーはそのコントロールやフォームコントロールの子孫を編集したり、フォーカスしたりすることができません。
-{{InteractiveExample("HTML Demo: disabled", "tabbed-standard")}}
+{{InteractiveExample("HTML デモ: disabled", "tabbed-standard")}}
```html interactive-example
```
@@ -72,7 +72,7 @@ Firefox は他のブラウザーとは異なり、ページを再読み込みし
ブラウザーは無効なフォームコントロールを灰色で表示します。無効なフォームコントロールは不変であり、フォーカスやマウスクリックなどの閲覧イベントを受け取らず、フォームと一緒に送信されないためです。
-対応している要素に `{{cssxref(':disabled')}}` 擬似クラスが存在する場合、それに一致するようになります。この属性が含まれていない場合は `{{cssxref(':enabled')}}` 擬似クラスが一致します。要素が disabled 属性に対応していない場合は、この属性は何の効果も持たず、 `:disabled` および `:enabled` 擬似クラスにも一致しません。
+対応している要素に {{cssxref(':disabled')}} 擬似クラスが存在する場合、それに一致するようになります。この属性が含まれていない場合は `{{cssxref(':enabled')}}` 擬似クラスが一致します。要素が disabled 属性に対応していない場合は、この属性は何の効果も持たず、 `:disabled` および `:enabled` 擬似クラスにも一致しません。
### 制約検証
@@ -80,7 +80,7 @@ Firefox は他のブラウザーとは異なり、ページを再読み込みし
## 例
-フォームコントロールが無効になったとき、多くのブラウザーは既定で、より薄いグレーアウトした色で表示します。ここでは、無効になったチェックボックス、ラジオボタン、 {{ HTMLElement("option") }} と {{ HTMLElement("optgroup") }} の例と、祖先の {{HTMLElement("fieldset")}} 要素に設定された disabled 属性によって無効にされているいくつかのフォーム制御の例を示します。 {{ HTMLElement("option") }} は無効になっていますが、 {{ HTMLElement("select") }} 自体は無効になっていません。 {{ HTMLElement("select") }} 自体を無効にするには、子孫ではなく、その要素にこの属性を追加します。
+フォームコントロールが無効になったとき、多くのブラウザーは既定で、より薄いグレーアウトした色で表示します。ここでは、無効になったチェックボックス、ラジオボタン、 {{ HTMLElement("option") }} と {{ HTMLElement("optgroup") }} の例と、祖先の `{{ HTMLElement("fieldset")}}` 要素に設定された disabled 属性によって無効にされているいくつかのフォーム制御の例を示します。 {{ HTMLElement("option") }} は無効になっていますが、 {{ HTMLElement("select") }} 自体は無効になっていません。 {{ HTMLElement("select") }} 自体を無効にするには、子孫ではなく、その要素にこの属性を追加します。
```html-nolint
@@ -104,7 +104,7 @@ Firefox は他のブラウザーとは異なり、ページを再読み込みし
@@ -113,18 +113,18 @@ Firefox は他のブラウザーとは異なり、ページを再読み込みし
diff --git a/files/ja/web/html/reference/attributes/elementtiming/index.md b/files/ja/web/html/reference/attributes/elementtiming/index.md
index 9b4e84b8465015..0d6ce315f6de92 100644
--- a/files/ja/web/html/reference/attributes/elementtiming/index.md
+++ b/files/ja/web/html/reference/attributes/elementtiming/index.md
@@ -1,9 +1,9 @@
---
title: "HTML 属性: elementtiming"
+short-title: elementtiming
slug: Web/HTML/Reference/Attributes/elementtiming
-original_slug: Web/HTML/Attributes/elementtiming
l10n:
- sourceCommit: ba96f2f183353872db6d9242c7d2dffe2dbc0c35
+ sourceCommit: e9b6cd1b7fa8612257b72b2a85a96dd7d45c0200
---
{{HTMLSidebar}}
@@ -32,9 +32,12 @@ DOM では、この属性は {{domxref("Element.elementTiming")}} として反
## 例
```html
-
+
-Some very important information.
+とても重要な情報。
```
## 関連情報
diff --git a/files/ja/web/html/reference/attributes/for/index.md b/files/ja/web/html/reference/attributes/for/index.md
index 3aac336cc66634..5d8c2443c26cd6 100644
--- a/files/ja/web/html/reference/attributes/for/index.md
+++ b/files/ja/web/html/reference/attributes/for/index.md
@@ -1,35 +1,35 @@
---
title: "HTML 属性: for"
+short-title: for
slug: Web/HTML/Reference/Attributes/for
-original_slug: Web/HTML/Attributes/for
l10n:
- sourceCommit: a9ee909247680532544008dbc65a9f033fce4b39
+ sourceCommit: e9b6cd1b7fa8612257b72b2a85a96dd7d45c0200
---
{{HTMLSidebar}}
**`for`** 属性は {{htmlelement("label")}} と {{htmlelement("output")}} で利用できる属性です。 `
+5 文字以上の果物の名前を入力してください
```
-擬似クラスを使用すると、要素を値が有効かどうかによってスタイル付けすることができます。この値は null (空欄)または 5 文字以上であれば有効になります。*ライム色*は無効であり、_レモン色は有効です_。
+擬似クラスを使用すると、要素を値が有効かどうかによってスタイル付けすることができます。この値は null (空欄)または 5 文字以上であれば有効になります。「ライム」は無効であり、「さくらんぼ」は有効です。
```css
input {
diff --git a/files/ja/web/html/reference/attributes/multiple/index.md b/files/ja/web/html/reference/attributes/multiple/index.md
index a58a7774fc5ba7..3b5fe3c63daf1b 100644
--- a/files/ja/web/html/reference/attributes/multiple/index.md
+++ b/files/ja/web/html/reference/attributes/multiple/index.md
@@ -2,9 +2,8 @@
title: "HTML 属性: multiple"
short-title: multiple
slug: Web/HTML/Reference/Attributes/multiple
-original_slug: Web/HTML/Attributes/multiple
l10n:
- sourceCommit: 5b20f5f4265f988f80f513db0e4b35c7e0cd70dc
+ sourceCommit: e9b6cd1b7fa8612257b72b2a85a96dd7d45c0200
---
{{HTMLSidebar}}
@@ -14,20 +13,20 @@ l10n:
{{InteractiveExample("HTML Demo: multiple", "tabbed-standard")}}
```html interactive-example
-Where should we send the receipt?
+領収書の送り先は?
-Which shakes would you like to order?
+どのシェイクをご注文されますか?
-How would you like to pay?
+支払方法は?
```
@@ -83,7 +82,7 @@ input:invalid {
`multiple` を指定すると、ほとんどのブラウザーでは 1 行のドロップダウンではなく、スクロールするリストボックスが表示されます。
-## アクセシビリティ
+## アクセシビリティの考慮
ユーザーがフォームに記入する方法を理解し、個々のフォームコントロールを使用するための指示を提供してください。入力が必須であるか任意であるか、データの書式、その他の関連する情報です。 `multiple` 属性を使用する場合は、ユーザーに複数の値が許可されていることを知らせ、「複数のメールアドレスをカンマ区切りで入力してください」などのように、複数の値を入力する方法を指示してください。
@@ -131,7 +130,7 @@ input:invalid {
`multiple` が {{HTMLElement("input/file", "file")}} 入力型に設定されている場合、1 つ以上のファイルを選択することができます。
-```html
+```html-nolint