jjshell — 2011-08-15T14:33:55-04:00 — #1
I managed to suppress most presentational divs I was using. I'm kinda proud of it, and the mood around those forums has definitely something to do with it.
Now, I've got a bunch of <p> tags within <div role="main">. Those paragraphs are part of an article. I'd like to use role="article".
Problem: each <p> would be considered as an article. Saying that the parent div is role="article" wouldn't work: it's already role="main".
I feel like I have to throw one more div into my mark-up.
How would you handle it?
stomme_poes — 2011-09-05T06:21:02-04:00 — #2
If there's only one article on the page, you just need the main role.
If you're going to use a role of article, that kinda suggests there are many on the page.
Similar to using the article HTML5 tag.
Also, elements may have more than one role so long as they do not interfere with each other.
rguy84 — 2011-08-15T15:52:27-04:00 — #3
Sample code, screen shot and/or link would help
jjshell — 2011-08-15T17:11:20-04:00 — #4