Skip to content

[Bug] Fix the filtering logic not triggering with voice search #1507

@traitor09

Description

@traitor09

Description

Using mic input updates the search field but doesn’t trigger filtering. Typed input works as expected. The filtering logic depends on "input" events, which voice input doesn’t trigger by default.

Context

This happens in script.js, inside the resultOfSpeechRecognition handler. The input value updates, but the filtering logic (filterComponents) doesn’t run because there's no event fired.
Reproducible across pages using the shared search bar.

voicesearchissue.mp4

Screenshots

Fix (Tested)

This correctly simulates a real input event and triggers filtering as expected .

issuefixed.mp4

Fix is ready — please assign this to me so I can open the PR.

Checklist

  • I have checked the existing issues.
  • I follow Contributing Guidelines of this project.
  • I am an IWOC'25 contributor.
  • I am a SWOC'25 contributor.

Code of Conduct

Metadata

Metadata

Assignees

Labels

EasyLow effort straightforward taskbug 🐞Something isn't workingenhancement ✨New feature or requeststyle tweak 🎨Improve the website style or formatting

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions