[gnome-control-center] Make the network settings panel more screen reader friendly



commit 3151598aef3b72d2e85e09074de4e2b186e7b1c6
Author: Lukáš Tyrychtr <lukastyrychtr gmail com>
Date:   Fri Apr 29 11:28:11 2022 +0200

    Make the network settings panel more screen reader friendly

 panels/network/cc-network-panel.ui               |  3 ++
 panels/network/cc-wifi-hotspot-dialog.ui         |  2 ++
 panels/network/cc-wifi-panel.ui                  |  3 ++
 panels/network/connection-editor/ce-page-ip4.c   | 35 ++++++++++++++++++++++++
 panels/network/connection-editor/ce-page-ip6.c   | 35 ++++++++++++++++++++++++
 panels/network/connection-editor/details-page.ui |  1 +
 panels/network/connection-editor/ip4-page.ui     | 16 +++++++----
 panels/network/connection-editor/ip6-page.ui     | 15 ++++++----
 panels/network/network-ethernet.ui               |  6 ++++
 panels/network/network-mobile.ui                 |  8 ++++++
 panels/network/network-proxy.ui                  |  3 ++
 panels/network/network-wifi.ui                   |  3 ++
 12 files changed, 119 insertions(+), 11 deletions(-)
---
diff --git a/panels/network/cc-network-panel.ui b/panels/network/cc-network-panel.ui
index 2f2830442..760bfbb1f 100644
--- a/panels/network/cc-network-panel.ui
+++ b/panels/network/cc-network-panel.ui
@@ -38,6 +38,9 @@
             <property name="header-suffix">
               <object class="GtkButton">
                 <property name="icon_name">list-add-symbolic</property>
+                <accessibility>
+                  <property name="label" translatable="yes">Add connection</property>
+                </accessibility>
                 <style>
                   <class name="flat" />
                 </style>
diff --git a/panels/network/cc-wifi-hotspot-dialog.ui b/panels/network/cc-wifi-hotspot-dialog.ui
index 6552650a1..1a69c46ef 100644
--- a/panels/network/cc-wifi-hotspot-dialog.ui
+++ b/panels/network/cc-wifi-hotspot-dialog.ui
@@ -50,6 +50,7 @@
               <object class="GtkLabel">
                 <property name="label" translatable="yes">Network Name</property>
                 <property name="halign">end</property>
+                <property name="mnemonic_widget">name_entry</property>
                 <layout>
                   <property name="column">0</property>
                   <property name="row">0</property>
@@ -73,6 +74,7 @@
               <object class="GtkLabel">
                 <property name="label" translatable="yes">Password</property>
                 <property name="halign">end</property>
+                <property name="mnemonic_widget">password_entry</property>
                 <layout>
                   <property name="column">0</property>
                   <property name="row">1</property>
diff --git a/panels/network/cc-wifi-panel.ui b/panels/network/cc-wifi-panel.ui
index 2a3405ae7..572ef0e70 100644
--- a/panels/network/cc-wifi-panel.ui
+++ b/panels/network/cc-wifi-panel.ui
@@ -12,6 +12,9 @@
             <property name="icon-name">go-previous-symbolic</property>
             <property name="action-name">window.navigate</property>
             <property name="action-target">0</property> <!-- 0: ADW_NAVIGATION_DIRECTION_BACK -->
+            <accessibility>
+              <property name="label" translatable="yes">Back</property>
+            </accessibility>
           </object>
         </child>
 
diff --git a/panels/network/connection-editor/ce-page-ip4.c b/panels/network/connection-editor/ce-page-ip4.c
index 36e586932..9ee73d22f 100644
--- a/panels/network/connection-editor/ce-page-ip4.c
+++ b/panels/network/connection-editor/ce-page-ip4.c
@@ -52,7 +52,14 @@ struct _CEPageIP4
         GtkGrid           *main_box;
         GtkCheckButton    *manual_radio;
         GtkCheckButton    *never_default_check;
+        GtkLabel          *address_label;
+        GtkLabel          *netmask_label;
+        GtkLabel          *gateway_label;
         GtkBox            *routes_box;
