[gnome-control-center] Add a few a11y labels to the switches
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] Add a few a11y labels to the switches
- Date: Tue, 10 May 2022 03:24:05 +0000 (UTC)
commit 91b13f42839ff0fedb5e958488efe0ff7ad6ef53
Author: Lukáš Tyrychtr <lukastyrychtr gmail com>
Date: Mon May 9 13:33:57 2022 +0200
Add a few a11y labels to the switches
panels/mouse/cc-mouse-panel.ui | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
---
diff --git a/panels/mouse/cc-mouse-panel.ui b/panels/mouse/cc-mouse-panel.ui
index 4954e1884..adda2faf8 100644
--- a/panels/mouse/cc-mouse-panel.ui
+++ b/panels/mouse/cc-mouse-panel.ui
@@ -83,6 +83,9 @@
<child>
<object class="GtkSwitch" id="mouse_natural_scrolling_switch">
<property name="valign">center</property>
+ <accessibility>
+ <property name="label" translatable="yes">Natural Scrolling</property>
+ </accessibility>
</object>
</child>
</object>
@@ -99,6 +102,9 @@
<child>
<object class="GtkSwitch" id="touchpad_toggle_switch">
<property name="valign">center</property>
+ <accessibility>
+ <property name="label" translatable="yes">Touchpad</property>
+ </accessibility>
</object>
</child>
</object>
@@ -110,6 +116,9 @@
<child>
<object class="GtkSwitch" id="touchpad_natural_scrolling_switch">
<property name="valign">center</property>
+ <accessibility>
+ <property name="label" translatable="yes">Natural Scrolling</property>
+ </accessibility>
</object>
</child>
</object>
@@ -137,6 +146,9 @@
<child>
<object class="GtkSwitch" id="tap_to_click_switch">
<property name="valign">center</property>
+ <accessibility>
+ <property name="label" translatable="yes">Tap to click</property>
+ </accessibility>
</object>
</child>
</object>
@@ -148,6 +160,9 @@
<child>
<object class="GtkSwitch" id="two_finger_scrolling_switch">
<property name="valign">center</property>
+ <accessibility>
+ <property name="label" translatable="yes">Two-finger Scrolling</property>
+ </accessibility>
<signal name="state-set" handler="two_finger_scrolling_changed_event"
object="CcMousePanel" swapped="yes"/>
</object>
</child>
@@ -160,6 +175,9 @@
<child>
<object class="GtkSwitch" id="edge_scrolling_switch">
<property name="valign">center</property>
+ <accessibility>
+ <property name="label" translatable="yes">Edge Scrolling</property>
+ </accessibility>
<signal name="state-set" handler="edge_scrolling_changed_event"
object="CcMousePanel" swapped="yes"/>
</object>
</child>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]