From 021956450a845ecfd8a910db404cf915793b6664 Mon Sep 17 00:00:00 2001 From: yamanoku <0910yama@gmail.com> Date: Sat, 29 May 2021 21:40:02 +0900 Subject: [PATCH] add: aria-current-value type 'true' and 'false' --- docs/api/README.md | 2 +- docs/ja/api/README.md | 2 +- docs/ru/api/README.md | 2 +- docs/zh/api/README.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/api/README.md b/docs/api/README.md index edb0b27e3..59432d493 100644 --- a/docs/api/README.md +++ b/docs/api/README.md @@ -188,7 +188,7 @@ If you add a `target="_blank"` to your `a` element, you must omit the `@click="n ### aria-current-value -- type: `'page' | 'step' | 'location' | 'date' | 'time'` +- type: `'page' | 'step' | 'location' | 'date' | 'time' | 'true' | 'false'` - default: `"page"` 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 --git a/docs/ja/api/README.md b/docs/ja/api/README.md index cbe66b6a3..d56b8c890 100644 --- a/docs/ja/api/README.md +++ b/docs/ja/api/README.md @@ -165,7 +165,7 @@ sidebar: auto ### aria-current-value -- 型: `'page' | 'step' | 'location' | 'date' | 'time'` +- 型: `'page' | 'step' | 'location' | 'date' | 'time' | 'true' | 'false'` - デフォルト: `"page"` 完全一致によってリンクがアクティブになっているときに `aria-current` の値を設定します。ARIA spec において[aria-current で許可されている値](https://www.w3.org/TR/wai-aria-1.2/#aria-current)の1つでなければなりません。ほとんどの場合、デフォルト`page` が最適です。 diff --git a/docs/ru/api/README.md b/docs/ru/api/README.md index 4a08cda7f..6a00d2531 100644 --- a/docs/ru/api/README.md +++ b/docs/ru/api/README.md @@ -188,7 +188,7 @@ sidebar: auto ### aria-current-value -- тип: `'page' | 'step' | 'location' | 'date' | 'time'` +- тип: `'page' | 'step' | 'location' | 'date' | 'time' | 'true' | 'false'` - по умолчанию: `"page"` Настройка значения `aria-current` когда ссылка активна по точному (exact) совпадению. Это должно быть одно из [разрешённых значений для aria-current](https://www.w3.org/TR/wai-aria-1.2/#aria-current) спецификации ARIA. В большинстве случаев наиболее подходящим значением будет `page`. diff --git a/docs/zh/api/README.md b/docs/zh/api/README.md index a3da5bde4..61540b45c 100644 --- a/docs/zh/api/README.md +++ b/docs/zh/api/README.md @@ -170,7 +170,7 @@ sidebar: auto ### aria-current-value -- 类型: `'page' | 'step' | 'location' | 'date' | 'time'` +- 类型: `'page' | 'step' | 'location' | 'date' | 'time' | 'true' | 'false'` - 默认值: `"page"` 当链接根据精确匹配规则激活时配置的 `aria-current` 的值。这个值应该是 ARIA 规范中[允许的 aria-current 的值](https://www.w3.org/TR/wai-aria-1.2/#aria-current)。在绝大多数场景下,默认值 `page` 应该是最合适的。