Skip to content

Commit

Permalink
Merge pull request #8692 from williamspiegel/add_expand_accessibility
Browse files Browse the repository at this point in the history
Add accessible name for expand icon in compose screen
  • Loading branch information
wmontwe authored Jan 8, 2025
2 parents b864c00 + 6aab65c commit 14d820b
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 14d820b

Please sign in to comment.