[polari/mater: 2/2] ui: Set accessible name for join-menu button



commit 2a92e101dc0ede45a140767d2ac6d68e604e6a4c
Author: Florian Müllner <fmuellner gnome org>
Date:   Sun Feb 22 01:11:16 2015 +0100

    ui: Set accessible name for join-menu button
    
    The button uses only an image, which makes it "blank" to accessibility
    tools like screen readers. Ouch. Set a (hopefully) descriptive name to
    fix.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=743384

 data/resources/main-window.ui |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/data/resources/main-window.ui b/data/resources/main-window.ui
index e9bf3af..21dbc2b 100644
--- a/data/resources/main-window.ui
+++ b/data/resources/main-window.ui
@@ -53,6 +53,12 @@
                     <property name="icon_size">1</property>
                   </object>
                 </child>
+                <child internal-child="accessible">
+                  <object class="AtkObject" id="menubutton1-atkobject">
+                    <property name="AtkObject::accessible-name"
+                              translatable="yes">Join room</property>
+                  </object>
+                </child>
               </object>
               <packing>
                 <property name="pack_type">start</property>


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