- From: Chaals Nevile <chaals@yandex.ru>
- Date: Mon, 07 May 2018 00:58:55 +0200
- To: w3c-wai-ig@w3.org
This is something that people have asked about before, although perhaps not for accessibility purposes. I had a bit of a look, and it doesn't seem obvious. I had a bit of a play last night. Using two tbody elements their style as display:table-cell sort of gives the right effect, but breaks the table into two, much as using nested tables does, so there's little apparent value over just having two side-by-side tables. I couldn't make multicolumn layout work in a table (although I didn't try very hard either). I suspect the quick and dirty solution is to use some struture like a dl, with the two pieces displayed inline with borders, and then add aria table markup if you want it. I have taken a similar approach using aria table markup in SVG, and it seems to work relatively well for screen readers. I'll be interested to hear if there is some good solution. I will also follow up with the CSS Working Group, since I could not see any evidence that they had really considered this, although it might be because I didn't look carefully enough. cheers Chaals On Fri, 04 May 2018 22:21:27 +0200, Michael A. Peters <mpeters@domblogger.net> wrote: > Hello, > > I am sure this is covered somewhere, but I just can not find where. > > Tabular data, 9 pairs of key = value data. But the table cell contents > are short, so instead of just two columns I want to do four columns > where the third is a continuation of the first and the fourth is a > continuation of the third, e.g. > > [ caption of the table] > [ key ] [ value ] [ key ] [ value ] > 001 first 006 sixth > 002 second 007 seventh > 003 third 008 eighth > 004 fourth 009 tenth > 005 fifth > > > Is there a way to mark that up so screen readers will read them as pairs > in the order 001 to 009 in order? > > I can't be the first to have needed this. > -- Chaals: Charles (McCathie) Nevile find more at https://yandex.com Using Opera's long-abandoned mail client: http://www.opera.com/mail/ Is there really still nothing better?
Received on Sunday, 6 May 2018 22:59:58 UTC