Skip to content

Commit 56f750b

Browse files
authored
docs: aria-current-value type "true" and "false" (#3558)
1 parent 394a3b6 commit 56f750b

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Diff for: docs/api/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ If you add a `target="_blank"` to your `a` element, you must omit the `@click="n
188188

189189
### aria-current-value
190190

191-
- type: `'page' | 'step' | 'location' | 'date' | 'time'`
191+
- type: `'page' | 'step' | 'location' | 'date' | 'time' | 'true' | 'false'`
192192
- default: `"page"`
193193

194194
Configure the value of `aria-current` when the link is active with exact match. It must be one of the [allowed values for aria-current](https://www.w3.org/TR/wai-aria-1.2/#aria-current) in the ARIA spec. In most cases, the default of `page` should be the best fit.

Diff for: docs/ja/api/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ sidebar: auto
165165

166166
### aria-current-value
167167

168-
- 型: `'page' | 'step' | 'location' | 'date' | 'time'`
168+
- 型: `'page' | 'step' | 'location' | 'date' | 'time' | 'true' | 'false'`
169169
- デフォルト: `"page"`
170170

171171
完全一致によってリンクがアクティブになっているときに `aria-current` の値を設定します。ARIA spec において[aria-current で許可されている値](https://www.w3.org/TR/wai-aria-1.2/#aria-current)の1つでなければなりません。ほとんどの場合、デフォルト`page` が最適です。

Diff for: docs/ru/api/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ sidebar: auto
188188

189189
### aria-current-value
190190

191-
- тип: `'page' | 'step' | 'location' | 'date' | 'time'`
191+
- тип: `'page' | 'step' | 'location' | 'date' | 'time' | 'true' | 'false'`
192192
- по умолчанию: `"page"`
193193

194194
Настройка значения `aria-current` когда ссылка активна по точному (exact) совпадению. Это должно быть одно из [разрешённых значений для aria-current](https://www.w3.org/TR/wai-aria-1.2/#aria-current) спецификации ARIA. В большинстве случаев наиболее подходящим значением будет `page`.

Diff for: docs/zh/api/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ sidebar: auto
170170

171171
### aria-current-value
172172

173-
- 类型: `'page' | 'step' | 'location' | 'date' | 'time'`
173+
- 类型: `'page' | 'step' | 'location' | 'date' | 'time' | 'true' | 'false'`
174174
- 默认值: `"page"`
175175

176176
当链接根据精确匹配规则激活时配置的 `aria-current` 的值。这个值应该是 ARIA 规范中[允许的 aria-current 的值](https://www.w3.org/TR/wai-aria-1.2/#aria-current)。在绝大多数场景下,默认值 `page` 应该是最合适的。

0 commit comments

Comments
 (0)