From 1c9e4fe561db8fa60c9fa2e52c689f1081649a05 Mon Sep 17 00:00:00 2001 From: FineFindus <63370021+FineFindus@users.noreply.github.com> Date: Mon, 9 Jan 2023 17:21:38 +0100 Subject: [PATCH] feat(accessibility): add contentDesc/toolTip to poll options --- mastodon/src/main/res/layout/compose_poll_option.xml | 2 ++ mastodon/src/main/res/values/strings_sk.xml | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/mastodon/src/main/res/layout/compose_poll_option.xml b/mastodon/src/main/res/layout/compose_poll_option.xml index d93a68014..61b0544fe 100644 --- a/mastodon/src/main/res/layout/compose_poll_option.xml +++ b/mastodon/src/main/res/layout/compose_poll_option.xml @@ -20,6 +20,7 @@ android:layout_height="24dp" android:layout_margin="16dp" android:tint="?colorDarkIcon" + android:importantForAccessibility="no" android:src="@drawable/ic_fluent_circle_24_regular"/> \ No newline at end of file diff --git a/mastodon/src/main/res/values/strings_sk.xml b/mastodon/src/main/res/values/strings_sk.xml index 888db908e..a07828b7b 100644 --- a/mastodon/src/main/res/values/strings_sk.xml +++ b/mastodon/src/main/res/values/strings_sk.xml @@ -135,8 +135,8 @@ The included images have no description. Please consider adding one, to allow visually impaired people to participate. Recently used Clear recently used emoji - - - Add new poll option Disable "Relocate publish button" to allow customization + + + Add new poll option \ No newline at end of file