Add content description to image buttons for accessibility purposes

This commit is contained in:
pokkst 2023-12-03 17:51:46 -06:00
parent c64dbfdfec
commit 2995e26a81
No known key found for this signature in database
GPG key ID: EC4FAAA66859FAA4
8 changed files with 24 additions and 0 deletions

View file

@ -165,6 +165,7 @@
android:minWidth="48dp"
android:minHeight="48dp"
android:padding="8dp"
android:contentDescription="@string/settings"
android:src="@drawable/ic_settings"
app:layout_constraintBottom_toBottomOf="@id/balance_unlocked_textview"
app:layout_constraintEnd_toEndOf="parent"

View file

@ -93,6 +93,7 @@
android:layout_height="wrap_content"
android:minWidth="24dp"
android:minHeight="24dp"
android:contentDescription="@string/display_advanced_wallet_creation_options"
android:src="@drawable/ic_keyboard_arrow_down"
app:layout_constraintBottom_toBottomOf="@id/advanced_settings_dropdown_textview"
app:layout_constraintStart_toEndOf="@id/advanced_settings_dropdown_textview"

View file

@ -28,6 +28,7 @@
android:src="@drawable/ic_refresh"
android:minWidth="48dp"
android:minHeight="48dp"
android:contentDescription="@string/generate_fresh_wallet_address"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="@id/recv_monero_textview"
app:layout_constraintBottom_toBottomOf="@id/recv_monero_textview"
@ -94,6 +95,7 @@
android:layout_marginTop="16dp"
android:minWidth="48dp"
android:minHeight="48dp"
android:contentDescription="@string/copy_selected_wallet_address"
android:src="@drawable/ic_content_copy_24dp"
app:layout_constraintBottom_toTopOf="@id/address_list_recyclerview"
app:layout_constraintEnd_toEndOf="parent"

View file

@ -45,6 +45,7 @@
android:background="@android:color/transparent"
android:minWidth="48dp"
android:minHeight="48dp"
android:contentDescription="@string/add_recipient_to_transaction"
android:src="@android:drawable/ic_input_add"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintTop_toTopOf="parent"
@ -219,6 +220,7 @@
app:slider_height="72dp"
app:slider_locked="false"
app:text="@string/slide_to_send"
android:focusable="true"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:text_size="18sp"

View file

@ -81,6 +81,7 @@
android:background="@android:color/transparent"
android:minWidth="48dp"
android:minHeight="48dp"
android:contentDescription="@string/copy_transaction_addr"
android:src="@drawable/ic_content_copy_24dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@id/transaction_address_textview"
@ -120,6 +121,7 @@
android:background="@android:color/transparent"
android:minWidth="48dp"
android:minHeight="48dp"
android:contentDescription="@string/copy_transaction_hash"
android:src="@drawable/ic_content_copy_24dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@id/transaction_hash_textview"

View file

@ -72,6 +72,7 @@
android:background="@android:color/transparent"
android:minWidth="48dp"
android:minHeight="48dp"
android:contentDescription="@string/paste_clipboard_into_amount_field"
android:src="@drawable/ic_content_paste_24dp"
app:layout_constraintBottom_toBottomOf="@id/amount_edittext"
app:layout_constraintEnd_toStartOf="@id/remove_output_imagebutton"
@ -87,6 +88,7 @@
android:background="@android:color/transparent"
android:minWidth="48dp"
android:minHeight="48dp"
android:contentDescription="@string/paste_clipboard_into_address_field"
android:src="@drawable/ic_content_paste_24dp"
app:layout_constraintBottom_toBottomOf="@id/address_edittext"
app:layout_constraintEnd_toStartOf="@id/scan_address_imagebutton"
@ -103,6 +105,7 @@
android:minHeight="48dp"
android:layout_marginEnd="24dp"
android:src="@drawable/ic_scan"
android:contentDescription="@string/scan_qr_code_for_address_field"
app:layout_constraintBottom_toBottomOf="@id/address_edittext"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@id/paste_address_imagebutton"
@ -117,6 +120,7 @@
android:minWidth="48dp"
android:minHeight="48dp"
android:layout_marginEnd="24dp"
android:contentDescription="@string/remove_recipient_from_transaction"
android:src="@android:drawable/ic_delete"
app:layout_constraintBottom_toBottomOf="@id/amount_edittext"
app:layout_constraintEnd_toEndOf="parent"

View file

@ -122,6 +122,7 @@
android:background="@android:color/transparent"
android:minWidth="48dp"
android:minHeight="48dp"
android:contentDescription="@string/copy_wallet_s_private_view_key"
android:src="@drawable/ic_content_copy_24dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintVertical_bias="0.0"

View file

@ -140,5 +140,16 @@
<string name="max_outputs_allowed">Maximum allowed outputs</string>
<string name="paymentid_paytomany">Cannot send to integrated addresses in a pay-to-many transaction</string>
<string name="slide_to_send">Slide to send</string>
<string name="display_advanced_wallet_creation_options">Display advanced wallet creation options</string>
<string name="generate_fresh_wallet_address">Generate fresh wallet address</string>
<string name="copy_selected_wallet_address">Copy selected wallet address</string>
<string name="add_recipient_to_transaction">Add recipient to transaction</string>
<string name="copy_wallet_s_private_view_key">Copy wallet\'s private view-key</string>
<string name="paste_clipboard_into_amount_field">Paste clipboard into amount field</string>
<string name="paste_clipboard_into_address_field">Paste clipboard into address field</string>
<string name="remove_recipient_from_transaction">Remove recipient from transaction</string>
<string name="scan_qr_code_for_address_field">Scan QR code for address field</string>
<string name="copy_transaction_hash">Copy transaction hash</string>
<string name="copy_transaction_addr">Copy transaction address</string>
</resources>