-
Notifications
You must be signed in to change notification settings - Fork 791
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
Remove "restoreScroll" option #2388
Labels
Milestone
Comments
WilcoFiers
added
core
Issues in the core code (lib/core)
docs
Documentation changes
tech debt
Technical debt related tasks
labels
Jul 16, 2020
2 tasks
changelog still has references to restoreScroll from previous versions. |
2 tasks
This was referenced Oct 17, 2022
4 tasks
dbjorge
added a commit
to microsoft/accessibility-insights-web
that referenced
this issue
Feb 22, 2023
…6448) #### Details `axe-core` removed its `restoreScroll` option in mid-2020, when they updated the only rule that scrolled the page to no longer ever do that in [PR 2388](dequelabs/axe-core#2388). This PR removes the obsolete option from our axe-config. ##### Motivation * Code cleanup, axe-core doesn't care whether the option is passed or not. * Preparation for [using the axe-config output in service](microsoft/accessibility-insights-service#2402) ##### Context n/a #### Pull request checklist <!-- If a checklist item is not applicable to this change, write "n/a" in the checkbox --> - [n/a] Addresses an existing issue: #0000 - [x] Ran `yarn fastpass` - [x] Added/updated relevant unit test(s) (and ran `yarn test`) - [x] Verified code coverage for the changes made. Check coverage report at: `<rootDir>/test-results/unit/coverage` - [x] PR title *AND* final merge commit title both start with a semantic tag (`fix:`, `chore:`, `feat(feature-name):`, `refactor:`). See `CONTRIBUTING.md`. - [n/a] (UI changes only) Added screenshots/GIFs to description above - [n/a] (UI changes only) Verified usability with NVDA/JAWS
abassey2
pushed a commit
to msa2984/accessibility-insights-web
that referenced
this issue
Feb 22, 2023
…icrosoft#6448) #### Details `axe-core` removed its `restoreScroll` option in mid-2020, when they updated the only rule that scrolled the page to no longer ever do that in [PR 2388](dequelabs/axe-core#2388). This PR removes the obsolete option from our axe-config. ##### Motivation * Code cleanup, axe-core doesn't care whether the option is passed or not. * Preparation for [using the axe-config output in service](microsoft/accessibility-insights-service#2402) ##### Context n/a #### Pull request checklist <!-- If a checklist item is not applicable to this change, write "n/a" in the checkbox --> - [n/a] Addresses an existing issue: #0000 - [x] Ran `yarn fastpass` - [x] Added/updated relevant unit test(s) (and ran `yarn test`) - [x] Verified code coverage for the changes made. Check coverage report at: `<rootDir>/test-results/unit/coverage` - [x] PR title *AND* final merge commit title both start with a semantic tag (`fix:`, `chore:`, `feat(feature-name):`, `refactor:`). See `CONTRIBUTING.md`. - [n/a] (UI changes only) Added screenshots/GIFs to description above - [n/a] (UI changes only) Verified usability with NVDA/JAWS
abassey2
pushed a commit
to msa2984/accessibility-insights-web
that referenced
this issue
Feb 22, 2023
…icrosoft#6448) #### Details `axe-core` removed its `restoreScroll` option in mid-2020, when they updated the only rule that scrolled the page to no longer ever do that in [PR 2388](dequelabs/axe-core#2388). This PR removes the obsolete option from our axe-config. ##### Motivation * Code cleanup, axe-core doesn't care whether the option is passed or not. * Preparation for [using the axe-config output in service](microsoft/accessibility-insights-service#2402) ##### Context n/a #### Pull request checklist <!-- If a checklist item is not applicable to this change, write "n/a" in the checkbox --> - [n/a] Addresses an existing issue: #0000 - [x] Ran `yarn fastpass` - [x] Added/updated relevant unit test(s) (and ran `yarn test`) - [x] Verified code coverage for the changes made. Check coverage report at: `<rootDir>/test-results/unit/coverage` - [x] PR title *AND* final merge commit title both start with a semantic tag (`fix:`, `chore:`, `feat(feature-name):`, `refactor:`). See `CONTRIBUTING.md`. - [n/a] (UI changes only) Added screenshots/GIFs to description above - [n/a] (UI changes only) Verified usability with NVDA/JAWS
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Because the color-contrast rule no longer scrolls, the restoreScroll option does nothing. This should be taken out of core and out of the docs. I don't think we need to deprecate it either, just as long as passing it doesn't cause axe-core to crash.
The text was updated successfully, but these errors were encountered: