diff options
| author | Patrick H. Lauke <[email protected]> | 2014-11-14 12:37:31 +0000 |
|---|---|---|
| committer | Patrick H. Lauke <[email protected]> | 2014-11-14 13:40:09 +0000 |
| commit | db4e5efb8f1ddf1720f20440bdc1e050f98e78e0 (patch) | |
| tree | a29f80ec44218ff18ce9c71463273abc55af9268 /docs/_includes/components/panels.html | |
| parent | 7bdc307b70caaad69fd88a6a9dd6de6a97e1505c (diff) | |
| download | bootstrap-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/components/panels.html')
| -rw-r--r-- | docs/_includes/components/panels.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/_includes/components/panels.html b/docs/_includes/components/panels.html index acf32c51c..501e4ddd3 100644 --- a/docs/_includes/components/panels.html +++ b/docs/_includes/components/panels.html @@ -150,19 +150,19 @@ </thead> <tbody> <tr> - <td>1</td> + <th scope="row">1</th> <td>Mark</td> <td>Otto</td> <td>@mdo</td> </tr> <tr> - <td>2</td> + <th scope="row">2</th> <td>Jacob</td> <td>Thornton</td> <td>@fat</td> </tr> <tr> - <td>3</td> + <th scope="row">3</th> <td>Larry</td> <td>the Bird</td> <td>@twitter</td> @@ -204,19 +204,19 @@ </thead> <tbody> <tr> - <td>1</td> + <th scope="row">1</th> <td>Mark</td> <td>Otto</td> <td>@mdo</td> </tr> <tr> - <td>2</td> + <th scope="row">2</th> <td>Jacob</td> <td>Thornton</td> <td>@fat</td> </tr> <tr> - <td>3</td> + <th scope="row">3</th> <td>Larry</td> <td>the Bird</td> <td>@twitter</td> |
