[gnome-control-center] Add an a11y label to the enable switch



commit f1d5215cdd437f7ac6270f1a567128febea8cc69
Author: Lukáš Tyrychtr <lukastyrychtr gmail com>
Date:   Mon May 2 11:37:24 2022 +0200

    Add an a11y label to the enable switch

 panels/bluetooth/cc-bluetooth-panel.ui | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/panels/bluetooth/cc-bluetooth-panel.ui b/panels/bluetooth/cc-bluetooth-panel.ui
index 294ead36a..94ad137d1 100644
--- a/panels/bluetooth/cc-bluetooth-panel.ui
+++ b/panels/bluetooth/cc-bluetooth-panel.ui
@@ -7,6 +7,9 @@
         <child>
           <object class="GtkSwitch" id="enable_switch">
             <property name="valign">center</property>
+            <accessibility>
+              <property name="label" translatable="yes">Enable</property>
+            </accessibility>
             <signal name="state-set" handler="enable_switch_state_set_cb" object="CcBluetoothPanel" 
swapped="yes"/>
           </object>
         </child>


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