diff --git a/docs/ja/vfm.md b/docs/ja/vfm.md index f04070f..dacbe11 100644 --- a/docs/ja/vfm.md +++ b/docs/ja/vfm.md @@ -571,7 +571,7 @@ ruby rt { - 例: `### Heading 3` で開始したセクションは `###` で終了させられる - 親が `blockquote` の場合はセクションを分けません - 見出しの深さへ一致するように、セクションの `levelN` クラスを設定します -- 見出しの `id` 属性値をセクションの `aria-labelledby` 属性へ値をコピーします +- 見出しの `id` 属性値をセクションの `aria-labelledby` 属性へ値をコピーします(**廃止予定**: https://github.com/vivliostyle/vfm/issues/190 参照) **VFM** @@ -631,7 +631,7 @@ Level 2 was ended by `##`. body > section { } -section[aria-labelledby="intro"] { +section:has(> #intro) { } section:has(> h1.title) { diff --git a/docs/vfm.md b/docs/vfm.md index 2fa3125..f1528a8 100644 --- a/docs/vfm.md +++ b/docs/vfm.md @@ -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** @@ -631,7 +631,7 @@ Level 2 was ended by `##`. body > section { } -section[aria-labelledby="intro"] { +section:has(> #intro) { } section:has(> h1.title) {