Skip to content

Commit

Permalink
docs: deprecate aria-labelledby output
Browse files Browse the repository at this point in the history
- see #190
  • Loading branch information
MurakamiShinyu committed Mar 11, 2024
1 parent 2c93b90 commit 0a8b61c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/ja/vfm.md
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ ruby rt {
- 例: `### Heading 3` で開始したセクションは `###` で終了させられる
- 親が `blockquote` の場合はセクションを分けません
- 見出しの深さへ一致するように、セクションの `levelN` クラスを設定します
- 見出しの `id` 属性値をセクションの `aria-labelledby` 属性へ値をコピーします
- 見出しの `id` 属性値をセクションの `aria-labelledby` 属性へ値をコピーします**廃止予定**: https://github.com/vivliostyle/vfm/issues/190 参照)

**VFM**

Expand Down Expand Up @@ -631,7 +631,7 @@ Level 2 was ended by `##`.
body > section {
}

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

section:has(> h1.title) {
Expand Down
4 changes: 2 additions & 2 deletions docs/vfm.md
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ Make the heading a hierarchical section.
- e.g., the section starting with `### Heading 3` can end with `###`.
- Do not sectionize if parent is `blockquote`.
- Set the `levelN` class in the section to match the heading depth.
- Copy the value of the `id` attribute of the heading to the `aria-labelledby` attribute of the section.
- 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)

**VFM**

Expand Down Expand Up @@ -631,7 +631,7 @@ Level 2 was ended by `##`.
body > section {
}

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

section:has(> h1.title) {
Expand Down

0 comments on commit 0a8b61c

Please sign in to comment.