[libadwaita] preferences-group: Label the listbox, not the box



commit 3df2638ac1c91df741a72f372f11699a3d9b717b
Author: Lukáš Tyrychtr <lukastyrychtr gmail com>
Date:   Fri Jun 17 10:34:28 2022 +0200

    preferences-group: Label the listbox, not the box
    
    That stops Orca announcing GtkListBox for every of these lists.

 src/adw-preferences-group.ui | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/adw-preferences-group.ui b/src/adw-preferences-group.ui
index 258fc4c1..9edc64e7 100644
--- a/src/adw-preferences-group.ui
+++ b/src/adw-preferences-group.ui
@@ -50,13 +50,13 @@
         <child>
           <object class="GtkBox" id="listbox_box">
             <property name="orientation">vertical</property>
-            <accessibility>
-              <relation name="labelled-by">title</relation>
-            </accessibility>
             <child>
               <object class="GtkListBox" id="listbox">
                 <property name="visible">False</property>
                 <property name="selection_mode">none</property>
+                <accessibility>
+                  <relation name="labelled-by">title</relation>
+                </accessibility>
                 <signal name="keynav-failed" handler="listbox_keynav_failed_cb" swapped="yes"/>
                 <style>
                   <class name="boxed-list"/>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]