4 ms·
If I remember correctly, the summary="", was suggested for layout tables. I never looked into screen reader support for that though.
by DougBTX 13y ago
If I remember correctly, the summary="", was suggested for layout tables. I never looked into screen reader support for that though.
- wwweston 13y agoThat's smart. A present but blank summary attribute would've been a great indicator. I also think that it could've been done pretty reliably by heuristics. A table that mostly has data cells that contain lots of images or block-level markup as descendants is quite likely a markup table. A table that has mostly text or inline-marked cells and has a full summary attribute or <caption> is all but certainly semantic. I guess with IE 6&7 all but dead, though, it's sortof irrelevant now -- you can mostly count on `display: table-cell` to help you out of a jam.
- steveax 13y agoWhat you want to make (modern) screen readers not try and parse the table semantics is to set the role to presentation: <table role="presentation">