[gnome-control-center] Add a11y labels for close notification buttons in the thunderbolt panel



commit fa10fcfe5ea8e6c905ca43e541b22803285ea86c
Author: Lukáš Tyrychtr <lukastyrychtr gmail com>
Date:   Mon Jun 13 11:56:22 2022 +0200

    Add a11y labels for close notification buttons in the thunderbolt panel

 panels/thunderbolt/cc-bolt-device-dialog.ui | 3 +++
 panels/thunderbolt/cc-bolt-panel.ui         | 3 +++
 2 files changed, 6 insertions(+)
---
diff --git a/panels/thunderbolt/cc-bolt-device-dialog.ui b/panels/thunderbolt/cc-bolt-device-dialog.ui
index 1c6d5b8c5..55dff880e 100644
--- a/panels/thunderbolt/cc-bolt-device-dialog.ui
+++ b/panels/thunderbolt/cc-bolt-device-dialog.ui
@@ -39,6 +39,9 @@
                         </child>
                         <child>
                           <object class="GtkButton">
+                          <accessibility>
+                            <property name="label" translatable="yes">Close notification</property>
+                          </accessibility>
                           <style>
                             <class name="flat" />
                           </style>
diff --git a/panels/thunderbolt/cc-bolt-panel.ui b/panels/thunderbolt/cc-bolt-panel.ui
index bb4694fa3..411571917 100644
--- a/panels/thunderbolt/cc-bolt-panel.ui
+++ b/panels/thunderbolt/cc-bolt-panel.ui
@@ -36,6 +36,9 @@
                     <child>
                       <object class="GtkButton">
                         <property name="can_focus">True</property>
+                        <accessibility>
+                          <property name="label" translatable="yes">Close notification</property>
+                        </accessibility>
                         <style>
                           <class name="flat" />
                         </style>


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