Merge pull request #115137 from ndarilek/remove-a11y-placeholders

a11y: Remove "not accessible at this time" placeholders.
This commit is contained in:
Thaddeus Crews 2026-01-28 12:27:12 -06:00
commit 74b14da737
No known key found for this signature in database
GPG key ID: 8C6E5FEB5FC03CCC
8 changed files with 0 additions and 96 deletions

View file

@ -545,14 +545,6 @@ void GradientEdit::_notification(int p_what) {
draw_spacing = BASE_SPACING * get_theme_default_base_scale();
handle_width = BASE_HANDLE_WIDTH * get_theme_default_base_scale();
} break;
case NOTIFICATION_ACCESSIBILITY_UPDATE: {
RID ae = get_accessibility_element();
ERR_FAIL_COND(ae.is_null());
//TODO
DisplayServer::get_singleton()->accessibility_update_set_role(ae, DisplayServer::AccessibilityRole::ROLE_STATIC_TEXT);
DisplayServer::get_singleton()->accessibility_update_set_value(ae, TTR(vformat("The %s is not accessible at this time.", "Gradient editor")));
} break;
case NOTIFICATION_DRAW: {
_redraw();
} break;