+        GtkLabel          *routes_address_label;
+        GtkLabel          *routes_netmask_label;
+        GtkLabel          *routes_gateway_label;
+        GtkLabel          *routes_metric_label;
         GtkSizeGroup      *routes_metric_sizegroup;
         GtkSizeGroup      *routes_sizegroup;
         GtkCheckButton    *shared_radio;
@@ -218,6 +225,9 @@ add_address_row (CEPageIP4   *self,
         gtk_editable_set_text (GTK_EDITABLE (widget), address);
         gtk_editable_set_width_chars (GTK_EDITABLE (widget), 16);
         gtk_widget_set_hexpand (widget, TRUE);
+        gtk_accessible_update_relation (GTK_ACCESSIBLE (widget),
+                                        GTK_ACCESSIBLE_RELATION_LABELLED_BY, self->address_label, NULL,
+                                        -1);
         gtk_box_append (GTK_BOX (row_box), widget);
 
         widget = GTK_WIDGET (ce_netmask_entry_new ());
@@ -227,6 +237,9 @@ add_address_row (CEPageIP4   *self,
         gtk_editable_set_text (GTK_EDITABLE (widget), network);
         gtk_editable_set_width_chars (GTK_EDITABLE (widget), 16);
         gtk_widget_set_hexpand (widget, TRUE);
+        gtk_accessible_update_relation (GTK_ACCESSIBLE (widget),
+                                        GTK_ACCESSIBLE_RELATION_LABELLED_BY, self->netmask_label, NULL,
+                                        -1);
         gtk_box_append (GTK_BOX (row_box), widget);
 
         widget = GTK_WIDGET (ce_ip_address_entry_new (AF_INET));
@@ -236,6 +249,9 @@ add_address_row (CEPageIP4   *self,
         gtk_editable_set_text (GTK_EDITABLE (widget), gateway ? gateway : "");
         gtk_editable_set_width_chars (GTK_EDITABLE (widget), 16);
         gtk_widget_set_hexpand (widget, TRUE);
+        gtk_accessible_update_relation (GTK_ACCESSIBLE (widget),
+                                        GTK_ACCESSIBLE_RELATION_LABELLED_BY, self->gateway_label, NULL,
+                                        -1);
         gtk_box_append (GTK_BOX (row_box), widget);
 
         delete_button = gtk_button_new_from_icon_name ("edit-delete-symbolic");
@@ -351,6 +367,9 @@ add_route_row (CEPageIP4   *self,
         gtk_editable_set_text (GTK_EDITABLE (widget), address);
         gtk_editable_set_width_chars (GTK_EDITABLE (widget), 16);
         gtk_widget_set_hexpand (widget, TRUE);
+        gtk_accessible_update_relation (GTK_ACCESSIBLE (widget),
+                                        GTK_ACCESSIBLE_RELATION_LABELLED_BY, self->routes_address_label, 
NULL,
+                                        -1);
         gtk_box_append (GTK_BOX (row_box), widget);
 
         widget = GTK_WIDGET (ce_netmask_entry_new ());
@@ -360,6 +379,9 @@ add_route_row (CEPageIP4   *self,
         gtk_editable_set_text (GTK_EDITABLE (widget), netmask);
         gtk_editable_set_width_chars (GTK_EDITABLE (widget), 16);
         gtk_widget_set_hexpand (widget, TRUE);
+        gtk_accessible_update_relation (GTK_ACCESSIBLE (widget),
+                                        GTK_ACCESSIBLE_RELATION_LABELLED_BY, self->routes_netmask_label, 
NULL,
+                                        -1);
         gtk_box_append (GTK_BOX (row_box), widget);
 
         widget = GTK_WIDGET (ce_ip_address_entry_new (AF_INET));
@@ -369,6 +391,9 @@ add_route_row (CEPageIP4   *self,
         gtk_editable_set_text (GTK_EDITABLE (widget), gateway ? gateway : "");
         gtk_editable_set_width_chars (GTK_EDITABLE (widget), 16);
         gtk_widget_set_hexpand (widget, TRUE);
+        gtk_accessible_update_relation (GTK_ACCESSIBLE (widget),
+                                        GTK_ACCESSIBLE_RELATION_LABELLED_BY, self->routes_gateway_label, 
NULL,
+                                        -1);
         gtk_box_append (GTK_BOX (row_box), widget);
 
         widget = gtk_entry_new ();
@@ -381,6 +406,9 @@ add_route_row (CEPageIP4   *self,
         }
         gtk_editable_set_width_chars (GTK_EDITABLE (widget), 5);
         gtk_widget_set_hexpand (widget, TRUE);
+        gtk_accessible_update_relation (GTK_ACCESSIBLE (widget),
+                                        GTK_ACCESSIBLE_RELATION_LABELLED_BY, self->routes_metric_label, NULL,
+                                        -1);
         gtk_box_append (GTK_BOX (row_box), widget);
 
         gtk_size_group_add_widget (self->routes_metric_sizegroup, widget);
@@ -778,7 +806,14 @@ ce_page_ip4_class_init (CEPageIP4Class *klass)
         gtk_widget_class_bind_template_child (widget_class, CEPageIP4, main_box);
         gtk_widget_class_bind_template_child (widget_class, CEPageIP4, manual_radio);
         gtk_widget_class_bind_template_child (widget_class, CEPageIP4, never_default_check);
+        gtk_widget_class_bind_template_child (widget_class, CEPageIP4, address_label);
+        gtk_widget_class_bind_template_child (widget_class, CEPageIP4, netmask_label);
+        gtk_widget_class_bind_template_child (widget_class, CEPageIP4, gateway_label);
         gtk_widget_class_bind_template_child (widget_class, CEPageIP4, routes_box);
+        gtk_widget_class_bind_template_child (widget_class, CEPageIP4, routes_address_label);
+        gtk_widget_class_bind_template_child (widget_class, CEPageIP4, routes_netmask_label);
+        gtk_widget_class_bind_template_child (widget_class, CEPageIP4, routes_gateway_label);
+        gtk_widget_class_bind_template_child (widget_class, CEPageIP4, routes_metric_label);
         gtk_widget_class_bind_template_child (widget_class, CEPageIP4, routes_metric_sizegroup);
         gtk_widget_class_bind_template_child (widget_class, CEPageIP4, routes_sizegroup);
         gtk_widget_class_bind_template_child (widget_class, CEPageIP4, shared_radio);
diff --git a/panels/network/connection-editor/ce-page-ip6.c b/panels/network/connection-editor/ce-page-ip6.c
index d75eef3cb..2ff4caf91 100644
--- a/panels/network/connection-editor/ce-page-ip6.c
+++ b/panels/network/connection-editor/ce-page-ip6.c
@@ -41,6 +41,9 @@ struct _CEPageIP6
         AdwBin            parent;
 
         GtkBox            *address_box;
+        GtkLabel         *address_address_label;
+        GtkLabel         *address_prefix_label;
+        GtkLabel         *address_gateway_label;
         GtkSizeGroup      *address_sizegroup;
         GtkSwitch         *auto_dns_switch;
         GtkSwitch         *auto_routes_switch;
@@ -54,6 +57,10 @@ struct _CEPageIP6
         GtkCheckButton    *manual_radio;
         GtkCheckButton    *never_default_check;
         GtkBox            *routes_box;
+        GtkLabel         *routes_address_label;
+        GtkLabel         *routes_prefix_label;
+        GtkLabel         *routes_gateway_label;
+        GtkLabel         *routes_metric_label;
         GtkSizeGroup      *routes_metric_sizegroup;
         GtkSizeGroup      *routes_sizegroup;
         GtkCheckButton    *shared_radio;
@@ -199,6 +206,9 @@ add_address_row (CEPageIP6   *self,
         gtk_editable_set_text (GTK_EDITABLE (widget), address);
         gtk_editable_set_width_chars (GTK_EDITABLE (widget), 16);
         gtk_widget_set_hexpand (widget, TRUE);
+        gtk_accessible_update_relation (GTK_ACCESSIBLE (widget),
+                                        GTK_ACCESSIBLE_RELATION_LABELLED_BY, self->address_address_label, 
NULL,
+                                        -1);
         gtk_box_append (GTK_BOX (row_box), widget);
 
         widget = gtk_entry_new ();
@@ -208,6 +218,9 @@ add_address_row (CEPageIP6   *self,
         gtk_editable_set_text (GTK_EDITABLE (widget), network);
         gtk_editable_set_width_chars (GTK_EDITABLE (widget), 16);
         gtk_widget_set_hexpand (widget, TRUE);
+        gtk_accessible_update_relation (GTK_ACCESSIBLE (widget),
+                                        GTK_ACCESSIBLE_RELATION_LABELLED_BY, self->address_prefix_label, 
NULL,
+                                        -1);
         gtk_box_append (GTK_BOX (row_box), widget);
 
         widget = GTK_WIDGET (ce_ip_address_entry_new (AF_INET6));
@@ -217,6 +230,9 @@ add_address_row (CEPageIP6   *self,
         gtk_editable_set_text (GTK_EDITABLE (widget), gateway ? gateway : "");
         gtk_editable_set_width_chars (GTK_EDITABLE (widget), 16);
         gtk_widget_set_hexpand (widget, TRUE);
+        gtk_accessible_update_relation (GTK_ACCESSIBLE (widget),
+                                        GTK_ACCESSIBLE_RELATION_LABELLED_BY, self->address_gateway_label, 
NULL,
+                                        -1);
         gtk_box_append (GTK_BOX (row_box), widget);
 
         delete_button = gtk_button_new_from_icon_name ("edit-delete-symbolic");
@@ -324,6 +340,9 @@ add_route_row (CEPageIP6   *self,
         gtk_editable_set_text (GTK_EDITABLE (widget), address);
         gtk_editable_set_width_chars (GTK_EDITABLE (widget), 16);
         gtk_widget_set_hexpand (widget, TRUE);
+        gtk_accessible_update_relation (GTK_ACCESSIBLE (widget),
+                                        GTK_ACCESSIBLE_RELATION_LABELLED_BY, self->routes_address_label, 
NULL,
+                                        -1);
         gtk_box_append (GTK_BOX (row_box), widget);
 
         widget = gtk_entry_new ();
@@ -333,6 +352,9 @@ add_route_row (CEPageIP6   *self,
         gtk_editable_set_text (GTK_EDITABLE (widget), prefix ? prefix : "");
         gtk_editable_set_width_chars (GTK_EDITABLE (widget), 16);
         gtk_widget_set_hexpand (widget, TRUE);
+        gtk_accessible_update_relation (GTK_ACCESSIBLE (widget),
+                                        GTK_ACCESSIBLE_RELATION_LABELLED_BY, self->routes_prefix_label, NULL,
+                                        -1);
         gtk_box_append (GTK_BOX (row_box), widget);
 
         widget = GTK_WIDGET (ce_ip_address_entry_new (AF_INET6));
@@ -342,6 +364,9 @@ add_route_row (CEPageIP6   *self,
         gtk_editable_set_text (GTK_EDITABLE (widget), gateway);
         gtk_editable_set_width_chars (GTK_EDITABLE (widget), 16);
         gtk_widget_set_hexpand (widget, TRUE);
+        gtk_accessible_update_relation (GTK_ACCESSIBLE (widget),
+                                        GTK_ACCESSIBLE_RELATION_LABELLED_BY, self->routes_gateway_label, 
NULL,
+                                        -1);
         gtk_box_append (GTK_BOX (row_box), widget);
 
         widget = gtk_entry_new ();
@@ -351,6 +376,9 @@ add_route_row (CEPageIP6   *self,
         gtk_editable_set_text (GTK_EDITABLE (widget), metric ? metric : "");
         gtk_editable_set_width_chars (GTK_EDITABLE (widget), 5);
         gtk_widget_set_hexpand (widget, TRUE);
+        gtk_accessible_update_relation (GTK_ACCESSIBLE (widget),
+                                        GTK_ACCESSIBLE_RELATION_LABELLED_BY, self->routes_prefix_label, NULL,
+                                        -1);
         gtk_box_append (GTK_BOX (row_box), widget);
 
         gtk_size_group_add_widget (self->routes_metric_sizegroup, widget);
@@ -737,6 +765,9 @@ ce_page_ip6_class_init (CEPageIP6Class *klass)
         gtk_widget_class_set_template_from_resource (widget_class, 
"/org/gnome/control-center/network/ip6-page.ui");
 
         gtk_widget_class_bind_template_child (widget_class, CEPageIP6, address_box);
+        gtk_widget_class_bind_template_child (widget_class, CEPageIP6, address_address_label);
+        gtk_widget_class_bind_template_child (widget_class, CEPageIP6, address_prefix_label);
+        gtk_widget_class_bind_template_child (widget_class, CEPageIP6, address_gateway_label);
         gtk_widget_class_bind_template_child (widget_class, CEPageIP6, address_sizegroup);
         gtk_widget_class_bind_template_child (widget_class, CEPageIP6, auto_dns_switch);
         gtk_widget_class_bind_template_child (widget_class, CEPageIP6, auto_routes_switch);
@@ -750,6 +781,10 @@ ce_page_ip6_class_init (CEPageIP6Class *klass)
         gtk_widget_class_bind_template_child (widget_class, CEPageIP6, manual_radio);
         gtk_widget_class_bind_template_child (widget_class, CEPageIP6, never_default_check);
         gtk_widget_class_bind_template_child (widget_class, CEPageIP6, routes_box);
+        gtk_widget_class_bind_template_child (widget_class, CEPageIP6, routes_address_label);
+        gtk_widget_class_bind_template_child (widget_class, CEPageIP6, routes_prefix_label);
+        gtk_widget_class_bind_template_child (widget_class, CEPageIP6, routes_gateway_label);
+        gtk_widget_class_bind_template_child (widget_class, CEPageIP6, routes_metric_label);
         gtk_widget_class_bind_template_child (widget_class, CEPageIP6, routes_metric_sizegroup);
         gtk_widget_class_bind_template_child (widget_class, CEPageIP6, routes_sizegroup);
         gtk_widget_class_bind_template_child (widget_class, CEPageIP6, shared_radio);
diff --git a/panels/network/connection-editor/details-page.ui 
b/panels/network/connection-editor/details-page.ui
index 109ee0a2e..d3ec5611c 100644
--- a/panels/network/connection-editor/details-page.ui
+++ b/panels/network/connection-editor/details-page.ui
@@ -412,6 +412,7 @@
                 <property name="label" translatable="yes">_Metered connection: has data limits or can incur 
charges</property>
                 <property name="hexpand">True</property>
                 <property name="use_underline">True</property>
+                <property name="mnemonic_widget">restrict_data_check</property>
               </object>
             </child>
 
diff --git a/panels/network/connection-editor/ip4-page.ui b/panels/network/connection-editor/ip4-page.ui
index ce7934d9d..2b1308b7a 100644
--- a/panels/network/connection-editor/ip4-page.ui
+++ b/panels/network/connection-editor/ip4-page.ui
@@ -107,7 +107,7 @@
                           <object class="GtkBox">
                             <property name="orientation">horizontal</property>
                             <child>
-                              <object class="GtkLabel">
+                              <object class="GtkLabel" id="address_label">
                                 <property name="hexpand">True</property>
                                 <property name="label" translatable="yes">Address</property>
                                 <style>
@@ -119,7 +119,7 @@
                               </object>
                             </child>
                             <child>
-                              <object class="GtkLabel">
+                              <object class="GtkLabel" id="netmask_label">
                                 <property name="hexpand">True</property>
                                 <property name="label" translatable="yes">Netmask</property>
                                 <style>
@@ -131,7 +131,7 @@
                               </object>
                             </child>
                             <child>
-                              <object class="GtkLabel">
+                              <object class="GtkLabel" id="gateway_label">
                                 <property name="hexpand">True</property>
                                 <property name="label" translatable="yes">Gateway</property>
                                 <style>
@@ -188,10 +188,14 @@
                     </child>
                     <child>
                       <object class="GtkEntry" id="dns_entry">
+                        <accessibility>
+                          <property name="label" translatable="yes">DNS server address(es)</property>
+                          <relation name="described-by">dns_multiple_help</relation>
+                        </accessibility>
                       </object>
                     </child>
                     <child>
-                      <object class="GtkLabel">
+                      <object class="GtkLabel" id="dns_multiple_help">
                         <property name="xalign">0</property>
                         <property name="label" translatable="yes">Separate IP addresses with 
commas</property>
                         <style>
@@ -253,7 +257,7 @@
                               </object>
                             </child>
                             <child>
-                              <object class="GtkLabel">
+                              <object class="GtkLabel" id="routes_netmask_label">
                                 <property name="hexpand">True</property>
                                 <property name="label" translatable="yes">Netmask</property>
                                 <style>
@@ -265,7 +269,7 @@
                               </object>
                             </child>
                             <child>
-                              <object class="GtkLabel">
+                              <object class="GtkLabel" id="routes_gateway_label">
                                 <property name="hexpand">True</property>
                                 <property name="label" translatable="yes">Gateway</property>
                                 <style>
diff --git a/panels/network/connection-editor/ip6-page.ui b/panels/network/connection-editor/ip6-page.ui
index c6ec8f525..c22fb0f9e 100644
--- a/panels/network/connection-editor/ip6-page.ui
+++ b/panels/network/connection-editor/ip6-page.ui
@@ -129,7 +129,7 @@
                               </object>
                             </child>
                             <child>
-                              <object class="GtkLabel">
+                              <object class="GtkLabel" id="address_prefix_label">
                                 <property name="hexpand">True</property>
                                 <property name="label" translatable="yes">Prefix</property>
                                 <style>
@@ -141,7 +141,7 @@
                               </object>
                             </child>
                             <child>
-                              <object class="GtkLabel">
+                              <object class="GtkLabel" id="address_gateway_label">
                                 <property name="hexpand">True</property>
                                 <property name="label" translatable="yes">Gateway</property>
                                 <style>
@@ -197,10 +197,15 @@
                       </object>
                     </child>
                     <child>
-                      <object class="GtkEntry" id="dns_entry" />
+                      <object class="GtkEntry" id="dns_entry">
+                                              <accessibility>
+                          <property name="label" translatable="yes">DNS server address(es)</property>
+                          <relation name="described-by">dns_multiple_help</relation>
+                        </accessibility>
+                      </object>
                     </child>
                     <child>
-                      <object class="GtkLabel">
+                      <object class="GtkLabel" id="dns_multiple_help">
                         <property name="xalign">0</property>
                         <property name="label" translatable="yes">Separate IP addresses with 
commas</property>
                         <style>
@@ -274,7 +279,7 @@
                               </object>
                             </child>
                             <child>
-                              <object class="GtkLabel">
+                              <object class="GtkLabel" id="routes_gateway_label">
                                 <property name="hexpand">True</property>
                                 <property name="label" translatable="yes">Gateway</property>
                                 <style>
diff --git a/panels/network/network-ethernet.ui b/panels/network/network-ethernet.ui
index a716fe0b5..ab128dcea 100644
--- a/panels/network/network-ethernet.ui
+++ b/panels/network/network-ethernet.ui
@@ -6,6 +6,9 @@
     <property name="header-suffix">
       <object class="GtkButton">
         <property name="icon_name">list-add-symbolic</property>
+        <accessibility>
+          <property name="label" translatable="Yes">Add Ethernet connection</property>
+        </accessibility>
         <signal name="clicked" handler="add_profile_button_clicked_cb" object="NetDeviceEthernet" 
swapped="yes"/>
         <style>
           <class name="flat" />
@@ -38,6 +41,9 @@
                 <child>
                   <object class="GtkSwitch" id="device_off_switch">
                     <property name="valign">center</property>
+                    <accessibility>
+                      <property name="label" translatable="yes">Active</property>
+                    </accessibility>
                     <signal name="notify::active" handler="device_off_switch_changed_cb" 
object="NetDeviceEthernet" swapped="yes"/>
                   </object>
                 </child>
diff --git a/panels/network/network-mobile.ui b/panels/network/network-mobile.ui
index aa9a161b1..e5d7f55a9 100644
--- a/panels/network/network-mobile.ui
+++ b/panels/network/network-mobile.ui
@@ -161,6 +161,7 @@
               <object class="GtkLabel" id="ipv4_heading_label">
                 <property name="xalign">1</property>
                 <property name="label" translatable="yes">IP Address</property>
+                <property name="mnemonic_widget">ipv4_label</property>
                 <layout>
                   <property name="column">0</property>
                   <property name="row">4</property>
@@ -174,6 +175,7 @@
               <object class="GtkLabel" id="ipv6_heading_label">
                 <property name="xalign">1</property>
                 <property name="label" translatable="yes">IPv6 Address</property>
+                <property name="mnemonic_label">ipv6_label</property>
                 <layout>
                   <property name="column">0</property>
                   <property name="row">5</property>
@@ -187,6 +189,7 @@
               <object class="GtkLabel" id="route_heading_label">
                 <property name="xalign">1</property>
                 <property name="label" translatable="yes">Default Route</property>
+                <property name="mnemonic_label">route_label</property>
                 <layout>
                   <property name="column">0</property>
                   <property name="row">6</property>
@@ -201,6 +204,7 @@
                 <property name="xalign">1</property>
                 <property name="yalign">0</property>
                 <property name="label" translatable="yes">DNS</property>
+                <property name="mnemonic_widget">dns4_label</property>
                 <layout>
                   <property name="column">0</property>
                   <property name="row">7</property>
@@ -215,6 +219,7 @@
                 <property name="xalign">1</property>
                 <property name="yalign">0</property>
                 <property name="label" translatable="yes">DNS</property>
+                <property name="mnemonic_widget">dns6_label</property>
                 <layout>
                   <property name="column">0</property>
                   <property name="row">8</property>
@@ -301,6 +306,9 @@
                   <object class="GtkSwitch" id="device_off_switch">
                     <property name="halign">end</property>
                     <property name="valign">center</property>
+                    <accessibility>
+                      <property name="label" translatable="yes">Active</property>
+                    </accessibility>
                     <signal name="notify::active" handler="device_off_switch_changed_cb" 
object="NetDeviceMobile" swapped="yes"/>
                   </object>
                 </child>
diff --git a/panels/network/network-proxy.ui b/panels/network/network-proxy.ui
index 68042ee43..f1d2b4437 100644
--- a/panels/network/network-proxy.ui
+++ b/panels/network/network-proxy.ui
@@ -57,6 +57,9 @@
                 <child>
                   <object class="GtkButton">
                     <signal name="clicked" handler="show_dialog_cb" object="NetProxy" swapped="yes"/>
+                    <accessibility>
+                      <property name="label" translatable="yes">Options…</property>
+                    </accessibility>
                     <child>
                       <object class="GtkImage">
                         <property name="icon_name">emblem-system-symbolic</property>
diff --git a/panels/network/network-wifi.ui b/panels/network/network-wifi.ui
index ca4418bbb..8203921ed 100644
--- a/panels/network/network-wifi.ui
+++ b/panels/network/network-wifi.ui
@@ -94,6 +94,9 @@
     <child>
       <object class="GtkMenuButton" id="header_button">
         <property name="popover">header_button_popover</property>
+        <Accessibility>
+          <property name="label" translatable="yes">More options…</property>
+        </Accessibility>
         <child>
           <object class="GtkImage">
             <property name="icon_name">view-more-symbolic</property>


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