Skip to content

Commit d3f23af

Browse files
committed
add content description to buttons
Signed-off-by: sowjanyakch <[email protected]>
1 parent 7ca1ec9 commit d3f23af

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

app/src/main/res/layout/view_message_input.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@
131131
android:layout_marginEnd="@dimen/standard_double_margin"
132132
android:scaleType="centerInside"
133133
android:src="@drawable/ic_send"
134-
android:contentDescription="@null"
134+
android:contentDescription="@string/nc_send_voice_message"
135135
android:background="?android:attr/selectableItemBackgroundBorderless"
136136
android:visibility="gone" />
137137

@@ -147,7 +147,7 @@
147147
android:scaleType="centerInside"
148148
android:layout_alignParentStart="true"
149149
android:src="@drawable/ic_baseline_mic_red_24"
150-
android:contentDescription="@null"
150+
android:contentDescription="@string/nc_microphone_enabled_audio_recording"
151151
android:visibility="gone"
152152
tools:visibility="gone" />
153153

app/src/main/res/values/strings.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,7 @@ How to translate with transifex:
299299
<string name="nc_camera_permission_hint">To enable video communication please grant \"Camera\" permission.</string>
300300
<string name="nc_microphone_permission_hint">To enable voice communication please grant \"Microphone\" permission.</string>
301301
<string name="nc_bluetooth_permission_hint">To enable bluetooth speakers please grant \"Nearby devices\" permission.</string>
302+
<string name="nc_microphone_enabled_audio_recording">Microphone is enabled and audio is recording</string>
302303

303304
<!-- Call -->
304305
<string name="nc_call_voice">%s voice call</string>
@@ -452,6 +453,7 @@ How to translate with transifex:
452453
<item quantity="one">See %d similar message</item>
453454
<item quantity="other">See %d similar messages</item>
454455
</plurals>
456+
<string name="nc_send_voice_message">Send voice message</string>
455457

456458
<!-- Conversation info guest access -->
457459
<string name="nc_guest_access">Guest access</string>

0 commit comments

Comments
 (0)