1
Dumb Ideas / The new phenomenon in accessible, semantic, standards-compliant markup: tables!!
« Last post by Peter Hall on Today at 05:48:51 AM »
I've been obsessed for a while about how forums can be marked up without either resorting to non-semantic code or the kind of horrible, messy, confusing collection of nested ULs and DLs that some boards (phpBB, among one or two others) are using these days.
I've come to the conclusion that the proper way to deal with most forum data is by using tables, because it displays tabular data. The old-school forums that used tables for layout purposes used too many rows and not enough columns to display their data semantically.
Take topic view, for example. Post body and post options in the same column, in different cells. Poster name and contact info in the same column, sometimes in the same cell. Bleh.
I've designed a new topic view with four columns, so that uninterested users can ignore the user info and the post options if they want, leaving the most important stuff - post body and username - in columns of their own. I have, however, used a little CSS positioning to make it look more or less normal.
And here it is: http://www.peterhall.me.uk/workspace/tabular-posts/
Yes, it's missing a couple of things like an avatar, a user rank, some nice colours and images etc., but it's only a proof of concept.
I've put a little style switcher on it too, so you can see it's actually four columns. And I've attached it, in case you want to meddle with it.
It could perhaps be improved in one way: if I were to make it five columns, with the contact details in a separate one from the user stats. Because the content of the "missing" columns is absolutely positioned, it would have to go somewhere relatively predictable - for example, where the post title is now, rather than under the user stats which are of variable length. But who uses post titles anyway?
In my view it's the most accessible way the topic view has ever been laid out. Opinions please! (And don't be light on me, I'm used to getting a bashing for my efforts
)
Recent Posts