diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2020-11-11 17:54:57 +0000 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2020-11-11 18:33:15 +0000 |
commit | 40c0826921d9d59fe4a165fa1717e23cc9ceedb7 (patch) | |
tree | b9d304db462ab7be34900d306e6e25854650d6ef /gtk/gtkaspectframe.c | |
parent | 27b9b2e76c9b938927a5bcb9200e119c773fefc3 (diff) | |
download | gtk+-40c0826921d9d59fe4a165fa1717e23cc9ceedb7.tar.gz |
a11y: Mark more containers as structural elements
Widgets that just provide grouping and layout to other widgets should
not be relevant to the accessible tree.
Diffstat (limited to 'gtk/gtkaspectframe.c')
-rw-r--r-- | gtk/gtkaspectframe.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkaspectframe.c b/gtk/gtkaspectframe.c index ad6049ffe9..916f307daf 100644 --- a/gtk/gtkaspectframe.c +++ b/gtk/gtkaspectframe.c @@ -176,6 +176,7 @@ gtk_aspect_frame_class_init (GtkAspectFrameClass *class) GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY)); gtk_widget_class_set_css_name (GTK_WIDGET_CLASS (class), I_("aspectframe")); + gtk_widget_class_set_accessible_role (GTK_WIDGET_CLASS (class), GTK_ACCESSIBLE_ROLE_GROUP); } static void |