diff --git a/specification/archSpec/base/accessibletablemarkup.dita b/specification/archSpec/base/accessibletablemarkup.dita index 6a481a71..4699164b 100644 --- a/specification/archSpec/base/accessibletablemarkup.dita +++ b/specification/archSpec/base/accessibletablemarkup.dita @@ -5,7 +5,7 @@ The complexity of table rendering requires authors and processors to be aware of several table-specific elements and attributes if they want to ensure that tables are - accessible. + accessible. @@ -14,7 +14,6 @@ -

@@ -32,13 +31,15 @@
Cell headers
-
(Complex table only) When entries within a table function as headers, but do not fall - into the categories of column or row headers, the id and - headers attributes on table cells can be used. - Specifying the id attribute on the cell that functions as a header, and - setting the headers attribute to that ID value on the table cell for which it acts as a header serves to relate table cells to - headers.
+
When entries within a table function as headers, but do not + fall into the categories of column or row headers, the + id and headers attributes on + table cells can be used to related table cells + to headers. Specifying the id attribute + on the cell that functions as a header, and setting the + headers attribute to that ID value on the table cell for which it acts as a + header serves to relate table cells to headers.
@@ -51,13 +52,11 @@
Complex table
-
The thead element can provide one or more header rows.
-
Simple - table
+
Simple table
The sthead element can provide a single row header.
diff --git a/specification/archSpec/base/example-simple-table-and-accessibility.dita b/specification/archSpec/base/example-simple-table-and-accessibility.dita index e806b375..a4b3e2cb 100644 --- a/specification/archSpec/base/example-simple-table-and-accessibility.dita +++ b/specification/archSpec/base/example-simple-table-and-accessibility.dita @@ -1,9 +1,35 @@ - Example: Simple table and accessibility - + Example: Simple table with accessibility markup + In this scenario, the topic author uses a header row and the + keycol attribute to ensure that the table is + accessible -

+

In the following code sample, the sthead element + identifies the header row, and keycol attribute + identifies the header column:

+ + <simpletable frame="all" relcolwidth="1* 1*" keycol="1"> + <sthead> + <stentry>Type of room</stentry> + <stentry>Price per day</stentry> + </sthead> + <strow> + <stentry>Single bed</stentry> + <stentry>$125.00</stentry> + </strow> + <strow> + <stentry>Two double beds</stentry> + <stentry>$150.00</stentry> + </strow> + <strow> + <stentry>Queen or king bed</stentry> + <stentry>$165.00</stentry> + </strow> +</simpletable> +

This table might be rendered in the following way:

+