From 153a82962eacadb6cc1ea1290b14b107cc0d316c Mon Sep 17 00:00:00 2001 From: AndyScherzinger Date: Tue, 24 Jul 2018 13:54:01 +0200 Subject: [PATCH 1/8] drawer menu button now reads out "Open"->"Open sidebar" and "Close"->"Close sidebar" --- src/main/res/values/strings.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/res/values/strings.xml b/src/main/res/values/strings.xml index 3c4ffeab35..1b5df9d0b8 100644 --- a/src/main/res/values/strings.xml +++ b/src/main/res/values/strings.xml @@ -34,8 +34,8 @@ Activities Notifications %1$s of %2$s used - Close - Open + Close sidebar + Open sidebar General More Manage accounts From 270a93d8d428a9b6419541ac00ceb132f0e9ec43 Mon Sep 17 00:00:00 2001 From: AndyScherzinger Date: Tue, 24 Jul 2018 14:09:12 +0200 Subject: [PATCH 2/8] talkback: "thumbnail" isn't spoken anymore --- src/main/res/layout/grid_image.xml | 3 ++- src/main/res/layout/grid_item.xml | 2 +- src/main/res/layout/list_item.xml | 2 +- src/main/res/layout/trashbin_item.xml | 2 +- src/main/res/layout/upload_list_item.xml | 2 +- src/main/res/layout/uploader_list_item_layout.xml | 2 +- src/main/res/layout/version_list_item.xml | 2 +- 7 files changed, 8 insertions(+), 7 deletions(-) diff --git a/src/main/res/layout/grid_image.xml b/src/main/res/layout/grid_image.xml index 2768cb67a5..847e76181b 100644 --- a/src/main/res/layout/grid_image.xml +++ b/src/main/res/layout/grid_image.xml @@ -35,7 +35,8 @@ android:layout_height="match_parent" android:padding="@dimen/standard_eigth_padding" android:scaleType="centerCrop" - android:src="@drawable/folder" /> + android:src="@drawable/folder" + android:contentDescription="@null"/> + android:contentDescription="@null"/> diff --git a/src/main/res/layout/uploader_list_item_layout.xml b/src/main/res/layout/uploader_list_item_layout.xml index 53b9d019c5..b1b7ddbeb4 100644 --- a/src/main/res/layout/uploader_list_item_layout.xml +++ b/src/main/res/layout/uploader_list_item_layout.xml @@ -30,7 +30,7 @@ android:layout_gravity="center_vertical" android:layout_margin="@dimen/uploader_list_item_layout_image_margin" android:src="@drawable/folder" - android:contentDescription="@string/thumbnail"/> + android:contentDescription="@null"/> Date: Tue, 24 Jul 2018 14:53:38 +0200 Subject: [PATCH 3/8] talkback: The "+" menu FAB should be spoken as "Add or upload" --- src/main/res/layout/list_fragment.xml | 1 + src/main/res/values/strings.xml | 1 + 2 files changed, 2 insertions(+) diff --git a/src/main/res/layout/list_fragment.xml b/src/main/res/layout/list_fragment.xml index 2d1afe1d0d..1712df951f 100644 --- a/src/main/res/layout/list_fragment.xml +++ b/src/main/res/layout/list_fragment.xml @@ -56,6 +56,7 @@ android:layout_marginBottom="@dimen/standard_margin" android:layout_marginEnd="@dimen/standard_margin" android:layout_marginRight="@dimen/standard_margin" + android:contentDescription="@string/fab_label" android:visibility="gone" /> Please download media instead or use external app. Folder already exists Notification icon + Add or upload From c370bf3089e3d134d02232a8135fefb8cd646377 Mon Sep 17 00:00:00 2001 From: AndyScherzinger Date: Tue, 24 Jul 2018 15:05:42 +0200 Subject: [PATCH 4/8] talkback: mute thumbnail for share screen --- src/main/res/layout/share_file_layout.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/res/layout/share_file_layout.xml b/src/main/res/layout/share_file_layout.xml index c4ac306a6a..8576770b42 100644 --- a/src/main/res/layout/share_file_layout.xml +++ b/src/main/res/layout/share_file_layout.xml @@ -42,7 +42,7 @@ android:layout_gravity="center_vertical" android:layout_marginRight="@dimen/standard_half_margin" android:layout_marginEnd="@dimen/standard_half_margin" - android:contentDescription="@string/share_file_icon" + android:contentDescription="@null" android:src="@drawable/file"/> Date: Tue, 24 Jul 2018 15:06:23 +0200 Subject: [PATCH 5/8] talkback: remove "icon" text from content description, implement proper content description for share state --- .../android/ui/adapter/OCFileListAdapter.java | 3 +++ src/main/res/layout/grid_image.xml | 2 +- src/main/res/layout/grid_item.xml | 2 +- src/main/res/layout/list_item.xml | 2 +- src/main/res/values/strings.xml | 17 +++++++++-------- 5 files changed, 15 insertions(+), 11 deletions(-) diff --git a/src/main/java/com/owncloud/android/ui/adapter/OCFileListAdapter.java b/src/main/java/com/owncloud/android/ui/adapter/OCFileListAdapter.java index 3294e67f8c..b2a19c5fd9 100644 --- a/src/main/java/com/owncloud/android/ui/adapter/OCFileListAdapter.java +++ b/src/main/java/com/owncloud/android/ui/adapter/OCFileListAdapter.java @@ -472,10 +472,13 @@ public class OCFileListAdapter extends RecyclerView.Adapter + android:contentDescription="@string/shared_icon_shared_via_link"/> Middle account Last account User icon for contact list - Activity icon - File icon - User icon - Favorite icon - Shared via link icon - Synced icon - Available offline icon + Activity + File + User + Favorite + Synced + Available offline Checkbox Thumbnail - Shared icon + share + shared via link + shared Overflow menu Share file icon A - Z From 105e8c756ae724d50d194eac0ed75025cc3c09ad Mon Sep 17 00:00:00 2001 From: AndyScherzinger Date: Tue, 24 Jul 2018 15:12:21 +0200 Subject: [PATCH 6/8] remove unused strings --- src/main/res/values/strings.xml | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main/res/values/strings.xml b/src/main/res/values/strings.xml index ad0388769b..bd526747b0 100644 --- a/src/main/res/values/strings.xml +++ b/src/main/res/values/strings.xml @@ -701,12 +701,10 @@ Synced Available offline Checkbox - Thumbnail share shared via link shared Overflow menu - Share file icon A - Z Newest first Biggest first From 7faf5ee53e3f31ba70d2a47d11a822bbddfdd4b7 Mon Sep 17 00:00:00 2001 From: AndyScherzinger Date: Tue, 24 Jul 2018 15:13:21 +0200 Subject: [PATCH 7/8] talkback: rename "Overflow menu"->"More menu" --- src/main/res/values/strings.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/res/values/strings.xml b/src/main/res/values/strings.xml index bd526747b0..f2cdce0f71 100644 --- a/src/main/res/values/strings.xml +++ b/src/main/res/values/strings.xml @@ -704,7 +704,7 @@ share shared via link shared - Overflow menu + More menu A - Z Newest first Biggest first From 92c38d0625ef380e4b4243d36952bb0947babfaa Mon Sep 17 00:00:00 2001 From: AndyScherzinger Date: Tue, 24 Jul 2018 16:02:59 +0200 Subject: [PATCH 8/8] talkback: fix share status on share icon in file list --- .../java/com/owncloud/android/ui/adapter/OCFileListAdapter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/owncloud/android/ui/adapter/OCFileListAdapter.java b/src/main/java/com/owncloud/android/ui/adapter/OCFileListAdapter.java index b2a19c5fd9..942f572c03 100644 --- a/src/main/java/com/owncloud/android/ui/adapter/OCFileListAdapter.java +++ b/src/main/java/com/owncloud/android/ui/adapter/OCFileListAdapter.java @@ -472,7 +472,7 @@ public class OCFileListAdapter extends RecyclerView.Adapter