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.
If would be useful to provide an option, default to off, to put the id and class attributes on the LI element instead of the A tag itself.
In some cases, an entire set of links including a top-level link and its sub-menu links need to be styled a certain way, which is impossible with the class/id on the A tag.
Comments
Comment #1
naught101 CreditAttribution: naught101 commentedsearch first: #755788: Add class/ID to <li> instead of <a>
Comment #1.0
naught101 CreditAttribution: naught101 commentedgrammar
Comment #2
bdanin CreditAttribution: bdanin commentedplease see https://drupal.org/node/1862048