grids vs sortable tables

Hi Matt,

A table element can have a 'sortable' attribute which designates you can
sort on columns.  A table header cell <th> can have a 'sorted' attribute to
tell you that the rows are sortable on this column and may tell you that
the table is sorted by that column. The 'sorted'  attribute should have the
value 'reverse' when the table is sorted on the column and in reverse
order. I assume you can add JavaScript to sort on a column and the this is
all allowed as a sortable table. If you can do sorting on a table, how is
it different from a grid?

I am also confused on the valid state/values for the 'sorted' attribute. Is
it:
   <th>  // not a sortable column
   <th sorted> // means you may sort on this column, but the table isn't
   sorted on this column
   <th sorted='' > // means you may sort on this column and the table is
   sorted on this column (normal sort order)
   <th sorted='reversed' > // means you may sort on this column and the
   table is sorted on this column (reverse sort order)

When I read the spec I cannot tell if 2 and 3 are distinct states and both
valid.
                                                              
     Regards,                                                 
                                                              
    Fred Esch                                                 
 Watson, IBM, W3C                                             
  Accessibility                                               
                                                              
 IBM Watson       Watson Release Management and Quality       
                                                              



--1__
BBF5DADFFAD1E78f9e8a93df938690918c0ABBF5DADFFAD1E7
Content-Transfer-Encoding: quoted-printable
Content-type: text/html; charset=US-ASCII
Content-Disposition: inline

<html><body><p>Hi Matt,<br><br>A table element can have a <i>'sortable'</i> attribute which designates you can sort on columns.  A table header cell &lt;th&gt; can have a <i>'sorted'</i> attribute to tell you that the rows are sortable on this column and may tell you that the table is sorted by that column. The <i>'sorted'</i>  attribute should have the value<i> 'reverse'</i> when the table is sorted on the column and in reverse order. I assume you can add JavaScript to sort on a column and the this is all allowed as a sortable table. If you can do sorting on a table, how is it different from a grid? <br><br>I am also confused on the valid state/values for the<i> 'sorted'</i> attribute. Is it:
<ol type="1"><li>&lt;th&gt;  // not a sortable column
<li>&lt;th sorted&gt; // means you may sort on this column, but the table isn't sorted on this column
<li>&lt;th sorted='' &gt; // means you may sort on this column and the table<b> is</b> sorted on this column (normal sort order)
<li>&lt;th sorted='reversed' &gt; // means you may sort on this column and the table <b>is</b> sorted on this column (reverse sort order)</ol><br>When I read the<a href="https://www.w3.org/html/wg/drafts/html/master/semantics.html#attr-th-sorted"> spec</a> I cannot tell if 2 and 3 are distinct states and both valid. <br><br>
<table border="0" cellspacing="0" cellpadding="0"><tr valign="top"><td width="473" colspan="2" valign="middle"><div align="center"><font size="4" face="Verdana">Regards, <br><br>Fred Esch <br>Watson, IBM, W3C Accessibility</font></div></td></tr>
<tr valign="top"><td width="130" valign="middle"><img src="cid:1__=0ABBF5DADFFAD1E78f9e8a93df938690918c0AB@" width="163" height="23" alt="IBM Watson" align="bottom"></td><td width="342" valign="middle"><font size="4" face="Verdana">Watson Release Management and Quality </font></td></tr></table><br><BR>
</body></html>

--1__
BBF5DADFFAD1E78f9e8a93df938690918c0ABBF5DADFFAD1E7--


--0__
BBF5DADFFAD1E78f9e8a93df938690918c0ABBF5DADFFAD1E7
Content-type: image/gif; 
	name="0A998705.gif"
Content-Disposition: inline; filename="0A998705.gif"
Content-ID: <1__
BBF5DADFFAD1E78f9e8a93df938690918c0AB@>
Content-Transfer-Encoding: base64

iVBORw0KGgoAAAANSUhEUgAAAKMAAAAXCAMAAABQ6Q/RAAADAFBMVEXIx8cxLS5MSUrW1dXx8fE/
Ozzj4+N2c3SRj49oZWaEgYKsq6uenZ26ubmbm5v29vZ7e3tTU1M7OzsfHx/FxcX39/eamppmZmaR
j5AgICCqqqrR0dFaV1gAAAAjHyD///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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FkCz2mlyooxcac0zJUyWM8YKFnn8
KLofdFy7brvwXLctZs+6KScOTrSr6uft2y4SmJqa+tUcxPeKY/iEcc4+W8qNfYUrdSTtYvnRrfE1
rgk1QOqBs207ideoc2gLJGFMtEQ6YQy53OvwA1DifmM86PhQKxSZ66+uI/o6zdVcMmwtRHrBiGbm
XWysp2FTjbERHHUEPXAgtDRxrY5Vfsvph6PebGnFvmcswSnp2PcDcECPdYzkz2M8ziBH9rtl8c/3
Gh/X9TtuOhphWyToedNUzEp0boyZ8zQNnHLrXIhLy5jplBHVINnHmKj+415Lamt+QAdWDkphmcC5
mh8lodvqNsOqDyHw5GjamHjKGLKEj66LuK7i5XfmsVbwdX1+leL9vTiLIiTy8qFFjHwygjQA7j46
sUc/oxpoY4w9YzRW+RbsZeJ135mnJ9ErCuv8T4yqCGH6zYoGOyOXDowSqJ5yRtq6jzq2/z2IL7+l
H58eaWxMiULLlRjUOCU2+kfKNkkDuam8KJP6eqPB0+eIU7PexswpjQdG5AAJEOL1X+vPt/7/cuLg
UP7L/QtHfANvSEKvsxvttAAAAABJRU5ErkJggg=


--0__
BBF5DADFFAD1E78f9e8a93df938690918c0ABBF5DADFFAD1E7--

Received on Friday, 29 January 2016 20:16:30 UTC