mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-19 16:54:24 +01:00
Fixes #20495: Update heading hierarchy to avoid nested ToC that leads to hiding of entire ToC
This commit is contained in:
parent
9128c1adff
commit
bf056d45be
@ -11,7 +11,7 @@ Stylize [the HTML5 `<progress>` element](https://developer.mozilla.org/en-US/doc
|
||||
* Will be replaced with the ToC, excluding the "Contents" header
|
||||
{:toc}
|
||||
|
||||
### Example
|
||||
## Example
|
||||
|
||||
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.
|
||||
|
||||
@ -33,7 +33,7 @@ To caption a progress bar, simply add a `<div>` with your caption text, [align t
|
||||
<progress class="progress" value="100" max="100" aria-describedby="example-caption-5"></progress>
|
||||
{% endexample %}
|
||||
|
||||
### IE9 support
|
||||
## IE9 support
|
||||
|
||||
Internet Explorer 9 doesn't support the HTML5 `<progress>` element, but we can work around that.
|
||||
|
||||
@ -46,7 +46,7 @@ Internet Explorer 9 doesn't support the HTML5 `<progress>` element, but we can w
|
||||
</progress>
|
||||
{% endexample %}
|
||||
|
||||
### Contextual alternatives
|
||||
## Contextual alternatives
|
||||
|
||||
Progress bars use some of the same button and alert classes for consistent styles.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user