diff --git a/docs/4.0/content/tables.md b/docs/4.0/content/tables.md index 515b9b19b1..59bdb6373c 100644 --- a/docs/4.0/content/tables.md +++ b/docs/4.0/content/tables.md @@ -16,10 +16,10 @@ Using the most basic table markup, here's how `.table`-based tables look in Boot - - - - + + + + @@ -51,10 +51,10 @@ You can also invert the colors—with light text on dark backgrounds—with `.ta
#First NameLast NameUsername#First NameLast NameUsername
- - - - + + + + @@ -88,10 +88,10 @@ Similar to tables and dark tables, use the modifier classes `.thead-light` or `.
#First NameLast NameUsername#First NameLast NameUsername
- - - - + + + + @@ -119,10 +119,10 @@ Similar to tables and dark tables, use the modifier classes `.thead-light` or `.
#First NameLast NameUsername#First NameLast NameUsername
- - - - + + + + @@ -156,10 +156,10 @@ Use `.table-striped` to add zebra-striping to any table row within the ``
#First NameLast NameUsername#First NameLast NameUsername
- - - - + + + + @@ -189,10 +189,10 @@ Use `.table-striped` to add zebra-striping to any table row within the ``
#First NameLast NameUsername#First NameLast NameUsername
- - - - + + + + @@ -226,10 +226,10 @@ Add `.table-bordered` for borders on all sides of the table and cells.
#First NameLast NameUsername#First NameLast NameUsername
- - - - + + + + @@ -264,10 +264,10 @@ Add `.table-bordered` for borders on all sides of the table and cells.
#First NameLast NameUsername#First NameLast NameUsername
- - - - + + + + @@ -306,10 +306,10 @@ Add `.table-hover` to enable a hover state on table rows within a ``.
#First NameLast NameUsername#First NameLast NameUsername
- - - - + + + + @@ -338,10 +338,10 @@ Add `.table-hover` to enable a hover state on table rows within a ``.
#First NameLast NameUsername#First NameLast NameUsername
- - - - + + + + @@ -374,10 +374,10 @@ Add `.table-sm` to make tables more compact by cutting cell padding in half.
#First NameLast NameUsername#First NameLast NameUsername
- - - - + + + + @@ -406,10 +406,10 @@ Add `.table-sm` to make tables more compact by cutting cell padding in half.
#First NameLast NameUsername#First NameLast NameUsername
- - - - + + + + @@ -442,10 +442,10 @@ Use contextual classes to color table rows or individual cells.
#First NameLast NameUsername#First NameLast NameUsername
- - - - + + + + @@ -493,10 +493,10 @@ Regular table background variants are not available with the dark table, however
TypeColumn headingColumn headingColumn headingTypeColumn headingColumn headingColumn heading
- - - - + + + + @@ -595,16 +595,16 @@ Responsive tables make use of `overflow-y: hidden`, which clips off any content
#Column headingColumn headingColumn heading#Column headingColumn headingColumn heading
- - - - - - - - - - + + + + + + + + + + @@ -650,13 +650,13 @@ Responsive tables make use of `overflow-y: hidden`, which clips off any content
#Table headingTable headingTable headingTable headingTable headingTable headingTable headingTable headingTable heading#Table headingTable headingTable headingTable headingTable headingTable headingTable headingTable headingTable heading
- - - - - - - + + + + + + + @@ -696,3 +696,42 @@ Responsive tables make use of `overflow-y: hidden`, which clips off any content ...
#Table headingTable headingTable headingTable headingTable headingTable heading#Table headingTable headingTable headingTable headingTable headingTable heading
{% endhighlight %} + + +## Captions + +A `` functions like a heading for a table. It helps users with screen readers to find a table and understand what it’s about and decide if they want to read it. + +{% example html %} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
List of users
#First NameLast NameUsername
1MarkOtto@mdo
2JacobThornton@fat
3Larrythe Bird@twitter
+{% endexample %}