This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 24757 - Should map <th sorted> to ARIA aria-sort property
Summary: Should map <th sorted> to ARIA aria-sort property
Status: RESOLVED FIXED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-20 23:46 UTC by contributor
Modified: 2014-03-07 22:33 UTC (History)
2 users (show)

See Also:


Attachments

Description contributor 2014-02-20 23:46:46 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/
Multipage: http://www.whatwg.org/C#attr-th-sorted
Complete: http://www.whatwg.org/c#attr-th-sorted
Referrer: 

Comment:
Should map <th sorted> to ARIA aria-sort property

Posted from: 2620:0:1000:167c:a890:ed32:5339:2408 by ian@hixie.ch
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1838.2 Safari/537.36
Comment 1 Ian 'Hixie' Hickson 2014-02-27 18:51:57 UTC
Right now, th is soft-mapped to gridcell. We should make that soft mapping only apply when its "column key ordinality" is not "1", and when it is, hard-map it to columnheader, and set aria-sort to ascending if its column sort direction is normal, and descending otherwise (because aria-sort only applies to columnheader and rowheader for some reason).
Comment 2 Ian 'Hixie' Hickson 2014-02-27 18:53:12 UTC
oh and the th should be a sorting-capable th element.
Comment 3 contributor 2014-03-07 22:33:25 UTC
Checked in as WHATWG revision r8534.
Check-in comment: Map <th sorted> to aria-sort=''.
http://html5.org/tools/web-apps-tracker?from=8533&to=8534