- Issue created by @thomas.frobieter
- 🇩🇪Germany Anybody Porta Westfalica
@thomas.frobieter are you sure this is a core issue and not caused by a theme override?
In Claro for example it works, see local actions e.g. at
/admin/content
:
Please see the Twig Debug comments in the screenshots and the given links to the template files.
- 🇩🇪Germany Anybody Porta Westfalica
So
This affects stable, stable9 and the core templates
means claro is not affected and for that reason it's working there?
- 🇩🇪Germany Anybody Porta Westfalica
Sidenote / idea: Perhaps core could have tests for the theme output for W3C compatibility? Perhaps using an automated crawler? Might be an interesting kind of testing for core to report such bugs automatically... but perhaps the idea is too crazy.
Right, Claro fixed this itself:
https://github.com/drupal/drupal/blob/11.x/core/themes/claro/templates/b...
Not sure where they have the menu-local-action.html.twig override, I couldn't find it and I don't have grep availalbe currently.
- Status changed to Closed: duplicate
over 1 year ago 12:39pm 18 July 2023 - 🇳🇱Netherlands idebr
This issue was reported earlier in 🐛 Local action links should be inside UL element Needs work . I'll close this issue as a duplicate, so we can focus our efforts in the related issue.