From b669295fd81aaaefa91af31b046cb54ebda3bf68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Tyrychtr?= Date: Mon, 6 Mar 2023 17:15:54 +0100 Subject: [PATCH] a11y: When an accessible has GTK_STATE_CHECKED, set its ATSPI_STATE_CHECKABLE as well This allows, for example, checkable list itemss. --- gtk/a11y/gtkatspicontext.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gtk/a11y/gtkatspicontext.c b/gtk/a11y/gtkatspicontext.c index dca263902e..d7eede4429 100644 --- a/gtk/a11y/gtkatspicontext.c +++ b/gtk/a11y/gtkatspicontext.c @@ -203,6 +203,7 @@ collect_states (GtkAtSpiContext *self, if (gtk_at_context_has_accessible_state (ctx, GTK_ACCESSIBLE_STATE_CHECKED)) { + set_atspi_state (&states, ATSPI_STATE_CHECKABLE); value = gtk_at_context_get_accessible_state (ctx, GTK_ACCESSIBLE_STATE_CHECKED); switch (gtk_tristate_accessible_value_get (value)) {