-
-
Notifications
You must be signed in to change notification settings - Fork 23.7k
Description
Tested versions
- Reproducible in: 4.5.stable.mono.official.876b29033 and I personally didn't test but I got a report that 4.5.1 does not fix this
- Not reproducible in: 4.4.1
System information
Godot v4.5.stable.mono - Fedora Linux 42 (Workstation Edition) on Wayland - X11 display driver, Multi-window, 3 monitors - Vulkan (Forward+) - dedicated AMD Radeon RX 7900 XTX (RADV NAVI31) - AMD Ryzen 9 9950X3D 16-Core Processor (32 threads) - 123.4 GiB memory
Issue description
The new "Accessibility" focus mode is triggering and causing white outlines around a few random GUI elements in the game I'm working on. AFAIK I do not have a screen reader on / enabled on my computer but I still get the white outlines. And a player who originally noticed the problem and reported it to me likely is not using a screen reader. Plus another programmer from our team tested 4.5.1 and I don't recall that they would have talked about using a screen reader.
So to me it seems like the new 4.5 screen reader support is triggering when a screen reader is not being used, and thus causing visual problems with existing games using Godot that upgraded to Godot 4.5.
Edit: I got a confirmation from the player who reported the issue originally to me that they do not use a screen reader (and barely even know what that is)
Steps to reproduce
- Start a game with a non-focusable GUI element (likely needs to be in a modal window)
- The GUI element should incorrectly become focused and get the white outline even though there is no screen reader being used
- Setting the Control focus node to totally none fixes the problem
Minimal reproduction project (MRP)
AFAIK there's nothing in my project that would override Godot's normal screen reader detection so any project should be able to show the engine incorrectly detecting a screen reader being used