Skip to content

Commit

Permalink
Merge pull request #15085 from wordpress-mobile/issue/15077-fix-missi…
Browse files Browse the repository at this point in the history
…ng-content-desc

Add content description to FAB
  • Loading branch information
zwarm authored Jul 27, 2021
2 parents 8c5b323 + 3073702 commit 2c2e6a3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions WordPress/src/main/res/layout/media_picker_fragment.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
android:layout_height="wrap_content"
android:layout_gravity="end|bottom"
android:layout_margin="@dimen/fab_margin"
android:contentDescription="@string/photo_picker_camera_desc"
android:src="@drawable/ic_photo_camera_24px"
android:visibility="gone"
tools:ignore="InconsistentLayout" />
Expand Down
9 changes: 5 additions & 4 deletions WordPress/src/main/res/layout/photo_picker_fragment.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="end|bottom"
android:visibility="gone"
android:src="@drawable/ic_photo_camera_24px"
android:layout_marginEnd="@dimen/fab_margin"
android:layout_marginBottom="@dimen/fab_margin_stories"
tools:ignore="InconsistentLayout"/>
android:layout_marginEnd="@dimen/fab_margin"
android:contentDescription="@string/photo_picker_camera_desc"
android:src="@drawable/ic_photo_camera_24px"
android:visibility="gone"
tools:ignore="InconsistentLayout" />

<RelativeLayout
android:layout_width="match_parent"
Expand Down

0 comments on commit 2c2e6a3

Please sign in to comment.