diff --git a/docs/4.0/components/button-group.md b/docs/4.0/components/button-group.md index f08d2e3ecd..b771e0da03 100644 --- a/docs/4.0/components/button-group.md +++ b/docs/4.0/components/button-group.md @@ -19,7 +19,7 @@ Wrap a series of buttons with `.btn` in `.btn-group`. Add on optional JavaScript {% endexample %} {% callout warning %} -#### Ensure correct `role` and provide a label +##### Ensure correct `role` and provide a label In order for assistive technologies (such as screen readers) to convey that a series of buttons is grouped, an appropriate `role` attribute needs to be provided. For button groups, this would be `role="group"`, while toolbars should have a `role="toolbar"`. diff --git a/docs/4.0/components/buttons.md b/docs/4.0/components/buttons.md index b912ec89b2..02feb1cb29 100644 --- a/docs/4.0/components/buttons.md +++ b/docs/4.0/components/buttons.md @@ -95,7 +95,7 @@ Disabled buttons using the `` element behave a bit different: {% endexample %} {% callout warning %} -#### Link functionality caveat +##### Link functionality caveat The `.disabled` class uses `pointer-events: none` to try to disable the link functionality of ``s, but that CSS property is not yet standardized. In addition, even in browsers that do support `pointer-events: none`, keyboard navigation remains unaffected, meaning that sighted keyboard users and users of assistive technologies will still be able to activate these links. So to be safe, add a `tabindex="-1"` attribute on these links (to prevent them from receiving keyboard focus) and use custom JavaScript to disable their functionality. {% endcallout %} diff --git a/docs/4.0/components/card.md b/docs/4.0/components/card.md index 0971e90c97..672892be22 100644 --- a/docs/4.0/components/card.md +++ b/docs/4.0/components/card.md @@ -20,7 +20,7 @@ Below is an example of a basic card with mixed content and a fixed width. Cards
Card image cap
-

Card title

+
Card title

Some quick example text to build on the card title and make up the bulk of the card's content.

Go somewhere
@@ -52,7 +52,7 @@ Subtitles are used by adding a `.card-subtitle` to a `` tag. If the `.card-t {% example html %}
-

Card title

+
Card title
Card subtitle

Some quick example text to build on the card title and make up the bulk of the card's content.

Card link @@ -109,7 +109,7 @@ Mix and match multiple content types to create the card you need, or throw every
Card image cap
-

Card title

+
Card title

Some quick example text to build on the card title and make up the bulk of the card's content.

    @@ -134,7 +134,7 @@ Add an optional header and/or footer within a card. Featured
-

Special title treatment

+
Special title treatment

With supporting text below as a natural lead-in to additional content.

Go somewhere
@@ -145,9 +145,9 @@ Card headers can be styled by adding `.card-header` to `` elements. {% example html %}
-

Featured

+
Featured
-

Special title treatment

+
Special title treatment

With supporting text below as a natural lead-in to additional content.

Go somewhere
@@ -174,7 +174,7 @@ Card headers can be styled by adding `.card-header` to `` elements. Featured
-

Special title treatment

+
Special title treatment

With supporting text below as a natural lead-in to additional content.

Go somewhere
@@ -197,7 +197,7 @@ Using the grid, wrap cards in columns and rows as needed.
-

Special title treatment

+
Special title treatment

With supporting text below as a natural lead-in to additional content.

Go somewhere
@@ -206,7 +206,7 @@ Using the grid, wrap cards in columns and rows as needed.
-

Special title treatment

+
Special title treatment

With supporting text below as a natural lead-in to additional content.

Go somewhere
@@ -222,7 +222,7 @@ Use our handful of [available sizing utilities]({{ site.baseurl }}/docs/{{ site. {% example html %}
-

Card title

+
Card title

With supporting text below as a natural lead-in to additional content.

Button
@@ -230,7 +230,7 @@ Use our handful of [available sizing utilities]({{ site.baseurl }}/docs/{{ site.
-

Card title

+
Card title

With supporting text below as a natural lead-in to additional content.

Button
@@ -244,7 +244,7 @@ Use custom CSS in your stylesheets or as inline styles to set a width. {% example html %}
-

Special title treatment

+
Special title treatment

With supporting text below as a natural lead-in to additional content.

Go somewhere
@@ -258,7 +258,7 @@ You can quickly change the text alignment of any card—in its entirety or speci {% example html %}
-

Special title treatment

+
Special title treatment

With supporting text below as a natural lead-in to additional content.

Go somewhere
@@ -266,7 +266,7 @@ You can quickly change the text alignment of any card—in its entirety or speci
-

Special title treatment

+
Special title treatment

With supporting text below as a natural lead-in to additional content.

Go somewhere
@@ -274,7 +274,7 @@ You can quickly change the text alignment of any card—in its entirety or speci
-

Special title treatment

+
Special title treatment

With supporting text below as a natural lead-in to additional content.

Go somewhere
@@ -301,7 +301,7 @@ Add some navigation to a card's header (or block) with Bootstrap's [nav componen
-

Special title treatment

+
Special title treatment

With supporting text below as a natural lead-in to additional content.

Go somewhere
@@ -324,7 +324,7 @@ Add some navigation to a card's header (or block) with Bootstrap's [nav componen
-

Special title treatment

+
Special title treatment

With supporting text below as a natural lead-in to additional content.

Go somewhere
@@ -343,14 +343,14 @@ Similar to headers and footers, cards can include top and bottom "image caps"—
Card image cap
-

Card title

+
Card title

This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.

Last updated 3 mins ago

-

Card title

+
Card title

This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.

Last updated 3 mins ago

@@ -366,7 +366,7 @@ Turn an image into a card background and overlay your card's text. Depending on
Card image
-

Card title

+
Card title

This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.

Last updated 3 mins ago

@@ -386,7 +386,7 @@ Use [text and background utilities]({{ site.baseurl }}/docs/{{ site.docs_version
Header
-

{{ color.name | capitalize }} card title

+
{{ color.name | capitalize }} card title

Some quick example text to build on the card title and make up the bulk of the card's content.

{% endfor %} @@ -404,7 +404,7 @@ Use [border utilities]({{ site.baseurl }}/docs/{{ site.docs_version }}/utilities
Header
-

{{ color.name | capitalize }} card title

+
{{ color.name | capitalize }} card title

Some quick example text to build on the card title and make up the bulk of the card's content.

{% endfor %} @@ -418,7 +418,7 @@ You can also change the borders on the card header and footer as needed, and eve
Header
-

Success card title

+
Success card title

Some quick example text to build on the card title and make up the bulk of the card's content.

@@ -438,7 +438,7 @@ Use card groups to render cards as a single, attached element with equal width a
Card image cap
-

Card title

+
Card title

This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.

Last updated 3 mins ago

@@ -446,7 +446,7 @@ Use card groups to render cards as a single, attached element with equal width a
Card image cap
-

Card title

+
Card title

This card has supporting text below as a natural lead-in to additional content.

Last updated 3 mins ago

@@ -454,7 +454,7 @@ Use card groups to render cards as a single, attached element with equal width a
Card image cap
-

Card title

+
Card title

This is a wider card with supporting text below as a natural lead-in to additional content. This card has even longer content than the first to show that equal height action.

Last updated 3 mins ago

@@ -469,7 +469,7 @@ When using card groups with footers, their content will automatically line up.
Card image cap
-

Card title

+
Card title

This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.