You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the Windows-native screen reader (Windows Narrator) is active, the individual tab panels can't be accessed (pressing Enter or Space does not show the corresponding panel). Furthermore, the focus is trapped in the tab list and can't be advanced to any of the following elements, even outside the Tab component.
The bug does not occur using macOS Voice Over.
Screen recording of the bug:
windows_narrator_headlessui_tabs.mp4
The text was updated successfully, but these errors were encountered:
Hi! I believe this is a problem with both Chrome and Firefox. After some research I discovered this answer on Microsoft Community and it seems to imply that Windows Narrator does not work correctly with Chrome. And from my testing, possibly not with Firefox either. Some things work and some things do not.
I tested the Headless UI website with Edge and Windows Narrator and it was working fine there:
screen.reader.mov
I'm going to leave this open as a reminder to look closer into this but I suspect there's nothing we can do as I believe the button interactions are just not working.
The post on the Microsoft Community forum sounds discouraging. Luckily (strangely?) that doesn't match our experience, where Narrator is able to navigate most of our web page.
It seems hard to locate what the root cause of this issue may be. Narrator seems to be able to navigate the Radix UI Tabs quite fine:
What package within Headless UI are you using?
@headlessui/react
What version of that package are you using?
v2.0
What browser are you using?
Chrome & Firefox, Windows 11
Reproduction URL
The behavior be reproduced on the Tabs site: https://headlessui.com/react/tabs
Describe your issue
When the Windows-native screen reader (Windows Narrator) is active, the individual tab panels can't be accessed (pressing Enter or Space does not show the corresponding panel). Furthermore, the focus is trapped in the tab list and can't be advanced to any of the following elements, even outside the Tab component.
The bug does not occur using macOS Voice Over.
Screen recording of the bug:
windows_narrator_headlessui_tabs.mp4
The text was updated successfully, but these errors were encountered: