51 lines
1.6 KiB
Diff
51 lines
1.6 KiB
Diff
--- a/tests/test_build/test_sidebars_captions.html
|
|
+++ b/tests/test_build/test_sidebars_captions.html
|
|
@@ -1,6 +1,6 @@
|
|
<nav aria-label="Main navigation" class="bd-links" id="bd-docs-nav">
|
|
<div class="bd-toc-item active">
|
|
- <p class="caption">
|
|
+ <p class="caption" role="heading">
|
|
<span class="caption-text">
|
|
Section 1
|
|
</span>
|
|
--- a/tests/test_build/test_sidebars_level2.html
|
|
+++ b/tests/test_build/test_sidebars_level2.html
|
|
@@ -1,7 +1,7 @@
|
|
<nav aria-label="Main navigation" class="bd-links" id="bd-docs-nav">
|
|
<div class="bd-toc-item active">
|
|
<!-- Use deeper level for sidebar -->
|
|
- <p class="caption">
|
|
+ <p class="caption" role="heading">
|
|
<span class="caption-text">
|
|
Subsection 1.1
|
|
</span>
|
|
--- a/tests/test_build/test_sidebars_nested_page.html
|
|
+++ b/tests/test_build/test_sidebars_nested_page.html
|
|
@@ -1,6 +1,6 @@
|
|
<nav aria-label="Main navigation" class="bd-links" id="bd-docs-nav">
|
|
<div class="bd-toc-item active">
|
|
- <p class="caption">
|
|
+ <p class="caption" role="heading">
|
|
<span class="caption-text">
|
|
Section 1
|
|
</span>
|
|
--- a/tests/test_build/test_sidebars_single.html
|
|
+++ b/tests/test_build/test_sidebars_single.html
|
|
@@ -1,7 +1,7 @@
|
|
<nav aria-label="Main navigation" class="bd-links" id="bd-docs-nav">
|
|
<div class="bd-toc-item active">
|
|
<!-- Specify a startdepth of 0 instead of default of 1 -->
|
|
- <p class="caption">
|
|
+ <p class="caption" role="heading">
|
|
<span class="caption-text">
|
|
Caption 1
|
|
</span>
|
|
@@ -13,7 +13,7 @@
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
- <p class="caption">
|
|
+ <p class="caption" role="heading">
|
|
<span class="caption-text">
|
|
Caption 2
|
|
</span>
|