On Tue, May 25, 2010 at 14:31, Thomas Mortagne <[email protected]>wrote:
> Hi dev, > > For Dutch Web Guidelines validity a <th> have to contains scope > attribute (scope="col" or scope="row") which means that default wiki > tables are invalid currently. > > See http://www.w3.org/TR/xhtml2/mod-tables.html#non-visual-rendering > for example of scope attribute use. > > I propose to modify XHTML renderer table header cell to do the following: > * if a scope is explicitly provided reuse it > * if there is no scope: > ** if first line or not first column: <th scope="col"> > ** if not first line and first column: <th scope="row"> > Checking that there is more cells next to the th would be nice as well. It happens that you use a th covering a whole row (colspan) to split the table somehow with header. WDYT ? I thing that covers most of the use cases and it will avoid having to > set explicitly scope attribute in all our standard pages. I hope so as well, but this could also produce wrong information... so I am +0 Denis -- Denis Gervalle SOFTEC sa - CEO eGuilde sarl - CTO _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

