Skip to content
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

Support space-separated list of AT settings #74

Merged
merged 1 commit into from
Feb 11, 2025

Conversation

outofambit
Copy link
Contributor

@outofambit outofambit commented Feb 6, 2025

adds support in the test harness for the changes in w3c/aria-at#1125. should be backwards compatible with current single setting approach.

if conflicting settings are in the list, whichever one is later in the list will win.

replaces #73

desiredResponse
);
for (const setting of settingsArray) {
switch (setting.toLowerCase()) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for the purposes of this control flow, we could ditch the lower casing and update the case statements but i was wary of doing so in case configuration elsewhere assumes that all lowercase is valid.

@@ -90,30 +90,40 @@ export class DriverTestRunner {
/**
* Used for v2 tests to ensure proper settings.
*
* @param {string} settings - "browseMode" "focusMode" for NVDA, "pcCursor" "virtualCursor"
* for JAWS., "defaultMode" for others.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I remove the reference to JAWS because there is no JAWS functionality in this function

@outofambit outofambit marked this pull request as ready for review February 6, 2025 21:29
@jugglinmike jugglinmike merged commit e252d33 into main Feb 11, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants