-
Notifications
You must be signed in to change notification settings - Fork 472
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 skip-link-focus-fix.js #1653
Remove skip-link-focus-fix.js #1653
Conversation
We're definitely open to (and eventually will) remove IE11 only fixes, however, it's too premature for us to do so at this time. The current IE11 phase out plan starts with WordPress 5.8 release and with a focus on admin side support initially. Since our products still support earlier versions of WordPress we can't completely drop IE11 support until we bump up our minimum requirements. I definitely appreciate the initiative here (and am looking forward to the day we can completely drop these IE11 workarounds!) but it'll be a while before we can merge pull requests like this. |
WordPress 5.8 was already released, moreover, the WooCommerce developper blog state that IE11 support will be fully removed by WooCommerce 5.6, which will be released on August 10th. In light of recent events, can this pull request be reopened and merged? |
I've re-opened this for reconsideration. However, I'd like to see some testing instructions in the pull request description please - especially since the previous conditionals in the code also included |
It also appears the branch will need rebased on trunk. |
Thank you for opening this PR for reconsideration.
Of course, I can do that.
The skip link focus fix used in storefront is an old implementation that targeted old browsers and was first used in 2013 by |
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.
Safari is working. I think it makes sense to remove this. If a site really wants support for older, unsupported browsers, I think it would be trivial to add a script back. Let's make sure to explain this in the release notes.
If you need to support older browsers, and want to include |
skip-link-focus-fix is only applicable in IE11, but it gets loaded even on the +95% of browsers which will never use it.
Now that Matt is supportive of dropping IE11 support in WP Core, I think it is the best time to remove it.
How to test the changes in this Pull Request:
Changelog