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.
I have a site that uses breadcrumbs. The id that is generated by this module appears twice, once for the breadcrumb and once for the menu item in the Primary Links menu. Thus, validation fails when I submit the website to http://validator.w3.org/.
Comments
Comment #1
new_B CreditAttribution: new_B commentedComment #2
Dave ReidThen you probably need to reconsider using an ID with your link as links can be output more than once on a page.
Comment #4
Ludo.RThis happens for Drupal 7.x too.
Is it by design or can we do somehting for it?
Comment #5
joelpittetIt's by design, not sure we can target all the specific menus or breadcrumbs from the UI. You may need to get clever with a hook for breadcrumb link rendering to modify the IDs.