forked from oasis-tcs/dita
-
Notifications
You must be signed in to change notification settings - Fork 0
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 oasis-tcs#854 from keberlein/accessibility
Review O updates
- Loading branch information
Showing
3 changed files
with
40 additions
and
15 deletions.
There are no files selected for viewing
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
32 changes: 29 additions & 3 deletions
32
specification/archSpec/base/example-simple-table-and-accessibility.dita
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,9 +1,35 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE concept PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd"> | ||
<concept id="example-simple-table-and-accessibility" rev="review-o"> | ||
<title>Example: Simple table and accessibility</title> | ||
<shortdesc/> | ||
<title>Example: Simple table with accessibility markup</title> | ||
<shortdesc>In this scenario, the topic author uses a header row and the | ||
<xmlatt>keycol</xmlatt> attribute to ensure that the table is | ||
accessible</shortdesc> | ||
<conbody> | ||
<p/> | ||
<p>In the following code sample, the <xmlatt>sthead</xmlatt> element | ||
identifies the header row, and <xmlatt>keycol</xmlatt> attribute | ||
identifies the header column:</p> | ||
<!--<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 size bed</stentry><stentry>$165.00</stentry></strow></simpletable>--> | ||
<codeblock><simpletable frame="all" relcolwidth="1* 1*" <b>keycol="1"</b>> | ||
<b><sthead> | ||
<stentry>Type of room</stentry> | ||
<stentry>Price per day</stentry> | ||
</sthead></b> | ||
<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></codeblock> | ||
<p>This table might be rendered in the following way:</p> | ||
<image placement="break" | ||
href="../../images/simple-table-accessibility.jpg" scale="70"/> | ||
</conbody> | ||
</concept> |
Binary file not shown.