extensions-app: Set labelled-by relation for lists

We use our own lists so we can do filtering, but that means we
lose the built-in relation with the group's title.

Set the relation ourselves, so the two lists are described correctly
in screen readers.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3051>
This commit is contained in:
Florian Müllner 2023-12-12 17:03:14 +01:00 committed by Marge Bot
parent a6d991b8f2
commit b2040b20c7

View File

@ -142,6 +142,9 @@
<child>
<object class="GtkListBox" id="userList">
<property name="selection-mode">none</property>
<accessibility>
<relation name="labelled-by">userGroup</relation>
</accessibility>
<style>
<class name="boxed-list"/>
</style>
@ -155,6 +158,9 @@
<child>
<object class="GtkListBox" id="systemList">
<property name="selection-mode">none</property>
<accessibility>
<relation name="labelled-by">systemGroup</relation>
</accessibility>
<style>
<class name="boxed-list"/>
</style>