From fe9fc4207c128c1ccd62e2275303befd0770eed1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Re=CC=81mi=20Be=CC=81tin?= Date: Thu, 20 Jun 2024 19:14:05 +0200 Subject: [PATCH] Display H2 to H4 in TOC --- _config.yml | 2 +- content/forms/instructions.md | 2 +- content/forms/labels.md | 1 + content/forms/notifications.md | 2 +- content/menus/flyout.md | 1 + content/page-structure/content.md | 2 +- 6 files changed, 6 insertions(+), 4 deletions(-) diff --git a/_config.yml b/_config.yml index 5a926283..20b80762 100644 --- a/_config.yml +++ b/_config.yml @@ -25,7 +25,7 @@ exclude: # Build settings markdown: kramdown -kramwdown: +kramdown: toc_levels: 2..3 input: GFM syntax_highlighter: rouge diff --git a/content/forms/instructions.md b/content/forms/instructions.md index b0879ae3..d4f44dad 100755 --- a/content/forms/instructions.md +++ b/content/forms/instructions.md @@ -18,7 +18,6 @@ navigation: previous: /tutorials/forms/grouping/ next: /tutorials/forms/validation/ - wcag_success_criteria: - 1.3.1 - 2.4.6 @@ -56,6 +55,7 @@ Provide instructions to help users understand how to complete the form and use i {% include box.html type="end" %} {:/} +{::options toc_levels="2,3,4" /} {% include_cached toc.html %} **Important:** Screen readers often switch to “Forms Mode” when they are processing content within a `
` element. In this mode they usually only read aloud form elements such as ``, `