mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-13 22:10:08 +00:00
a11y: When an accessible has GTK_STATE_CHECKED, set its ATSPI_STATE_CHECKABLE as well
This allows, for example, checkable list itemss.
This commit is contained in:
parent
cfc2de4e3d
commit
b669295fd8
@ -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))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user