Skip to content

ToggleGroupControl: No focus style and selected style in Windows high contrast mode #50782

@t-hamano

Description

@t-hamano

Description

Discovered while reviewing #50772

The ToggleGroupControl component has the following two problems in Windows high contrast mode:

  • Cannot see that the control group is in focus
  • It is impossible to know which one is selected

Step-by-step reproduction instructions

  • Enable Windows High Contrast mode.
  • Access the Storybook.
  • Perform mouse and keyboard operations on the component.

Screenshots, screen recording, code snippet

d05715ad12bbbe27dafadb9618fd6d4c.mp4

Environment info

No response

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

Metadata

Metadata

Assignees

Labels

[Focus] Accessibility (a11y)Changes that impact accessibility and need corresponding review (e.g. markup changes).[Package] Components/packages/components

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions