1
0
Fork 0
godot/drivers/accesskit
Nolan Darilek abf7b3c2ee Accessibility: Re-apply stored name when recreating nodes in _ensure_node
When TabContainer calls accessibility_update_add_related_controls(), it
triggers _ensure_node() which creates a new AccessKit node. Since the
node pointer was nulled after the previous tree update push, this creates
an empty node without any properties.

TabBar only sets tab properties (name, bounds) when accessibility_item_dirty
is true. After initial setup, dirty=false, so recreated nodes would be
pushed without names, causing screen readers to announce "page tab" without
the tab name.

This fix re-applies the stored name (and name_extra_info) when _ensure_node
creates a new node, ensuring tab names persist across node recreations.
2025-12-03 18:50:11 -05:00
..
dynwrappers [AccessKit] Update API to 0.16.0. 2025-06-03 10:49:04 +03:00
SCsub AccessKit integration for macOS, Linux, and Windows. 2025-04-08 20:25:47 +03:00
accessibility_driver_accesskit.cpp Accessibility: Re-apply stored name when recreating nodes in _ensure_node 2025-12-03 18:50:11 -05:00
accessibility_driver_accesskit.h Accessibility: Fix text field character count and line navigation 2025-12-03 07:19:05 -05:00