This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<title>Test Case</title> | |
</head> | |
<body> | |
<input type="text" aria-label="test input" /> | |
</body> | |
</html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const page = await browser.newPage(); | |
await page.goto('https://www.example.com', { waitUntil: "domcontentloaded" }); | |
const voiceOver = new VoiceOver(); | |
await voiceOver.launch(); | |
await voiceOver.rotor({ menu: "Window Spots", find: "conten" }); | |
await voiceOver.execute(startInteracting); | |
const output = await voiceOver.seek({ text: 'link More information...' }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% /System/Library/CoreServices/VoiceOver.app/Contents/MacOS/VoiceOver -h | |
Framework Version: 708.13 | |
Usage: VoiceOver <subcommand> [options...] | |
-h -- Help. | |
-k -- Keyboard Help. | |
-l logmask -- A comma separated list of log masks (mask1,mask2,...). | |
-p -- Do not show splash screen. | |
-q -- Quick start. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# end-to-end testing for Amazon Alexa (with display) | |
set -e | |
# invoke Alexa via ask API, and print the results to stdout | |
speak () { | |
echo "User:" | |
echo "> $1" | |
id=$(ask api simulate-skill --text "$1" --locale=en-US --skill-id=<skill-id> | jq -r '.id') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const ev = new KeyboardEvent("keydown", { key: "w" }); // replace "w" with the keyboard trigger value | |
document.querySelector("#root-1").dispatchEvent(ev); |
Here's a run-down of steps I've used to capture and report accessibility bugs in software.
If you're using MacOS, I recommend setting up VMWare Fusion, even if you have separate Windows hardware. It's much easier to switch between environments for quick screen reader debugging with a local VM.
I hereby claim:
- I am ckundo on github.
- I am ckundo (https://keybase.io/ckundo) on keybase.
- I have a public key ASAAPhGmfQuiVMNac6G8yJjflGQkjGFd4WEmTBWGj_9UOAo
To claim this, I am signing this object:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Snowdenize All Images | |
// @namespace net.trmm.snowdenize | |
// @author Trammell Hudson <[email protected]> and Cameron Cundiff <[email protected]> | |
// @include * | |
// @Grant none | |
// @version 2 | |
// ==/UserScript== | |
(function() { |
NewerOlder