[gnome-control-center] region: Make section heading accessible



commit e4c2000fa8cc7933351eac720696a445bde75805
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Sep 25 16:47:53 2015 -0400

    region: 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=746758

 panels/region/region.ui |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/panels/region/region.ui b/panels/region/region.ui
index 85d7700..b5f32a4 100644
--- a/panels/region/region.ui
+++ b/panels/region/region.ui
@@ -147,6 +147,9 @@
                     <attributes>
                       <attribute name="weight" value="bold"/>
                     </attributes>
+                    <accessibility>
+                      <relation target="input_list" type="label-for"/>
+                    </accessibility>
                   </object>
                   <packing>
                     <property name="expand">True</property>
@@ -184,6 +187,9 @@
                   <object class="GtkListBox" id="input_list">
                     <property name="visible">True</property>
                     <property name="can_focus">True</property>
+                    <accessibility>
+                      <relation target="input_heading" type="labelled-by"/>
+                    </accessibility>
                   </object>
                 </child>
               </object>


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