Skip to content
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

Fix editor find / replace bar keyboard tab sequence #6217

Merged
merged 2 commits into from Feb 12, 2020

Conversation

gtritchie
Copy link
Member

Fixes #6216

  • remove setting tab indexes > 0 on controls (this should never be done)
  • don't set buttons to tab index -1; they are now able to show keyboard focus, not all of them have equivalent keyboard shortcuts, and those shortcuts are not discoverable to a keyboard/screen reader user without letting focus get to the buttons
  • add tooltip to replace-all button to disambiguate the generic "All" button label

screenshot of Find and Replace bar in RStudio editor

- remove setting tab indexes > 0 on controls (this should never be done)
- don't set buttons to tab index -1; they are now able to show keyboard focus, not all of them have equivalent keyboard shortcuts, and those shortcuts are not discoverable to a keyboard/screen reader user without letting focus get to the buttons
@gtritchie gtritchie added this to the v1.3 milestone Feb 12, 2020
@gtritchie gtritchie merged commit 28324b5 into master Feb 12, 2020
@gtritchie gtritchie deleted the bugfix/editor-find-replace-bar-tab-sequence branch February 12, 2020 23:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Buttons in editor Find Replace bar not keyboard accessible
2 participants