[gnome-control-center] Add missing a11y labels and fix accessibility related markup in UI files in the search panel



commit 9c54390320110cce90e670d5e0327f4a5d7e37c1
Author: Lukáš Tyrychtr <lukastyrychtr gmail com>
Date:   Wed May 18 17:44:42 2022 +0200

    Add missing a11y labels and fix accessibility related markup in UI files in the search panel

 panels/search/cc-search-locations-dialog.ui | 12 +++++++++---
 panels/search/cc-search-panel-row.ui        |  3 +++
 panels/search/cc-search-panel.ui            |  4 +++-
 3 files changed, 15 insertions(+), 4 deletions(-)
---
diff --git a/panels/search/cc-search-locations-dialog.ui b/panels/search/cc-search-locations-dialog.ui
index 416ade169..20ad732e5 100644
--- a/panels/search/cc-search-locations-dialog.ui
+++ b/panels/search/cc-search-locations-dialog.ui
@@ -20,7 +20,9 @@
               <object class="GtkListBox" id="places_list">
                 <property name="selection-mode">none</property>
                 <signal name="keynav-failed" handler="keynav_failed_cb" object="CcSearchLocationsDialog" 
swapped="yes"/>
-                <accessibility name="labelled-by">places_group</accessibility>
+                <accessibility>
+                  <relation name="labelled-by">places_group</relation>
+                </accessibility>
                 <style>
                   <class name="boxed-list"/>
                 </style>
@@ -35,7 +37,9 @@
               <object class="GtkListBox" id="bookmarks_list">
                 <property name="selection-mode">none</property>
                 <signal name="keynav-failed" handler="keynav_failed_cb" object="CcSearchLocationsDialog" 
swapped="yes"/>
-                <accessibility name="labelled-by">bookmarks_group</accessibility>
+                <accessibility>
+                  <relation name="labelled-by">bookmarks_group</relation>
+                </accessibility>
                 <style>
                   <class name="boxed-list"/>
                 </style>
@@ -65,7 +69,9 @@
               <object class="GtkListBox" id="others_list">
                 <property name="selection-mode">none</property>
                 <signal name="keynav-failed" handler="keynav_failed_cb" object="CcSearchLocationsDialog" 
swapped="yes"/>
-                <accessibility name="labelled-by">others_group</accessibility>
+                <accessibility>
+                  <relation name="labelled-by">others_group</relation>
+                </accessibility>
                 <style>
                   <class name="boxed-list"/>
                 </style>
diff --git a/panels/search/cc-search-panel-row.ui b/panels/search/cc-search-panel-row.ui
index 1870df938..220a96859 100644
--- a/panels/search/cc-search-panel-row.ui
+++ b/panels/search/cc-search-panel-row.ui
@@ -35,6 +35,9 @@
         <property name="valign">center</property>
         <property name="icon-name">view-more-symbolic</property>
         <property name="menu-model">move_row_menu</property>
+        <accessibility>
+          <property name="label" translatable="yes">More options…</property>
+        </accessibility>
         <style>
           <class name="flat"/>
         </style>
diff --git a/panels/search/cc-search-panel.ui b/panels/search/cc-search-panel.ui
index 21f297db7..7876fe8b5 100644
--- a/panels/search/cc-search-panel.ui
+++ b/panels/search/cc-search-panel.ui
@@ -40,7 +40,9 @@
               <object class="GtkListBox" id="list_box">
                 <property name="selection-mode">none</property>
                 <signal name="keynav-failed" handler="keynav_failed_cb" object="CcSearchPanel" 
swapped="yes"/>
-                <accessibility name="labelled-by">search_group</accessibility>
+                <accessibility>
+                  <relation name="labelled-by">search_group</relation>
+                </accessibility>
                 <style>
                   <class name="boxed-list"/>
                 </style>


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