Skip to content

Commit

Permalink
Correct "row" to "col"
Browse files Browse the repository at this point in the history
Under the heading "Structure" the text says:
 For accessibility, the first column is set to be a `<th>` element, with a `scope` of `"row"`.
However, for a `th` at the top of a column, the scope should be `"col"`, and inspecting the rendered table confirms that it is in fact rendered with `scope="col"`
  • Loading branch information
sdpaulsen committed Apr 14, 2020
1 parent 8185461 commit 61fd390
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/pages/components/tables/tables.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ A data table contains a header row at the top that lists column names, followed

Checkboxes should accompany each row if the user needs to select or manipulate data.

For accessibility, the first column is set to be a `<th>` element, with a `scope` of `"row"`. This enables screen readers to identify a cell's value by it's row and column name.
For accessibility, the first column is set to be a `<th>` element, with a `scope` of `"col"`. This enables screen readers to identify a cell's value by it's row and column name.

## Simple Table

Expand Down

0 comments on commit 61fd390

Please sign in to comment.