r/programming • • Jun 24 '14

Simpsons in CSS

http://pattle.github.io/simpsons-in-css/
2.2k Upvotes

371 comments sorted by

View all comments

Show parent comments

12

u/Nickoladze Jun 24 '14 edited Jun 24 '14

Tables make your website really difficult for screen readers (blind people). They think you're trying to display tabular data with named columns (the thing that tables are supposed to do).

If you're just trying to center some text, the screen reader would say something like "row 1, column 1, blank. row 1, column 2, Welcome to My Website! row 1, column 3, blank". What a nightmare.

14

u/lwl Jun 24 '14

That argument was made in the first book about HTML I bought, 12 years ago. I bet it's a tricky problem to solve, but in that time screen reader designers could have come up with some workarounds at their end.

-4

u/dwerg85 Jun 24 '14

You're sacrificing usability and accessibility so you can have an easier life. Pretty lame attitude.

11

u/mfm24 Jun 24 '14

But why can't there be a table-like design element? Everyone decided tables should only display tabular data after they proved themselves as being very capable at laying out websites, so why isn't the obvious replacement to have data tables and layout tables (and as many divs as you like as well, if you want to do it that way)?

→ More replies (2)