feat(compose/add-poll): add contentLabel for more option

This commit is contained in:
FineFindus
2023-01-05 16:24:44 +01:00
parent f510ee3b4d
commit 7cdddf06bc
2 changed files with 5 additions and 0 deletions

View File

@@ -153,6 +153,7 @@
android:layout_marginBottom="8dp" android:layout_marginBottom="8dp"
android:background="@drawable/bg_poll_option_clickable" android:background="@drawable/bg_poll_option_clickable"
android:outlineProvider="background" android:outlineProvider="background"
android:contentDescription="@string/poll_option_add"
android:elevation="2dp"> android:elevation="2dp">
<ImageView <ImageView
android:id="@+id/add_poll_option_icon" android:id="@+id/add_poll_option_icon"
@@ -429,6 +430,7 @@
android:layout_marginStart="12dp" android:layout_marginStart="12dp"
android:visibility="gone" android:visibility="gone"
android:tooltipText="@string/publish" android:tooltipText="@string/publish"
android:contentDescription="@string/publish"
android:drawableStart="@drawable/ic_fluent_send_24_selector" android:drawableStart="@drawable/ic_fluent_send_24_selector"
/> />

View File

@@ -135,4 +135,7 @@
<string name="sk_no_image_desc">The included images have no description. Please consider adding one, to allow visually impaired people to participate.</string> <string name="sk_no_image_desc">The included images have no description. Please consider adding one, to allow visually impaired people to participate.</string>
<string name="sk_emoji_recent">Recently used</string> <string name="sk_emoji_recent">Recently used</string>
<string name="sk_clear_recent_emoji">Clear recently used emoji</string> <string name="sk_clear_recent_emoji">Clear recently used emoji</string>
<!-- accessibility labels-->
<string name="poll_option_add">Add new poll option</string>
</resources> </resources>