From 65421b5f63de2bef637c7c511b678fd2eb73951f Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Thu, 14 May 2026 23:49:33 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Palette:=20Add=20tooltip=20to=20?= =?UTF-8?q?search=20back=20button?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adding `tooltipText` to the icon-only `search_back` ImageButton in the Discover fragment. This mirrors the existing `contentDescription` to ensure the button is accessible for mouse and stylus users who rely on hover tooltips, following the application's accessibility guidelines for icon-only buttons on Android API 26+. Co-authored-by: dlukt <201112286+dlukt@users.noreply.github.com> --- mastodon/src/main/res/layout/fragment_discover.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/mastodon/src/main/res/layout/fragment_discover.xml b/mastodon/src/main/res/layout/fragment_discover.xml index beaf4e7e0..36ed1322e 100644 --- a/mastodon/src/main/res/layout/fragment_discover.xml +++ b/mastodon/src/main/res/layout/fragment_discover.xml @@ -23,6 +23,7 @@ android:layout_width="56dp" android:layout_height="56dp" android:contentDescription="@string/back" + android:tooltipText="@string/back" android:background="?android:actionBarItemBackground" android:tint="?colorM3OnSurfaceVariant" android:src="@drawable/ic_fluent_search_24_regular"/>