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] [Accessibility] [dropdown] : Alt+arrow up doesn't work properly on docsite #31363

Open
2 tasks done
kolaps33 opened this issue May 14, 2024 · 1 comment
Open
2 tasks done

Comments

@kolaps33
Copy link
Contributor

Library

React Components / v9 (@fluentui/react-components)

System Info

System:
    OS: Windows 10 10.0.22631
    CPU: (12) x64 Intel(R) Xeon(R) E-2176M  CPU @ 2.70GHz
    Memory: 16.36 GB / 31.74 GB
  Browsers:
    Edge: Chromium (123.0.2420.97)
    Internet Explorer: 11.0.22621.1

Are you reporting Accessibility issue?

None

Reproduction

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

Bug Description

Dropdown sandbox: https://stackblitz.com/edit/nqfk2s?file=src%2Fexample.tsx

##Steps

  1. Open dropdown from
  2. Navigate to some option (other then selected already)
  3. Press Alt+arrow up key

Actual Behavior

On the sandbox it select the option from list (works as expected)
On the docsite: https://react.fluentui.dev/?path=/docs/components-dropdown--default#default
it navigates to the "drawer" component

Expected Behavior

select the option from list

Logs

No response

Requested priority

Normal

Products/sites affected

No response

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.
@smhigley
Copy link
Contributor

smhigley commented May 29, 2024

As context, this is because the Storybook platform uses alt+down and alt+up to navigate. I think it'd be a good contribution to Storybook to remove that behavior wholesale. Or if they're opposed to that, we'd need to find a way to opt out in our own docs site.

Their navigation in general is pretty atrocious for accessibility 😓

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants