-
Notifications
You must be signed in to change notification settings - Fork 361
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
Skipto update and removing jumpto.js #2402
Conversation
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.
Thank you for simplifying the examples and upgrading the older jumpto implementation to the newer skipto implementation. I was able to verify that the issues mentioned in the PR are fixed, and I tested Chrome, Firefox and Safari on Mac and Chrome, Firefox and Edge on Windows. There are some visual differences caused by the configuration being different, and I think I'd vote that we preserve the existing behavior, but I'll leave the decision of how to proceed up to others who might have more context. Thanks!
The skipto configuration has You asked in the PR description how this file is processed when deployed to the website, and what happens is it does a find and replace on this file to change the |
I reran the test several times to make sure the reason the CI is failing is not a flaky test, but it does fail consistently. In the
It seems that the HTML ID may have changed due to upgrading the library. |
I just pushed fixes for the issues I identified above. Since I'm contributing to this PR now I assigned @howard-e to help me review. Thanks! |
Thank you for the fixes. Is it yet possible to get a netlify preview? |
@mcking65 the preview can be viewed here: w3c/wai-aria-practices#158. I created a PR on the WAI-ARIA Practices Repo because there were some lingering references to jumpto that prevented the preview link from building. It's probably worth noting that the current published version of the APG is already using skipto. |
@mcking65 @alflennik re-ran the action for triggering the WAI Preview Link being generated for this PR given that w3c/wai-aria-practices#158 has been approved and merged. The link is now attached. |
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.
LGTM
There is no change in the appearance of the skip to link in the preview site. |
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.
Skip to link appears the same in production and preview site
This pull request:
overflow-y: clip
.app.js
to addscripto.js
, instead ofjumpto.js
.I would be interested in learning more about how the
skipto.js
script gets translated and configured (if any) for the APG website.Jon
WAI Preview Link