mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-14 14:20:21 +00:00
GtkSpinner: set a suitable role for the accessible
The consensus of the accessibility team was that this is an animation. Update tests to match.
This commit is contained in:
parent
828d70c6d7
commit
3edebfb81c
@ -285,6 +285,7 @@ gtk_spinner_accessible_initialize (AtkObject *accessible,
|
|||||||
|
|
||||||
atk_object_set_name (accessible, C_("throbbing progress animation widget", "Spinner"));
|
atk_object_set_name (accessible, C_("throbbing progress animation widget", "Spinner"));
|
||||||
atk_object_set_description (accessible, _("Provides visual indication of progress"));
|
atk_object_set_description (accessible, _("Provides visual indication of progress"));
|
||||||
|
atk_object_set_role (accessible, ATK_ROLE_ANIMATION);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
@ -7,7 +7,7 @@ window1
|
|||||||
layer: window
|
layer: window
|
||||||
alpha: 1
|
alpha: 1
|
||||||
spinner1
|
spinner1
|
||||||
"unknown"
|
"animation"
|
||||||
parent: window1
|
parent: window1
|
||||||
index: 0
|
index: 0
|
||||||
name: Spinner
|
name: Spinner
|
||||||
|
Loading…
Reference in New Issue
Block a user