Skip to content

Find widget buttons become focusable while hidden after using Find once #147299

Description

@go-commit-code

Issue Type: Bug

Steps to Reproduce:

  1. Start up vscode
  2. Open a text file (or create a new one)
  3. Activate Tab Moves Focus (ctrl + m)

At this point if you use tab to navigate, the tab order goes:

  1. Text editor
  2. Status bar

But if you do one of the following things:

  • Open Find and close it again (ctrl + f and escape)
  • Toggle Match Case (alt + c)
  • Toggle Match Whole Word (alt + w)
  • Toggle Use Regular Expression (alt + r)
  • Toggle Preserve Case (alt + p)

Then the tab order goes:

  1. Text editor
  2. Match Case button
  3. Match Whole Word button
  4. Use Regular Expression button
  5. Preserve Case button
  6. Status bar

Match Case, Match Whole Word and Use Regular Expression buttons become visible for a short moment if you press space or enter while focused on them. Preserve Case doesn't become visible when pressing space or enter,
but you can see it has been toggled by opening the the Find widget.

You can get back to the previous tab order if you reload vscode

Does this issue occur when all extensions are disabled?: Yes
This is also reproducible on vscode.dev and github.dev

VS Code version: Code 1.66.1 (8dfae7a, 2022-04-06T14:51:26.173Z)
OS version: Linux x64 5.10.101-14958-ge846e44211d8
Restricted Mode: No

Metadata

Metadata

Assignees

No one assigned

    Labels

    accessibilityKeyboard, mouse, ARIA, vision, screen readers (non-specific) issuesbugIssue identified by VS Code Team member as probable bugeditor-findEditor find operationsinsiders-releasedPatch has been released in VS Code InsidersverifiedVerification succeeded

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions