Closed (fixed)
Project:
Select A11y NG
Version:
1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
18 Mar 2026 at 09:21 UTC
Updated:
1 Apr 2026 at 10:00 UTC
Jump to comment: Most recent
Follow-up to #3579873. The initial FunctionalJavascript tests bypassed the select-a11y widget by setting values directly on the hidden native <select> element, which defeats the purpose of JS testing. The search/filter feature was not tested at all. Additionally, the facets JS has a bug that prevents option selection from triggering navigation.
e.detail is always undefined on the standard change event — use element.selectedIndex instead.Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
mably commentedMR summary
All FunctionalJavascript tests now interact with the actual select-a11y widget UI (button click, search input, suggestion click) instead of setting values directly on the hidden native select.
Search functionality tested
hiddenattribute.Submission verification added to all submodule tests
WebformSubmissiondata contains the correct value.Facets JS bug fix
select-a11y-ng-facets.jsusede.detailon the change event which is alwaysundefined— replaced withelement.selectedIndexso facet option selection actually triggers navigation.Comment #4
mably commentedComment #5
mably commentedComment #7
mably commented