react-spectrum icon indicating copy to clipboard operation
react-spectrum copied to clipboard

Checkbox focus ring disappears when toggling the checkbox via SPACE with NVDA enabled

Open LFDanLu opened this issue 4 years ago โ€ข 1 comments

๐Ÿ› Bug Report

The focus ring disappears from the checkbox if the user toggles selection via space when NVDA is enabled. This happens for our React Spectrum Checkbox and for the example in the react aria docs (https://react-spectrum.adobe.com/react-aria/useCheckbox.html#styling). Perhaps is a useFocusRing/useFocusVisible issue?

๐Ÿค” Expected Behavior

Focus ring shouldn't disappear from the checkbox when toggling selection

๐Ÿ˜ฏ Current Behavior

Focus ring disappears from the checkbox when toggling selection when NVDA is enabled

๐Ÿ’ Possible Solution

Still digging, might be something in useFocusRing/useFocusVisible

๐ŸŒ Your Environment

Software Version(s)
react-spectrum 3.12
Browser . Chrome
Operating System . Windows 11

๐Ÿงข Your Company/Team

RSP

LFDanLu avatar Aug 02 '21 20:08 LFDanLu

any solution to workaround it?

msobiecki avatar Jun 12 '24 07:06 msobiecki