[gnome-control-center] window: Add accessible-name for the Search button



commit 09b6a532c06e02fabef59a5a9e08540e43e8edbd
Author: Felipe Borges <felipeborges gnome org>
Date:   Mon Nov 20 17:05:52 2017 +0100

    window: Add accessible-name for the Search button
    
    The search toggle button in the upper-left corner of the Window
    lacks an accessible name. Thus when it gains focus, screen readers
    cannot present what this widget does; only that it is a toggle button.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=790625

 shell/window.ui |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/shell/window.ui b/shell/window.ui
index 3f48916..e0bf082 100644
--- a/shell/window.ui
+++ b/shell/window.ui
@@ -134,6 +134,11 @@
                 <property name="can_focus">True</property>
                 <property name="receives_default">True</property>
                 <property name="no_show_all">True</property>
+                <child internal-child="accessible">
+                  <object class="AtkObject">
+                    <property name="accessible-name" translatable="yes">Search</property>
+                  </object>
+                </child>
                 <child>
                   <object class="GtkImage">
                     <property name="visible">True</property>


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