summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAutomeris naranja <104251-automerisnaranja@users.noreply.gitlab.gnome.org>2023-02-22 17:05:22 -0300
committerCorey Berla <corey@berla.me>2023-05-09 21:41:04 +0000
commitfdb95bdeec7e50ccce6c9095e77c9a86cfa02059 (patch)
treee1d671c96ae88eb688addd3789308b58faa7a16d
parent2071f46fe168246922af2b37fa260a6770cffd64 (diff)
downloadnautilus-fdb95bdeec7e50ccce6c9095e77c9a86cfa02059.tar.gz
search-popover: Replace some tooltips with a11y labels
This change replaces the tooltips of the "Select Dates" and "Anything" dropdown menus with a11y labels, as suggested in https://gitlab.gnome.org/GNOME/nautilus/-/issues/2754#note_1626144 Fixes https://gitlab.gnome.org/GNOME/nautilus/-/issues/2754
-rw-r--r--src/resources/ui/nautilus-search-popover.ui8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/resources/ui/nautilus-search-popover.ui b/src/resources/ui/nautilus-search-popover.ui
index a2a703c03..889da8b34 100644
--- a/src/resources/ui/nautilus-search-popover.ui
+++ b/src/resources/ui/nautilus-search-popover.ui
@@ -35,8 +35,10 @@
<object class="GtkBox">
<child>
<object class="GtkButton" id="select_date_button">
- <property name="tooltip_text" translatable="yes">Select a date</property>
<property name="hexpand">True</property>
+ <accessibility>
+ <relation name="labelled-by">select_date_button_label</relation>
+ </accessibility>
<child>
<object class="GtkLabel" id="select_date_button_label">
<property name="label" translatable="yes">Select Dates…</property>
@@ -217,7 +219,9 @@
<property name="name">type-button</property>
<property name="child">
<object class="GtkButton" id="select_type_button">
- <property name="tooltip_text" translatable="yes">Which file types will be searched</property>
+ <accessibility>
+ <relation name="labelled-by">type_label</relation>
+ </accessibility>
<signal name="clicked" handler="select_type_button_clicked" object="NautilusSearchPopover" swapped="no"/>
<child>
<object class="GtkBox">