Skip to content

Commit a72dc8d

Browse files
docs: deprecate aria-labelledby output (#191)
- see #190
1 parent 2c93b90 commit a72dc8d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/ja/vfm.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,7 @@ ruby rt {
571571
- 例: `### Heading 3` で開始したセクションは `###` で終了させられる
572572
- 親が `blockquote` の場合はセクションを分けません
573573
- 見出しの深さへ一致するように、セクションの `levelN` クラスを設定します
574-
- 見出しの `id` 属性値をセクションの `aria-labelledby` 属性へ値をコピーします
574+
- 見出しの `id` 属性値をセクションの `aria-labelledby` 属性へ値をコピーします**廃止予定**: https://github.com/vivliostyle/vfm/issues/190 参照)
575575

576576
**VFM**
577577

@@ -631,7 +631,7 @@ Level 2 was ended by `##`.
631631
body > section {
632632
}
633633

634-
section[aria-labelledby="intro"] {
634+
section:has(> #intro) {
635635
}
636636

637637
section:has(> h1.title) {

docs/vfm.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,7 @@ Make the heading a hierarchical section.
571571
- e.g., the section starting with `### Heading 3` can end with `###`.
572572
- Do not sectionize if parent is `blockquote`.
573573
- Set the `levelN` class in the section to match the heading depth.
574-
- Copy the value of the `id` attribute of the heading to the `aria-labelledby` attribute of the section.
574+
- Copy the value of the `id` attribute of the heading to the `aria-labelledby` attribute of the section. (**Deprecated**: See https://github.com/vivliostyle/vfm/issues/190)
575575

576576
**VFM**
577577

@@ -631,7 +631,7 @@ Level 2 was ended by `##`.
631631
body > section {
632632
}
633633

634-
section[aria-labelledby="intro"] {
634+
section:has(> #intro) {
635635
}
636636

637637
section:has(> h1.title) {

0 commit comments

Comments
 (0)