Re:CSS Zen Garden
by 98codes on Thursday March 19, 2020 @11:57AM
(#22628669)
A11y hang-ups? It's a benefit that it makes it less accessible? That doesn't make any sense to me at all.
[ Parent
| on HN ]
You have it the wrong way round, it's a benefit that it makes it more accessible.
Abled people benefit from a system where their browser considers that div as "table-like" in the way content flows through it. Likewise, disabled people benefit from the fact that their screen-readers consider the div as a simple container without imparting any sort of tabular semantics ie expecting some data organized in rows and columns.
I think they mean to say that sometimes you might want the visual structure of a table but you don't necessarily want it announced as a table via screen readers since it isn't data that's being represented.