Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

>knows that a <div> must be for layout but couldn't possibly treat <table> the same way //

How then would you treat actual tables, like <table noreally="true"><tr><th> ... ?

Screenreaders treat tables differently because they carry semantic weight - table headings, rows and such relate to one another in a way that mere areas of a web-page do not.

It's not the table tag that's bad, people don't [shouldn't!] use divs for marking up tabular data.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: