JSPM

@accesslint/auto-vo

1.9.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q18573F
  • License MIT

Automated VoiceOver macOS screen reader runner.

Package Exports

  • @accesslint/auto-vo
  • @accesslint/auto-vo/lib/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@accesslint/auto-vo) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Auto-VO

Automate VoiceOver for testing web applications.

Setup

  1. Open VoiceOver Utility and check "Allow VoiceOver to be controller with AppleScript".
  2. Enable Terminal app in System Preferences > Security & Privacy > Privacy > Accessibility.
  3. Accept Terminal VoiceOver automation permissions when prompted. (You can manage these later in System Preferences > Security & Privacy > Privacy > Automation).
  4. Optional: disable Dication shortcut under System Preferences > Keyboard > Dictation.
Screen Shot of automation preferences Screen Shot of VoiceOver Utility general pane

Usage

CLI

Running the cli outputs the phrases spoken by the screen reader to stdout.

$ npx @accesslint/auto-vo --url https://example.com --limit 5 --until 'Example'

--url URL - where URL is the url to test

--limit n - where n is the maximum number of cursor moves

--until s - where s is a search term, after which the script ends. supercedes --limit.

--quiet - do not print to stdout

Node Module

For programmatic usage, see VoiceOver.js, a standalone driver for VoiceOver screen reader on macOS.