- Issue created by @RMattB
The dropdown <select>
element has the same ID as the <ul>
element it was created from, by Drupal.facets.makeDropdown. Duplicate IDs are invalid HTML per
https://www.w3.org/TR/html401/struct/global.html#h-7.5.2
https://git.drupalcode.org/project/facets/-/blob/2.0.x/js/dropdown-widge...
The code comment says that it will // Preserve all attributes of the list
and it does, including the ID, which should not remain on the list.
Inspect a facet dropdown widget. Or try to run a behat test using the dropdown's ID.
When the <select>
element is created, remove the duplicate id from the unused <ul>
element.
-
-
-
Active
2.0
Code
It affects the ability of people with disabilities or special needs (such as blindness or color-blindness) to use Drupal.