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.

CommandActionTarget Match Strategy
"click [text]"Clicks any element containing textLabel, 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.