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/getting-started | |
| 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/getting-started')
| -rw-r--r-- | docs/_includes/getting-started/browser-device-support.html | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/_includes/getting-started/browser-device-support.html b/docs/_includes/getting-started/browser-device-support.html index 509daf267..34d06d8dd 100644 --- a/docs/_includes/getting-started/browser-device-support.html +++ b/docs/_includes/getting-started/browser-device-support.html @@ -18,7 +18,7 @@ </thead> <tbody> <tr> - <th>Android</th> + <th scope="row">Android</th> <td class="text-success"><span class="glyphicon glyphicon-ok" aria-hidden="true"></span> Supported</td> <td class="text-success"><span class="glyphicon glyphicon-ok" aria-hidden="true"></span> Supported</td> <td class="text-muted" rowspan="3" style="vertical-align: middle;">N/A</td> @@ -26,21 +26,21 @@ <td class="text-muted">N/A</td> </tr> <tr> - <th>iOS</th> + <th scope="row">iOS</th> <td class="text-success"><span class="glyphicon glyphicon-ok" aria-hidden="true"></span> Supported</td> <td class="text-muted">N/A</td> <td class="text-danger"><span class="glyphicon glyphicon-remove" aria-hidden="true"></span> Not Supported</td> <td class="text-success"><span class="glyphicon glyphicon-ok" aria-hidden="true"></span> Supported</td> </tr> <tr> - <th>Mac OS X</th> + <th scope="row">Mac OS X</th> <td class="text-success"><span class="glyphicon glyphicon-ok" aria-hidden="true"></span> Supported</td> <td class="text-success"><span class="glyphicon glyphicon-ok" aria-hidden="true"></span> Supported</td> <td class="text-success"><span class="glyphicon glyphicon-ok" aria-hidden="true"></span> Supported</td> <td class="text-success"><span class="glyphicon glyphicon-ok" aria-hidden="true"></span> Supported</td> </tr> <tr> - <th>Windows</th> + <th scope="row">Windows</th> <td class="text-success"><span class="glyphicon glyphicon-ok" aria-hidden="true"></span> Supported</td> <td class="text-success"><span class="glyphicon glyphicon-ok" aria-hidden="true"></span> Supported</td> <td class="text-success"><span class="glyphicon glyphicon-ok" aria-hidden="true"></span> Supported</td> @@ -59,9 +59,9 @@ <table class="table table-bordered table-striped"> <thead> <tr> - <th scope="col" class="col-xs-4">Feature</th> - <th scope="col" class="col-xs-4">Internet Explorer 8</th> - <th scope="col" class="col-xs-4">Internet Explorer 9</th> + <th class="col-xs-4">Feature</th> + <th class="col-xs-4">Internet Explorer 8</th> + <th class="col-xs-4">Internet Explorer 9</th> </tr> </thead> <tbody> |
