{"body":"James Craig to Everyone (3:18 PM)\nIf you're on Mac, I’m reading this from Script Editor.app > Window > Library. VoiceOver is at the bottom of the list.\nJames Craig to Everyone (3:37 PM)\nCameron Cundiff has published some of his work writing VO automation: https://www.smashingmagazine.com/2021/06/automating-screen-reader-testing-macos-autovo/\nhttps://github.com/AccessLint/voiceover.js\nMichael Fairchild to Everyone (3:39 PM)\nI was just reading that project, James. it looks like they are issuing keyboard commands to control VoiceOver there. That seems to be in contrast to what we were just discussing. Is that correct? I'm not very familiar with applescript, so maybe I'm missing something.\nJames Craig to Everyone (3:42 PM)\nIt may be injecting keys via the CLI, but those would not be interpreted by VoiceOver. The VoiceOver interface used is a JavaScript bridge to the AppleScript bridge:\nJames Craig to Everyone (3:42 PM)\nThen, a series of JavaScript executables manage the AppleScript instructions to navigate and capture VoiceOver announcements. For example, this script gets the last phrase from the screen reader announcements:\nfunction run() {\n  const voiceOver = Application('VoiceOver');\n  return voiceOver.lastPhrase.content();\n}\nMe to Everyone (3:45 PM)\nwe're actually hoping to use something more like this to capture speech: https://github.com/eeejay/osx-a11y-tools/tree/master/BenchmarkSynthesizer\nMe to Everyone (3:45 PM)\n(for higher fidelity with what the user is hearing)\nMichael Fairchild to Everyone (3:46 PM)\nIt looks like they are using the System Events AppleScript to send keyboard commands to VoiceOver.\nJames Craig to Everyone (3:49 PM)\nThanks for the pointer. I will investigate.\nMichael Fairchild to Everyone (3:51 PM)\nAnd these commands for example, all reference keycode and modifiers that are consumed by System Events https://github.com/AccessLint/screenreaders/blob/main/packages/voiceover/src/Commands.ts\n(again, I may be misunderstanding... just trying to better understand what's happening here and learn)\nJames Craig\nhttps://github.com/w3c/aria-at/issues/784","name":"zoom_log","extension":"txt","url":"https://www.irccloud.com/pastebin/hDCF2osD/zoom_log","modified":1664222661,"id":"hDCF2osD","size":2101,"lines":28,"own_paste":false,"theme":"","date":1664222661}