Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .Jules/palette.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,7 @@
## 2024-05-24 - Missing Tooltips on API 26+
**Learning:** Many icon-only buttons (`ImageButton`, `ImageView`) throughout the app have `android:contentDescription` set but lack a corresponding `android:tooltipText`. This means screen readers will announce them, but users relying on mouse hover or long-press will not see a descriptive text box.
**Action:** Always add `android:tooltipText` matching `android:contentDescription` on icon-only interactive elements in XML to ensure visual parity with screen reader text.

## 2026-05-11 - Add tooltip to search clear button in onboarding login
**Learning:** The 'clear' button in `header_onboarding_login.xml` was missing `tooltipText`, which helps mouse/stylus users understand icon-only buttons on Android API 26+.
**Action:** Add `android:tooltipText` matching the `android:contentDescription` to all icon-only buttons.
1 change: 1 addition & 0 deletions mastodon/src/main/res/layout/header_onboarding_login.xml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
android:visibility="gone"
tools:visibility="visible"
android:contentDescription="@string/clear"
android:tooltipText="@string/clear"
android:stateListAnimator="@null"
android:elevation="0dp"
android:tint="?colorM3OnSurfaceVariant"
Expand Down
Loading