Skip to content
Permalink
Browse files

[giow] (0) Map <th sorted> to aria-sort=''.

Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=24757
Affected topics: HTML

git-svn-id: http://svn.whatwg.org/webapps@8534 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Mar 7, 2014
1 parent 84529e6 commit c78af48c8a40fcd6058bdda8f6ab482e74f3a0e4
Showing with 23 additions and 5 deletions.
  1. +7 −2 complete.html
  2. +7 −2 index
  3. +9 −1 source

<header class=head id=head><p><a href=http://www.whatwg.org/ class=logo><img width=101 src=/images/logo alt=WHATWG height=101></a></p>
<hgroup><h1 class=allcaps>HTML</h1>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 6 March 2014</h2>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 7 March 2014</h2>
</hgroup><dl><dt><strong>Web developer edition:</strong></dt>
<dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
<dt>Multiple-page version:</dt>

<td><code title=attr-aria-role-rowgroup>rowgroup</code> role

<tr><td><code><a href=#the-th-element>th</a></code> element that is a <a href=#sorting-capable-th-element>sorting-capable <code>th</code> element</a> whose <a href=#column-key-ordinality>column key ordinality</a> is 1

<td><code title=attr-aria-role-columnheader>columnheader</code> role, with the <code title=attr-aria-sort>aria-sort</code> state set to "ascending" if the element's <a href=#column-sort-direction>column
sort direction</a> is <i>normal</i>, and "descending" otherwise.

<tr><td><code><a href=#the-title-element>title</a></code> element

<td><a href=#concept-role-none title=concept-role-none>No role</a>
<code title=attr-aria-role-listbox>listbox</code> or
<code title=attr-aria-role-menu>menu</code>

<tr><td><code><a href=#the-th-element>th</a></code> element
<tr><td><code><a href=#the-th-element>th</a></code> element that is not a <a href=#sorting-capable-th-element>sorting-capable <code>th</code> element</a> or whose <a href=#column-key-ordinality>column key ordinality</a> is not 1

<td><code title=attr-aria-role-gridcell>gridcell</code> role

9 index

<header class=head id=head><p><a href=http://www.whatwg.org/ class=logo><img width=101 src=/images/logo alt=WHATWG height=101></a></p>
<hgroup><h1 class=allcaps>HTML</h1>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 6 March 2014</h2>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 7 March 2014</h2>
</hgroup><dl><dt><strong>Web developer edition:</strong></dt>
<dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
<dt>Multiple-page version:</dt>

<td><code title=attr-aria-role-rowgroup>rowgroup</code> role

<tr><td><code><a href=#the-th-element>th</a></code> element that is a <a href=#sorting-capable-th-element>sorting-capable <code>th</code> element</a> whose <a href=#column-key-ordinality>column key ordinality</a> is 1

<td><code title=attr-aria-role-columnheader>columnheader</code> role, with the <code title=attr-aria-sort>aria-sort</code> state set to "ascending" if the element's <a href=#column-sort-direction>column
sort direction</a> is <i>normal</i>, and "descending" otherwise.

<tr><td><code><a href=#the-title-element>title</a></code> element

<td><a href=#concept-role-none title=concept-role-none>No role</a>
<code title=attr-aria-role-listbox>listbox</code> or
<code title=attr-aria-role-menu>menu</code>

<tr><td><code><a href=#the-th-element>th</a></code> element
<tr><td><code><a href=#the-th-element>th</a></code> element that is not a <a href=#sorting-capable-th-element>sorting-capable <code>th</code> element</a> or whose <a href=#column-key-ordinality>column key ordinality</a> is not 1

<td><code title=attr-aria-role-gridcell>gridcell</code> role

10 source

<td><code data-x="attr-aria-role-rowgroup">rowgroup</code> role

<tr>

<td><code>th</code> element that is a <span>sorting-capable <code>th</code> element</span> whose <span>column key ordinality</span> is 1

<td><code data-x="attr-aria-role-columnheader">columnheader</code> role, with the <code
data-x="attr-aria-sort">aria-sort</code> state set to "ascending" if the element's <span>column
sort direction</span> is <i>normal</i>, and "descending" otherwise.

<tr>

<td><code>title</code> element

<tr>

<td><code>th</code> element
<td><code>th</code> element that is not a <span>sorting-capable <code>th</code> element</span> or whose <span>column key ordinality</span> is not 1

<td><code data-x="attr-aria-role-gridcell">gridcell</code> role

0 comments on commit c78af48

Please sign in to comment.
You can’t perform that action at this time.