Built-inAccessibility
Interaction Commands
Click buttons and links using voice commands.
Clicking Elements
Trigger click events on interactive elements like buttons and links by referencing their visible text.
| Command | Action | Target Match Strategy |
|---|---|---|
| "click [text]" | Clicks any element containing text | Label, innerText, aria-label |
| "click button [text]" | Clicks strictly buttons | <button> tags only |
Tips
- Use unique text labels for your buttons for better accuracy.
- If multiple buttons match (e.g., "Delete"), JSVoice will click the first visible one.