[libadwaita/wip/exalm/a11y-fixes: 5/14] status-page: Set a11y relations




commit c0319bac02d581238ebacac4d8ee394713fa29ef
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Mon Dec 27 17:41:31 2021 +0500

    status-page: Set a11y relations

 src/adw-status-page.ui | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/src/adw-status-page.ui b/src/adw-status-page.ui
index 4ad76efa..c6ff29a6 100644
--- a/src/adw-status-page.ui
+++ b/src/adw-status-page.ui
@@ -2,6 +2,10 @@
 <interface domain="libadwaita">
   <requires lib="gtk" version="4.0"/>
   <template class="AdwStatusPage" parent="GtkWidget">
+    <accessibility>
+      <relation name="labelled-by">title_label</relation>
+      <relation name="described-by">description_label</relation>
+    </accessibility>
     <child>
       <object class="GtkScrolledWindow" id="scrolled_window">
         <property name="hscrollbar-policy">never</property>


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