Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Can you tell me if your theme validates according to:
* WCAG 1.0 Priority 1
* XHTML 1.0 Strict
Also, info on Section 508 compliance would also be useful.
I haven't found an easy way to scan through those themes which comply.
Comments
Comment #1
peterx CreditAttribution: peterx commentedVisit http://d-theme.com/sharepoint_like. 6.x-1.1 is WCAG AA etc as far as a computer can check. The Cynthia Says links produce checklists of additional tests to be performed by humans.
Comment #2
mgiffordI still get 3 Validation Output errors:
-
Error Line 151, Column 59: document type does not allow element "ul" here; missing one of "object", "ins", "del", "map", "button" start-tag.
…r links">
And from http://wave.webaim.org/
Uh oh, WAVE has detected 2 accessibility errors
From an empty H1 tag and an empty H2 tag.
Thoughts?
Mike
Comment #3
peterx CreditAttribution: peterx commentedLinks can contain ul elements. ul elements are not allowed inside text level elements including em. The following line in node.tpl.php is probably causing one of the validation errors.
<div class="clear links"><em><?php print $links ?></em></div>
In page.tpl.php there is a h1 around site name. Is your site name empty?
Comment #4
mgiffordWell, in page.tpl.php, these are the lines in question:
This isn't ideal as if the $site_name isn't there then the theme is definitely broken.
However, this produces the following html:
Which shouldn't be causing any issues that I can see.
Mike
Comment #5
mgiffordadding accessibility tag