[ARIA] Table and cell roles redux

Hi all.

Since the table and cell roles are apparently making a potential
comeback, I've created a new branch. The new roles can be found here:
* https://rawgit.com/w3c/aria/table-and-cell/aria/aria.html#cell
* https://rawgit.com/w3c/aria/table-and-cell/aria/aria.html#table

Some specifics:
* Cell is a subclass of section and supports aria-colindex,
  aria-colspan, aria-rowindex, and aria-rowspan.
* Gridcell is now a subclass of cell rather than section. The row and
  column properties mentioned above are removed from gridcell as they
  are now inherited from the superclass cell role.
* Cell is now an additional superclass of columnheader and rowheader.
  This should allow the reuse of headers in non-interactive tables.
* Widget is no longer an immediate superclass of columnheader and
  rowheader. For one thing, columnheader and rowheader are subclasses
  of gridcell, and gridcell already is a subclass of widget. In
  addition, if these header roles are used in non-interactive tables,
  they won't necessarily be widgets.
* Cell was added as one of the required owned elements of row.
* Table is a subclass of section and supports aria-colcount and
  aria-rowcount.
* Grid is now a subclass of table rather than section. The aria-colcount
  and aria-rowcount properties were removed from grid as they are now
  inherited from the superclass table role.
* Table was added to the description and context roles of row and
  rowgroup.

Lastly, I have some not-yet-committed changes related to this, along
with some cleanup, for role grid. Given how hard it has been for us to
reach consensus on this, I figured I'd aim for keeping things simple.
<smiles> If we all can reach consensus on the above, then I'll make the
grid role changes in the branch for your consideration.

Thanks!
--joanie

Received on Thursday, 4 June 2015 14:55:05 UTC