aboutsummaryrefslogtreecommitdiff
path: root/docs/_includes/css/responsive-utilities.html
diff options
context:
space:
mode:
authorPatrick H. Lauke <[email protected]>2014-11-14 12:37:31 +0000
committerPatrick H. Lauke <[email protected]>2014-11-14 13:40:09 +0000
commitdb4e5efb8f1ddf1720f20440bdc1e050f98e78e0 (patch)
treea29f80ec44218ff18ce9c71463273abc55af9268 /docs/_includes/css/responsive-utilities.html
parent7bdc307b70caaad69fd88a6a9dd6de6a97e1505c (diff)
downloadbootstrap-db4e5efb8f1ddf1720f20440bdc1e050f98e78e0.tar.xz
bootstrap-db4e5efb8f1ddf1720f20440bdc1e050f98e78e0.zip
Fixes to scope
as discssued in https://github.com/twbs/bootstrap/issues/15117#issuecomment-63029993 - added ``scope="row"`` to row headers - made sure row headers are actual ``<th>`` elements - removed ``scope="col"`` where it was redundant - simplified table examples with (to me) unnecessary ``rowspan``/``colspan`` (unless you really want complex tables, in which case we would need full-on ``id`` and ``headers`` attributes to make sure each table cell has an explicit association with the related header cells - overkill, in my opinion) - one table (in typography) left header-less, as it's more or less presentational (though its structure is still important, hence not adding ``role="presentation"``)
Diffstat (limited to 'docs/_includes/css/responsive-utilities.html')
-rw-r--r--docs/_includes/css/responsive-utilities.html26
1 files changed, 13 insertions, 13 deletions
diff --git a/docs/_includes/css/responsive-utilities.html b/docs/_includes/css/responsive-utilities.html
index f32f59c4e..ac73bf645 100644
--- a/docs/_includes/css/responsive-utilities.html
+++ b/docs/_includes/css/responsive-utilities.html
@@ -32,28 +32,28 @@
</thead>
<tbody>
<tr>
- <th><code>.visible-xs-*</code></th>
+ <th scope="row"><code>.visible-xs-*</code></th>
<td class="is-visible">Visible</td>
<td class="is-hidden">Hidden</td>
<td class="is-hidden">Hidden</td>
<td class="is-hidden">Hidden</td>
</tr>
<tr>
- <th><code>.visible-sm-*</code></th>
+ <th scope="row"><code>.visible-sm-*</code></th>
<td class="is-hidden">Hidden</td>
<td class="is-visible">Visible</td>
<td class="is-hidden">Hidden</td>
<td class="is-hidden">Hidden</td>
</tr>
<tr>
- <th><code>.visible-md-*</code></th>
+ <th scope="row"><code>.visible-md-*</code></th>
<td class="is-hidden">Hidden</td>
<td class="is-hidden">Hidden</td>
<td class="is-visible">Visible</td>
<td class="is-hidden">Hidden</td>
</tr>
<tr>
- <th><code>.visible-lg-*</code></th>
+ <th scope="row"><code>.visible-lg-*</code></th>
<td class="is-hidden">Hidden</td>
<td class="is-hidden">Hidden</td>
<td class="is-hidden">Hidden</td>
@@ -62,28 +62,28 @@
</tbody>
<tbody>
<tr>
- <th><code>.hidden-xs</code></th>
+ <th scope="row"><code>.hidden-xs</code></th>
<td class="is-hidden">Hidden</td>
<td class="is-visible">Visible</td>
<td class="is-visible">Visible</td>
<td class="is-visible">Visible</td>
</tr>
<tr>
- <th><code>.hidden-sm</code></th>
+ <th scope="row"><code>.hidden-sm</code></th>
<td class="is-visible">Visible</td>
<td class="is-hidden">Hidden</td>
<td class="is-visible">Visible</td>
<td class="is-visible">Visible</td>
</tr>
<tr>
- <th><code>.hidden-md</code></th>
+ <th scope="row"><code>.hidden-md</code></th>
<td class="is-visible">Visible</td>
<td class="is-visible">Visible</td>
<td class="is-hidden">Hidden</td>
<td class="is-visible">Visible</td>
</tr>
<tr>
- <th><code>.hidden-lg</code></th>
+ <th scope="row"><code>.hidden-lg</code></th>
<td class="is-visible">Visible</td>
<td class="is-visible">Visible</td>
<td class="is-visible">Visible</td>
@@ -104,15 +104,15 @@
</thead>
<tbody>
<tr>
- <td><code>.visible-*-block</code></td>
+ <th scope="row"><code>.visible-*-block</code></th>
<td><code>display: block;</code></td>
</tr>
<tr>
- <td><code>.visible-*-inline</code></td>
+ <th scope="row"><code>.visible-*-inline</code></th>
<td><code>display: inline;</code></td>
</tr>
<tr>
- <td><code>.visible-*-inline-block</code></td>
+ <th scope="row"><code>.visible-*-inline-block</code></th>
<td><code>display: inline-block;</code></td>
</tr>
</tbody>
@@ -134,7 +134,7 @@
</thead>
<tbody>
<tr>
- <th>
+ <th scope="row">
<code>.visible-print-block</code><br>
<code>.visible-print-inline</code><br>
<code>.visible-print-inline-block</code>
@@ -143,7 +143,7 @@
<td class="is-visible">Visible</td>
</tr>
<tr>
- <th><code>.hidden-print</code></th>
+ <th scope="row"><code>.hidden-print</code></th>
<td class="is-visible">Visible</td>
<td class="is-hidden">Hidden</td>
</tr>