On Thu, Apr 18, 2013 at 10:39 AM, Nancy Johnson <[email protected]> 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">
>
> Thank you,
>
> Nancy Johnson


Nancy,

I'm not sure why it validated before, but generally ARIA roles do not
pass validation.  I'd just ignore the error in this case and just
ensure that you are using the roles correctly.  If that section is
wrapping your main content, and it contains a heading of some sort (h1
fer example) tag, you're good to go.  Smarter thoughts than mine from
Steve Faulkner:
http://blog.paciellogroup.com/2009/01/how-can-i-validate-xhtml-aria/

Tim


--

[email protected]
______________________________________________________________________
css-discuss [[email protected]]
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