Skip to content

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.

* 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.

3 participants