[gtk/matthiasc/for-master: 3/7] coloreditor: Set an accessible role for the swatch




commit 76248016b11dcb3d38f07450b4c80a74313d9e6a
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Oct 21 23:35:12 2020 -0400

    coloreditor: Set an accessible role for the swatch
    
    This is not a selectable option, it is just an image
    demonstrating the current color, so give it the IMG
    role.

 gtk/ui/gtkcoloreditor.ui | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/gtk/ui/gtkcoloreditor.ui b/gtk/ui/gtkcoloreditor.ui
index bb17b590fa..6ec1f52005 100644
--- a/gtk/ui/gtkcoloreditor.ui
+++ b/gtk/ui/gtkcoloreditor.ui
@@ -53,6 +53,7 @@
             </child>
             <child>
               <object class="GtkColorSwatch" id="swatch">
+                <property name="accessible-role">img</property>
                 <property name="name">editor-color-sample</property>
                 <property name="rgba">rgb(255,255,255)</property>
                 <property name="selectable">False</property>


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