Repository navigation
Add user option to turn off focus rectangles via FocusVisible polyfill - #7351
Merged
Merged
Conversation
Fixes #7242 New checkbox on Accessibility options named "Show focus rectangles". With this mode off, we go back to something closer to behavior in RStudio 1.2, where we did show focus rectangles in some cases (typically on checkboxes and text fields) but not on most custom controls. So this option doesn't eliminate all focus rectangles. I suppose I could name it "Show fewer focus rectangles"?
adamconroy
approved these changes
Jul 15, 2020
jmcphers
approved these changes
Jul 15, 2020
gtritchie
added a commit
that referenced
this pull request
Jul 27, 2020
…tree - When I added option to disable this polyfill for those who want to see less focus rectangles (#7351) I moved the files into a client bundle, forgetting that they are also used by auth page - To fix, created a script for fetching and copying as we do for several other such dependencies; clunky, but at least documents where it comes from and where it goes. - This also takes the most recent version, containing a couple of very minor fixes
gtritchie
added a commit
that referenced
this pull request
Jul 27, 2020
…tree (#7456) - When I added option to disable this polyfill for those who want to see less focus rectangles (#7351) I moved the files into a client bundle, forgetting that they are also used by auth page - To fix, created a script for fetching and copying as we do for several other such dependencies; clunky, but at least documents where it comes from and where it goes. - This also takes the most recent version, containing a couple of very minor fixes
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.
Fixes #7242
New checkbox on Accessibility options named "Show focus rectangles". @jmcphers suggested doing this preference when we first added the polyfill, finally getting around to it.
With this mode off, we go back to something closer to behavior in RStudio 1.2. We always displayed focus rectangles in some cases (typically on checkboxes, many text fields) but not on most custom controls. So this option doesn't eliminate all focus rectangles. I suppose I could name it "Show fewer focus rectangles"...
Note, turning off focus rectangles (FocusVisible) make #6518 look ever stranger; will tackle that next (just needs some mild styling tweaks).