From 568cf2148685ad9421d697842d07f90d57e84a5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Tyrychtr?= Date: Mon, 27 Feb 2023 11:40:46 +0100 Subject: [PATCH] a11y: Map GTK_ACCESSIBLE_STATE_INVALID to ATSPI_STATE_INVALID_ENTRY Previously, it was mapped to ATSPI_STATE_INVALID. However, that state is used for some internal errors, and not user errors, so use the correct one for that purpose. --- gtk/a11y/gtkatspicontext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/a11y/gtkatspicontext.c b/gtk/a11y/gtkatspicontext.c index 5501721d12..296e4f6b3c 100644 --- a/gtk/a11y/gtkatspicontext.c +++ b/gtk/a11y/gtkatspicontext.c @@ -246,7 +246,7 @@ collect_states (GtkAtSpiContext *self, case GTK_ACCESSIBLE_INVALID_TRUE: case GTK_ACCESSIBLE_INVALID_GRAMMAR: case GTK_ACCESSIBLE_INVALID_SPELLING: - set_atspi_state (&states, ATSPI_STATE_INVALID); + set_atspi_state (&states, ATSPI_STATE_INVALID_ENTRY); break; case GTK_ACCESSIBLE_INVALID_FALSE: default: