[gtk/ebassi/for-master: 9/11] Establish a control relation between demo search and list




commit c6bf558694596a9e43fa9d82812356bb30328a5c
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Thu Nov 12 16:12:03 2020 +0000

    Establish a control relation between demo search and list
    
    The search entry changes the content of the list view, so we should
    mention that relation to assistive technologies.

 demos/gtk-demo/main.ui | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/demos/gtk-demo/main.ui b/demos/gtk-demo/main.ui
index 91dfd91cfe..58f8d823d7 100644
--- a/demos/gtk-demo/main.ui
+++ b/demos/gtk-demo/main.ui
@@ -59,7 +59,11 @@
                   <object class="GtkSearchBar" id="searchbar">
                     <property name="key-capture-widget">window</property>
                     <child>
-                      <object class="GtkSearchEntry" id="search-entry"/>
+                      <object class="GtkSearchEntry" id="search-entry">
+                        <accessibility>
+                          <relation name="controls">listview</relation>
+                        </accessibility>
+                      </object>
                     </child>
                   </object>
                 </child>


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