This repository has been archived by the owner on Apr 18, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #129 from AusDTO/bugfix/tables-section-guidance-do…
…uble-up Bugfix/tables section guidance double up
- Loading branch information
Showing
4 changed files
with
12 additions
and
9 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
_components/tables/building-guidance.md → _components/tables/basic-table-guidance.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,13 @@ | ||
{% assign ID = "tables" %} | ||
|
||
{% capture content %} | ||
- Tables should be used for data, never design. | ||
- Consider more accessible ways to format content before using a table, such as lists. | ||
- Avoid tables with multiple header levels and spanned cells. | ||
- Use `thead`, `tbody` and `tfoot` to improve how browsers display tables. They don't make tables more accessible. | ||
- Title tables using the <a href="https://www.w3.org/wiki/HTML/Elements/caption" rel="external">`<caption>` element</a> inside the `<table>` element. | ||
- Row and column headers should be set with the <a href="https://www.w3.org/TR/html401/struct/tables.html#adef-scope" rel="external">`scope` attribute</a>. | ||
- <a href="https://www.w3.org/WAI/tutorials/tables/" rel="external">W3C has guidance on making tables</a>. | ||
{% endcapture %} | ||
|
||
{% include guidance.liquid content = content ID = ID %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters