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

[Bug]: Dismiss span control on the SearchBox is not accessible by keyboard navigation #33324

Open
2 tasks done
WhaakMS opened this issue Nov 21, 2024 · 0 comments · May be fixed by #33332
Open
2 tasks done

[Bug]: Dismiss span control on the SearchBox is not accessible by keyboard navigation #33324

WhaakMS opened this issue Nov 21, 2024 · 0 comments · May be fixed by #33332

Comments

@WhaakMS
Copy link

WhaakMS commented Nov 21, 2024

Component

SearchBox

Package version

9.53.0

React version

17.0.1

Environment

System:
    OS: Windows 11 10.0.22631
    CPU: (16) x64 Intel(R) Xeon(R) Platinum 8370C CPU @ 2.80GHz
    Memory: 45.58 GB / 63.95 GB
  Browsers:
    Edge: Chromium (127.0.2651.105)
    Internet Explorer: 11.0.22621.3527
  npmPackages:
  npmPackages:
    @fluentui/react: 8.119.0 => 8.119.0
    @fluentui/react-charting: 5.21.22 => 5.21.22
    @fluentui/react-components: 9.53.0 => 9.53.0
    @fluentui/react-datepicker-compat: 0.4.36 => 0.4.36
    @fluentui/react-icons: 2.0.241 => 2.0.241
    @types/react: 17.0.26 => 17.0.26
    @types/react-dom: 17.0.9 => 17.0.9
    react: 17.0.1 => 17.0.1
    react-dom: 17.0.1 => 17.0.1

Current Behavior

The dismiss button is only accessible by mouse functionality and it is inaccessible when trying to access using keyboard functionality both Tab and Arrow Keys, and when adding a tab index of 0 to the dismiss property of search box the dismiss button is accessible but is not able to be activated using keyboard functionality

Expected Behavior

The dismiss button is accessible by keyboard functionality and is able to be activated using keyboard

Reproduction

https://stackblitz.com/edit/hqptlb?file=src%2Fexample.tsx

Steps to reproduce

  1. Go to the stackblitz link
  2. Click on the search bar
  3. Hit Tab Key
  4. Observe the issue

Are you reporting an Accessibility issue?

yes

Suggested severity

Urgent - No workaround and Products/sites are affected

Products/sites affected

Microsoft Advanced Insights

Are you willing to submit a PR to fix?

no

Validations

  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • The provided reproduction is a minimal reproducible example of the bug.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant