forked from AuroraMiddleware/gtk
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.
This commit is contained in:
parent
49feaf465d
commit
568cf21486
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user