Skip to content

Commit

Permalink
Grid and Table Properties Guidance: Minor Corrections to final draft
Browse files Browse the repository at this point in the history
For issue #65, in aria-practices.html,
revised final draft of the grid and table properties section.

1. Added link to review issue.
2. Added caption to definitions table.
3. Added aria-colcount to the example code for aria-sort.
  • Loading branch information
mcking65 committed Oct 30, 2017
1 parent 4ebe772 commit 0da29b6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions aria-practices.html
Original file line number Diff line number Diff line change
Expand Up @@ -3867,9 +3867,8 @@ <h4>Exposing and Documenting Keyboard Shortcuts</h4>
<section id="gridAndTableProperties">
<h2>Grid and Table Properties</h2>
<p>
<strong>NOTE:</strong> This is a draft section is not yet ready for review.
Work on this section is tracked by
<a href="https://github.com/w3c/aria-practices/issues/65">issue 65.</a>
<strong>NOTE:</strong> The content in this section is new. Please provide feedback in
<a href="https://github.com/w3c/aria-practices/issues/505">issue 505.</a>
</p>
<p>
To present and describe a grid or table, in addition to parsing the headers, rows, and cells using the roles described in the
Expand All @@ -3889,6 +3888,7 @@ <h2>Grid and Table Properties</h2>
</p>
<p>The below sections explain how to use the following properties that ARIA provides for grid and table accessibility.</p>
<table class="widget-features">
<caption>Grid and Table Property Definitions</caption>
<thead>
<tr>
<th>Property</th>
Expand Down Expand Up @@ -4297,7 +4297,7 @@ <h3>Indicating sort order with <code>aria-sort</code></h3>
<p>The following example grid uses <code>aria-sort</code> to indicate the rows are sorted from the highest "Quiz 2" score to the lowest "Quiz 2" score.</p>
<pre>
<code>
&lt;table role=&quot;grid&quot; aria-rowcount=&quot;463&quot;&gt;
&lt;table role=&quot;grid&quot; aria-rowcount=&quot;463&quot; aria-colcount=&quot;13&quot;&gt;
aria-label=&quot;Student grades for history 101&quot;
&lt;thead&gt;
&lt;tr aria-colindex=&quot;10&quot; aria-rowindex=&quot;1&quot;&gt;
Expand Down

0 comments on commit 0da29b6

Please sign in to comment.