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

zmove’s picture

Any news about it ? It seems to be a quite important problem to resolve as W3C validated pages help for a better SEO...

mikeker’s picture

Status: Active » Fixed

Fixed.

  • mikeker committed 1be4697 on 7.x-3.x
    Issue #2419335: W3C Error : Element ul not allowed as child of element...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.