-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Support multiple settings #1314
Draft
howard-e
wants to merge
1
commit into
development
Choose a base branch
from
support-multiple-settings
base: development
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,115 +1,133 @@ | ||
[ | ||
{ | ||
"id": 1, | ||
"name": "JAWS", | ||
"key": "jaws", | ||
"vendorId": 1, | ||
"defaultConfigurationInstructionsHTML": "Configure JAWS with default settings. For help, read <a href="https://github.com/w3c/aria-at/wiki/Configuring-Screen-Readers-for-Testing">Configuring Screen Readers for Testing</a>.", | ||
"assertionTokens": { | ||
"screenReader": "JAWS", | ||
"interactionMode": "PC cursor active", | ||
"readingMode": "virtual cursor active", | ||
"readingCursor": "virtual cursor" | ||
}, | ||
"settings": { | ||
"virtualCursor": { | ||
"screenText": "virtual cursor active", | ||
"instructions": [ | ||
"Press <kbd>Alt</kbd>+<kbd>Delete</kbd> to determine which cursor is active.", | ||
"If the PC cursor is active, press <kbd>Escape</kbd> to activate the virtual cursor." | ||
] | ||
}, | ||
"pcCursor": { | ||
"screenText": "PC cursor active", | ||
"instructions": [ | ||
"Press <kbd>Alt</kbd>+<kbd>Delete</kbd> to determine which cursor is active.", | ||
"If the virtual cursor is active, press <kbd>Insert</kbd>+<kbd>z</kbd> to disable the virtual cursor." | ||
] | ||
} | ||
} | ||
{ | ||
"id": 1, | ||
"name": "JAWS", | ||
"key": "jaws", | ||
"vendorId": 1, | ||
"defaultConfigurationInstructionsHTML": "Configure JAWS with default settings. For help, read <a href="https://github.com/w3c/aria-at/wiki/Configuring-Screen-Readers-for-Testing">Configuring Screen Readers for Testing</a>.", | ||
"assertionTokens": { | ||
"screenReader": "JAWS", | ||
"interactionMode": "PC cursor active", | ||
"readingMode": "virtual cursor active", | ||
"readingCursor": "virtual cursor" | ||
}, | ||
{ | ||
"id": 2, | ||
"name": "NVDA", | ||
"key": "nvda", | ||
"vendorId": 6, | ||
"defaultConfigurationInstructionsHTML": "Configure NVDA with default settings. For help, read <a href="https://github.com/w3c/aria-at/wiki/Configuring-Screen-Readers-for-Testing">Configuring Screen Readers for Testing</a>.", | ||
"assertionTokens": { | ||
"screenReader": "NVDA", | ||
"interactionMode": "focus mode", | ||
"readingMode": "browse mode", | ||
"readingCursor": "browse mode caret" | ||
}, | ||
"settings": { | ||
"browseMode": { | ||
"screenText": "browse mode on", | ||
"instructions": [ | ||
"Press <kbd>Insert</kbd>+<kbd>Space</kbd>.", | ||
"If NVDA made the focus mode sound, press <kbd>Insert</kbd>+<kbd>Space</kbd> again to turn browse mode back on." | ||
] | ||
}, | ||
"focusMode": { | ||
"screenText": "focus mode on", | ||
"instructions": [ | ||
"Press <kbd>Insert</kbd>+<kbd>Space</kbd>.", | ||
"If NVDA made the browse mode sound, press <kbd>Insert</kbd>+<kbd>Space</kbd> again to turn focus mode back on." | ||
] | ||
} | ||
} | ||
"settings": { | ||
"virtualCursor": { | ||
"screenText": "virtual cursor active", | ||
"instructions": [ | ||
"Press <kbd>Alt</kbd>+<kbd>Delete</kbd> to determine which cursor is active.", | ||
"If the PC cursor is active, press <kbd>Escape</kbd> to activate the virtual cursor." | ||
] | ||
}, | ||
"pcCursor": { | ||
"screenText": "PC cursor active", | ||
"instructions": [ | ||
"Press <kbd>Alt</kbd>+<kbd>Delete</kbd> to determine which cursor is active.", | ||
"If the virtual cursor is active, press <kbd>Insert</kbd>+<kbd>z</kbd> to disable the virtual cursor." | ||
] | ||
}, | ||
"speechRateIncrease": { | ||
"screenText": "Speech Rate Increase", | ||
"instructions": [ | ||
"Ensure you are in JAWS mode. Press <kbd>Insert</kbd>+<kbd>j</kbd> if you are unsure.", | ||
"Press <kbd>Insert</kbd>+<kbd>Ctrl</kbd>+<kbd>Page Up</kbd> to increase the speech rate." | ||
] | ||
}, | ||
"commentAnnouncementOn": { | ||
"screenText": "Comment Announcement On", | ||
"instructions": [ | ||
"Ensure you are in JAWS mode. Press <kbd>Insert</kbd>+<kbd>j</kbd> if you are unsure.", | ||
"Use the arrow keys to select 'Speech & Sounds' from the categories list.", | ||
"Find and choose the option related to comment announcements. This might be listed under 'Speech Settings' or a similar category.", | ||
"Look for a checkbox or toggle to enable comment announcements and check or activate it.", | ||
"Click 'Apply' to save your changes.", | ||
"Press <kbd>Enter</kbd> to confirm and exit the Settings Center." | ||
] | ||
} | ||
} | ||
}, | ||
{ | ||
"id": 2, | ||
"name": "NVDA", | ||
"key": "nvda", | ||
"vendorId": 6, | ||
"defaultConfigurationInstructionsHTML": "Configure NVDA with default settings. For help, read <a href="https://github.com/w3c/aria-at/wiki/Configuring-Screen-Readers-for-Testing">Configuring Screen Readers for Testing</a>.", | ||
"assertionTokens": { | ||
"screenReader": "NVDA", | ||
"interactionMode": "focus mode", | ||
"readingMode": "browse mode", | ||
"readingCursor": "browse mode caret" | ||
}, | ||
"settings": { | ||
"browseMode": { | ||
"screenText": "browse mode on", | ||
"instructions": [ | ||
"Press <kbd>Insert</kbd>+<kbd>Space</kbd>.", | ||
"If NVDA made the focus mode sound, press <kbd>Insert</kbd>+<kbd>Space</kbd> again to turn browse mode back on." | ||
] | ||
}, | ||
"focusMode": { | ||
"screenText": "focus mode on", | ||
"instructions": [ | ||
"Press <kbd>Insert</kbd>+<kbd>Space</kbd>.", | ||
"If NVDA made the browse mode sound, press <kbd>Insert</kbd>+<kbd>Space</kbd> again to turn focus mode back on." | ||
] | ||
} | ||
} | ||
}, | ||
{ | ||
"id": 3, | ||
"name": "VoiceOver for macOS", | ||
"key": "voiceover_macos", | ||
"vendorId": 4, | ||
"defaultConfigurationInstructionsHTML": "Configure VoiceOver with default settings. For help, read <a href="https://github.com/w3c/aria-at/wiki/Configuring-Screen-Readers-for-Testing">Configuring Screen Readers for Testing</a>.", | ||
"assertionTokens": { | ||
"screenReader": "VoiceOver", | ||
"readingCursor": "VoiceOver cursor" | ||
}, | ||
{ | ||
"id": 3, | ||
"name": "VoiceOver for macOS", | ||
"key": "voiceover_macos", | ||
"vendorId": 4, | ||
"defaultConfigurationInstructionsHTML": "Configure VoiceOver with default settings. For help, read <a href="https://github.com/w3c/aria-at/wiki/Configuring-Screen-Readers-for-Testing">Configuring Screen Readers for Testing</a>.", | ||
"assertionTokens": { | ||
"screenReader": "VoiceOver", | ||
"readingCursor": "VoiceOver cursor" | ||
}, | ||
"settings": { | ||
"quickNavOn": { | ||
"screenText": "quick nav on", | ||
"instructions": [ | ||
"Simultaneously press <kbd>Left Arrow</kbd> and <kbd>Right Arrow</kbd>.", | ||
"If VoiceOver said 'quick nav off', press <kbd>Left Arrow</kbd> and <kbd>Right Arrow</kbd> again to turn it back on." | ||
] | ||
}, | ||
"quickNavOff": { | ||
"screenText": "quick nav off", | ||
"instructions": [ | ||
"Simultaneously press <kbd>Left Arrow</kbd> and <kbd>Right Arrow</kbd>.", | ||
"If VoiceOver said 'quick nav on', press <kbd>Left Arrow</kbd> and <kbd>Right Arrow</kbd> again to turn it back off." | ||
] | ||
}, | ||
"arrowQuickKeyNavOn": { | ||
"screenText": "arrow quick key nav on", | ||
"instructions": [ | ||
"Simultaneously press <kbd>Left Arrow</kbd> and <kbd>Right Arrow</kbd>.", | ||
"If VoiceOver said 'arrow quick key nav off', press <kbd>Left Arrow</kbd> and <kbd>Right Arrow</kbd> again to turn it back on." | ||
] | ||
}, | ||
"arrowQuickKeyNavOff": { | ||
"screenText": "arrow quick key nav off", | ||
"instructions": [ | ||
"Simultaneously press <kbd>Left Arrow</kbd> and <kbd>Right Arrow</kbd>.", | ||
"If VoiceOver said 'arrow quick key nav on', press <kbd>Left Arrow</kbd> and <kbd>Right Arrow</kbd> again to turn it back off." | ||
] | ||
}, | ||
"singleQuickKeyNavOn": { | ||
"screenText": "single quick key nav on", | ||
"instructions": [ | ||
"Press <kbd>Control</kbd>+<kbd>Option</kbd>+<kbd>q</kbd>.", | ||
"If VoiceOver said 'single quick key nav off', press <kbd>Control</kbd>+<kbd>Option</kbd>+<kbd>q</kbd> again to turn it back on." | ||
] | ||
}, | ||
"singleQuickKeyNavOff": { | ||
"screenText": "single quick key nav off", | ||
"instructions": [ | ||
"Press <kbd>Control</kbd>+<kbd>Option</kbd>+<kbd>q</kbd>.", | ||
"If VoiceOver said 'single quick key nav on', press <kbd>Control</kbd>+<kbd>Option</kbd>+<kbd>q</kbd> again to turn it back off." | ||
] | ||
} | ||
} | ||
"settings": { | ||
"quickNavOn": { | ||
"screenText": "quick nav on", | ||
"instructions": [ | ||
"Simultaneously press <kbd>Left Arrow</kbd> and <kbd>Right Arrow</kbd>.", | ||
"If VoiceOver said 'quick nav off', press <kbd>Left Arrow</kbd> and <kbd>Right Arrow</kbd> again to turn it back on." | ||
] | ||
}, | ||
"quickNavOff": { | ||
"screenText": "quick nav off", | ||
"instructions": [ | ||
"Simultaneously press <kbd>Left Arrow</kbd> and <kbd>Right Arrow</kbd>.", | ||
"If VoiceOver said 'quick nav on', press <kbd>Left Arrow</kbd> and <kbd>Right Arrow</kbd> again to turn it back off." | ||
] | ||
}, | ||
"arrowQuickKeyNavOn": { | ||
"screenText": "arrow quick key nav on", | ||
"instructions": [ | ||
"Simultaneously press <kbd>Left Arrow</kbd> and <kbd>Right Arrow</kbd>.", | ||
"If VoiceOver said 'arrow quick key nav off', press <kbd>Left Arrow</kbd> and <kbd>Right Arrow</kbd> again to turn it back on." | ||
] | ||
}, | ||
"arrowQuickKeyNavOff": { | ||
"screenText": "arrow quick key nav off", | ||
"instructions": [ | ||
"Simultaneously press <kbd>Left Arrow</kbd> and <kbd>Right Arrow</kbd>.", | ||
"If VoiceOver said 'arrow quick key nav on', press <kbd>Left Arrow</kbd> and <kbd>Right Arrow</kbd> again to turn it back off." | ||
] | ||
}, | ||
"singleQuickKeyNavOn": { | ||
"screenText": "single quick key nav on", | ||
"instructions": [ | ||
"Press <kbd>Control</kbd>+<kbd>Option</kbd>+<kbd>q</kbd>.", | ||
"If VoiceOver said 'single quick key nav off', press <kbd>Control</kbd>+<kbd>Option</kbd>+<kbd>q</kbd> again to turn it back on." | ||
] | ||
}, | ||
"singleQuickKeyNavOff": { | ||
"screenText": "single quick key nav off", | ||
"instructions": [ | ||
"Press <kbd>Control</kbd>+<kbd>Option</kbd>+<kbd>q</kbd>.", | ||
"If VoiceOver said 'single quick key nav on', press <kbd>Control</kbd>+<kbd>Option</kbd>+<kbd>q</kbd> again to turn it back off." | ||
] | ||
} | ||
} | ||
] | ||
} | ||
] |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
const spawn = require('cross-spawn'); | ||
|
||
const ariaAtRepo = 'https://github.com/w3c/aria-at.git'; | ||
const ariaAtDefaultBranch = 'master'; | ||
const ariaAtDefaultBranch = 'fix-1002-test'; // TODO: Revert to master before merging; based on test PR https://github.com/w3c/aria-at/pull/1126 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Warning This branch was set to test an example scenario with the "Alert" plan and should be reverted before merging |
||
|
||
/** | ||
* Executes a git command and returns its output. | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Warning
The settings introduced here are fake (included through w3c/aria-at#1126) and should be removed before merging