Posts: 5,938
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
|
blue-dreamer is right. It's not that tables aren't accessible in and of themselves. It's that they were designed for the purposes of organizing content that is tabular in nature, such as sports standings. Due to the lack of anything else to do the job better, tables were used for layouts as well for the longest time.
Now, with the advent of CSS and XHTML, designers don't have to do that anymore. The div tag, with the correct CSS, can create a tableless, cross-browser compatible, accessible layout that is much leaner and easier to debug.
You can still use tables for things, and there are times and places where they have a legitimate purpose (shopping cart order details, the sports standings as I said earlier.) My rule of thumb is that anything that is presented in rows and columns is tabular: everything else should use a div.
Basically, if you start with a tableless layout, make sure it validates, build your shell out and go from there, you'll be fine for the most part. You'll hit the odd "WHY THE *@#$@*#$@$#@# DOESN'T THIS @#$*@()$@*#()$@ WORK?" but they'll get fewer and farther between as you go.
The problem is that most of the standards-types don't explain any of this very well, and that's what leads to confusion and misunderstanding.
|