From 885c7bbb103dde6ca6b1b47cfefc6b9ea5ea231c Mon Sep 17 00:00:00 2001 From: arkon Date: Sat, 11 Jan 2020 22:14:02 -0500 Subject: [PATCH] Add descriptions to reader prev/next buttons for a11y --- app/src/main/res/layout/reader_activity.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/res/layout/reader_activity.xml b/app/src/main/res/layout/reader_activity.xml index b2af47123b..54933da704 100644 --- a/app/src/main/res/layout/reader_activity.xml +++ b/app/src/main/res/layout/reader_activity.xml @@ -65,6 +65,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:background="?selectableItemBackgroundBorderless" + android:contentDescription="@string/action_previous_chapter" android:padding="@dimen/material_layout_keylines_screen_edge_margin" app:srcCompat="@drawable/ic_skip_previous_white_24dp" /> @@ -95,6 +96,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:background="?selectableItemBackgroundBorderless" + android:contentDescription="@string/action_next_chapter" android:padding="@dimen/material_layout_keylines_screen_edge_margin" app:srcCompat="@drawable/ic_skip_next_white_24dp" />