[gnome-control-center] universal-access: Make section heading accessible
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] universal-access: Make section heading accessible
- Date: Tue, 29 Sep 2015 18:23:07 +0000 (UTC)
commit 19d8e9ba6c9b8d01db6cc5aca18b33ed28e21a5d
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Sep 25 16:42:22 2015 -0400
universal-access: Make section heading accessible
We need to set up labelled-by/label-for relations so orca knows
to read the labels when the focus enters one of the lists.
https://bugzilla.gnome.org/show_bug.cgi?id=746761
panels/universal-access/uap.ui | 24 ++++++++++++++++++++++++
1 files changed, 24 insertions(+), 0 deletions(-)
---
diff --git a/panels/universal-access/uap.ui b/panels/universal-access/uap.ui
index c9d2840..792c33f 100644
--- a/panels/universal-access/uap.ui
+++ b/panels/universal-access/uap.ui
@@ -75,6 +75,9 @@
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
+ <accessibility>
+ <relation target="list_seeing" type="label-for"/>
+ </accessibility>
</object>
<packing>
<property name="expand">False</property>
@@ -93,6 +96,9 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="selection-mode">none</property>
+ <accessibility>
+ <relation target="heading_seeing" type="labelled-by"/>
+ </accessibility>
<child>
<object class="GtkListBoxRow" id="row_highcontrast">
<property name="visible">True</property>
@@ -361,6 +367,9 @@
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
+ <accessibility>
+ <relation target="list_hearing" type="label-for"/>
+ </accessibility>
</object>
<packing>
<property name="expand">False</property>
@@ -379,6 +388,9 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="selection-mode">none</property>
+ <accessibility>
+ <relation target="heading_hearing" type="labelled-by"/>
+ </accessibility>
<child>
<object class="GtkListBoxRow" id="row_visual_alerts">
<property name="visible">True</property>
@@ -462,6 +474,9 @@
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
+ <accessibility>
+ <relation target="list_typing" type="label-for"/>
+ </accessibility>
</object>
<packing>
<property name="expand">False</property>
@@ -480,6 +495,9 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="selection-mode">none</property>
+ <accessibility>
+ <relation target="heading_typing" type="labelled-by"/>
+ </accessibility>
<child>
<object class="GtkListBoxRow" id="row_screen_keyboard">
<property name="visible">True</property>
@@ -609,6 +627,9 @@
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
+ <accessibility>
+ <relation target="list_pointing" type="label-for"/>
+ </accessibility>
</object>
<packing>
<property name="expand">False</property>
@@ -627,6 +648,9 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="selection-mode">none</property>
+ <accessibility>
+ <relation target="heading_pointing" type="labelled-by"/>
+ </accessibility>
<child>
<object class="GtkListBoxRow" id="row_mouse_keys">
<property name="visible">True</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]