Skip to content

Commit

Permalink
add accessible name for expand icon
Browse files Browse the repository at this point in the history
  • Loading branch information
williamspiegel authored and wmontwe committed Jan 8, 2025
1 parent d4aaac3 commit 6aab65c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@
android:padding="6dp"
android:scaleType="centerCrop"
app:srcCompat="@drawable/ic_expand_more"
android:contentDescription="@string/expand_content_description"
/>

<Space
Expand Down Expand Up @@ -322,6 +323,7 @@
android:scaleType="centerCrop"
app:srcCompat="@drawable/ic_expand_more"
android:id="@+id/recipient_expander"
android:contentDescription="@string/expand_content_description"
/>

<Space
Expand Down
1 change: 1 addition & 0 deletions legacy/ui/legacy/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -840,6 +840,7 @@
<string name="recipient_to">To</string>
<string name="recipient_from">From</string>
<string name="reply_to_label">Reply to</string>
<string name="expand_content_description">Expand</string>
<string name="unknown_recipient">&lt;Unknown Recipient&gt;</string>
<string name="unknown_sender">&lt;Unknown Sender&gt;</string>
<string name="address_type_home">Home</string>
Expand Down

0 comments on commit 6aab65c

Please sign in to comment.