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.
Hello,
I use better exposed filters to display a taxonomy filter select list as a nested checkboxes tree.
But BEF output incorrect HTML for it resulting in a W3C Error :
Element ul not allowed as child of element ul in this context.
By looking at the code, I can see something like that :
...<ul class="bef-tree"><ul class='bef-tree-child bef-tree-depth-0'>...
This is wrong ! A ul element cannot be directly under a ul element. There should be a li between them.
Regards,
Alex
Comments
Comment #1
zmove CreditAttribution: zmove commentedAny news about it ? It seems to be a quite important problem to resolve as W3C validated pages help for a better SEO...
Comment #2
mikeker CreditAttribution: mikeker commentedFixed.