[gnome-control-center] night-light: Add mnemonic_widget and ATK descriptions for a11y



commit 7f6d19441f2d264c8f153346c05be5ffc99e9d12
Author: Jeremy Bicha <jbicha ubuntu com>
Date:   Mon Jan 7 10:02:51 2019 -0500

    night-light: Add mnemonic_widget and ATK descriptions for a11y

 panels/display/cc-night-light-dialog.ui | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
---
diff --git a/panels/display/cc-night-light-dialog.ui b/panels/display/cc-night-light-dialog.ui
index c57bf9015..1e4fb58fe 100644
--- a/panels/display/cc-night-light-dialog.ui
+++ b/panels/display/cc-night-light-dialog.ui
@@ -206,6 +206,7 @@
                         <property name="halign">start</property>
                         <property name="valign">center</property>
                         <property name="label" translatable="yes">From</property>
+                        <property name="mnemonic_widget">spinbutton_from_hours</property>
                         <style>
                           <class name="dim-label"/>
                         </style>
@@ -231,6 +232,11 @@
                             <style>
                               <class name="padded-spinbutton"/>
                             </style>
+                            <child internal-child="accessible">
+                              <object class="AtkObject" id="from_h_spinbutton-atkobject">
+                                <property name="AtkObject::accessible-description" 
translatable="yes">Hour</property>
+                              </object>
+                            </child>
                           </object>
                         </child>
                         <child>
@@ -254,6 +260,11 @@
                             <style>
                               <class name="padded-spinbutton"/>
                             </style>
+                            <child internal-child="accessible">
+                              <object class="AtkObject" id="from_m_spinbutton-atkobject">
+                                <property name="AtkObject::accessible-description" 
translatable="yes">Minute</property>
+                              </object>
+                            </child>
                           </object>
                         </child>
                         <child>
@@ -328,6 +339,11 @@
                             <style>
                               <class name="padded-spinbutton"/>
                             </style>
+                            <child internal-child="accessible">
+                              <object class="AtkObject" id="to_h_spinbutton-atkobject">
+                                <property name="AtkObject::accessible-description" 
translatable="yes">Hour</property>
+                              </object>
+                            </child>
                           </object>
                         </child>
                         <child>
@@ -351,6 +367,11 @@
                             <style>
                               <class name="padded-spinbutton"/>
                             </style>
+                            <child internal-child="accessible">
+                              <object class="AtkObject" id="to_m_spinbutton-atkobject">
+                                <property name="AtkObject::accessible-description" 
translatable="yes">Minute</property>
+                              </object>
+                            </child>
                           </object>
                         </child>
                         <child>
@@ -418,6 +439,7 @@
                         <property name="valign">center</property>
                         <property name="margin_left">3</property>
                         <property name="label" translatable="yes">To</property>
+                        <property name="mnemonic_widget">spinbutton_to_hours</property>
                         <style>
                           <class name="dim-label"/>
                         </style>
@@ -438,6 +460,7 @@
                     <property name="halign">start</property>
                     <property name="hexpand">True</property>
                     <property name="label" translatable="yes">Color Temperature</property>
+                    <property name="mnemonic_widget">scale_color_temperature</property>
                     <attributes>
                       <attribute name="weight" value="bold"/>
                     </attributes>


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