mirror of https://github.com/godotengine/godot
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. |
||
|---|---|---|
| .. | ||
| dynwrappers | ||
| SCsub | ||
| accessibility_driver_accesskit.cpp | ||
| accessibility_driver_accesskit.h | ||