a11y: Change the role for many containers
authorMatthias Clasen <mclasen@redhat.com>
Sat, 17 Jun 2023 21:12:37 +0000 (17:12 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 19 Jun 2023 15:15:48 +0000 (11:15 -0400)
commita86923de943b6a42ba431be2a336972dca9c587d
treed6fb6979554a8e5e4dfa7138a6b95ad0d9f8c6cd
parent4412f25c9f2e4ed5c976f003f1f7227bc67205cd
a11y: Change the role for many containers

The group role that we've used before has some
implications of semantic grouping, whereas these
containers are mainly about layout, so use the
generic role instead.

This should not affect the translation to AT-SPI
at all.

The affected containers are: box, grid, centerbox,
scrolledwindow, viewport, windowhandle, aspectframe.

The role of GtkTreeExpander has been changed to
button instead, since it acts as a button.
gtk/gtkaspectframe.c
gtk/gtkbox.c
gtk/gtkcenterbox.c
gtk/gtkenums.h
gtk/gtkgrid.c
gtk/gtkpopovercontent.c
gtk/gtkscrolledwindow.c
gtk/gtktreeexpander.c
gtk/gtkviewport.c
gtk/gtkwindowhandle.c