Repository navigation
use :focus-visible pseudoclass instead of focus-visible polyfill - #15074
Merged
Merged
Conversation
gtritchie
marked this pull request as ready for review
August 23, 2024 15:40
Member
Author
|
Still getting some reports of this, and though we suspect it's due to running older Chrome versions (i.e. not letting Chrome update itself), want to get this into the Kousa-Dogwood RStudio release so it gets some testing in case we end up needing to backport. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Intent
Addresses:
Approach
Use standard
:focus-visiblepseudoclass instead of thefocus-visiblepolyfill (all browsers now support the pseudoclass and the polyfill was causing issues with the Visual Editor in recent Chrome releases).Eliminated the "Always show focus outlines" accessibility option. These are now always on. If we decide we still want this option it could be done via some additional css work and applying a class to the page body based on the preference.
Automated Tests
None
QA Notes
Test that tabbing between controls with the keyboard shows focus rectangles, but clicking on controls does not. This is all controlled by the browser. The focus rectangle styles should be the same as before (for better or worse), so you could compare against an earlier build to see if it's consistent.
Documentation
None
Checklist
NEWS.md