[libadwaita/wip/exalm/a11y-fixes: 2/11] status-page: Set a11y relations




commit e3c42eec1d89b89c69cab568493b41033936eef8
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]