Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: deprecate aria-labelledby output #191

Merged
merged 1 commit into from
Mar 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading