Skip to content

Commit bf056d4

Browse files
committed
Fixes #20495: Update heading hierarchy to avoid nested ToC that leads to hiding of entire ToC
1 parent 9128c1a commit bf056d4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/components/progress.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Stylize [the HTML5 `<progress>` element](https://developer.mozilla.org/en-US/doc
1111
* Will be replaced with the ToC, excluding the "Contents" header
1212
{:toc}
1313

14-
### Example
14+
## Example
1515

1616
To caption a progress bar, simply add a `<div>` with your caption text, [align the text using a utility class]({{ site.baseurl }}/components/utilities/#text-alignment), and associate the caption with the `<progress>` element using the `aria-describedby` attribute.
1717

@@ -33,7 +33,7 @@ To caption a progress bar, simply add a `<div>` with your caption text, [align t
3333
<progress class="progress" value="100" max="100" aria-describedby="example-caption-5"></progress>
3434
{% endexample %}
3535

36-
### IE9 support
36+
## IE9 support
3737

3838
Internet Explorer 9 doesn't support the HTML5 `<progress>` element, but we can work around that.
3939

@@ -46,7 +46,7 @@ Internet Explorer 9 doesn't support the HTML5 `<progress>` element, but we can w
4646
</progress>
4747
{% endexample %}
4848

49-
### Contextual alternatives
49+
## Contextual alternatives
5050

5151
Progress bars use some of the same button and alert classes for consistent styles.
5252

0 commit comments

Comments
 (0)