AFAIK, Section's role is implied but if you want to make it specific then you 
should be using DIV.  For example this code would validate:


<div id="section" role="main">
   This is a section of my page!!!!!
</div>

Lots of HTML tags will not accept the "role" attribute.  Don't know why but it 
could be because their meaning is obvious.  H tags are for headings so it won't 
accept role attribute.


--- On Thu, 18/4/13, Nancy Johnson <njohnso...@gmail.com> wrote:


> When I first went live with a website
> a few months ago, the following
> code validated and now it doesn't.   Why?
> 
> <section role="main">
> 

______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to