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.
when I ran my test site: http://drp7.rvuuf.org/
thru the W3C markup validator: http://validator.w3.org
I got errors where id attributes were doubled for AT Commerce & Pixture Reloaded (both 7.x.30.-rc1)
hgroup id="name-and-slogan" id="name-and-slogan"
h1 id="site-name" id="site-name"
h2 id="site-slogan" id="site-slogan"
not a real problem, but thought I'd report anyway (Minor)...
Comments
Comment #1
Jeff Burnz CreditAttribution: Jeff Burnz commentedLooks like a PR specific issue, needs a minor change to the page template.
Comment #2
saweyer CreditAttribution: saweyer commentedyou're right. I checked the original templates/page.tpl.php under Pixture Reloaded.
each of those 3 tags (hgroup, h1, h2) include an explicit id= attribute.
but apparently $hgroup_attributes, $site_name_attributes, and $site_slogan_attributes include 'id' also
since when I remove the explicit id= attribute from the template file, the resulting page source then has only one id= per tag now.
since the other 3 themes (AT Commerce, Corolla, Sky) also have the explicit id= tags, and the same attribute variables, I'd predict that they'll also suffer from duplication.
Steve
Comment #3
Jeff Burnz CreditAttribution: Jeff Burnz commentedYep, just an oversight during the upgrade - I moved all these id's and classes into the attributes system to make it easier to override and add to dynamically without having to hack template files.