[gtk/matthiasc/a11y-buildable: 1/6] color editor: Add accessible labels




commit 313ba0280aa2c3464978ae025590ac0eee1cf8e8
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Oct 24 23:55:56 2020 -0400

    color editor: Add accessible labels
    
    Add some labels to the controls in this dialog.

 gtk/ui/gtkcoloreditor.ui | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
---
diff --git a/gtk/ui/gtkcoloreditor.ui b/gtk/ui/gtkcoloreditor.ui
index bb17b590fa..99fe130adf 100644
--- a/gtk/ui/gtkcoloreditor.ui
+++ b/gtk/ui/gtkcoloreditor.ui
@@ -49,6 +49,9 @@
                   <property name="column">0</property>
                   <property name="row">0</property>
                 </layout>
+                <accessibility>
+                  <property name="label" translatable="yes">Pick a color from the screen</property>
+                </accessibility>
               </object>
             </child>
             <child>
@@ -73,6 +76,9 @@
                   <property name="column">2</property>
                   <property name="row">0</property>
                 </layout>
+                <accessibility>
+                  <property name="label" translatable="yes">Hexadecimal color or color name</property>
+                </accessibility>
               </object>
             </child>
             <child>
@@ -86,6 +92,9 @@
                   <property name="column">0</property>
                   <property name="row">1</property>
                 </layout>
+                <accessibility>
+                  <property name="label" translatable="yes">Hue</property>
+                </accessibility>
               </object>
             </child>
             <child>
@@ -103,6 +112,9 @@
                   <property name="row">2</property>
                   <property name="column-span">2</property>
                 </layout>
+                <accessibility>
+                  <property name="label" translatable="yes">Alpha value</property>
+                </accessibility>
               </object>
             </child>
             <child>
@@ -118,6 +130,9 @@
                   <property name="row">1</property>
                   <property name="column-span">2</property>
                 </layout>
+                <accessibility>
+                  <property name="label" translatable="yes">Saturation and value</property>
+                </accessibility>
               </object>
             </child>
           </object>


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