Skip to content

[Bug]: No focus indicator for Checkboxes (V8) inside Drawers (V9) #31942

@rocketBANG

Description

@rocketBANG

Library

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

System Info

System:
    OS: Windows 10 10.0.22631
    CPU: (16) x64 AMD EPYC 7763 64-Core Processor
    Memory: 34.82 GB / 63.95 GB
  Browsers:
    Edge: Chromium (126.0.2592.87)
    Internet Explorer: 11.0.22621.3527

Are you reporting Accessibility issue?

yes

Reproduction

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

Bug Description

Actual Behavior

Focusing with a keyboard on the checkbox within a Drawer does not show any indicators
image

The ThemeProvider is only at the root, the isFocusVisible class and event listeners don't work for components inside an OverlayDrawer
image

Expected Behavior

The checkbox within the drawer to show a focus indicator like this
image

Logs

No response

Requested priority

Blocking

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions