accessibility

image without contentDescription
Keyboard inaccessible widget

BUILD SUCCESSFUL in 6s
39 actionable tasks: 4 executed, 35 up-to-date
This commit is contained in:
BO41 2018-08-28 19:25:56 +02:00
parent 27fbe69033
commit 5660b5ddc6
9 changed files with 32 additions and 16 deletions

View File

@ -16,7 +16,8 @@
android:layout_height="match_parent"
android:background="?attr/colorPrimary"
android:scaleType="centerCrop"
android:src="@drawable/background_header" />
android:src="@drawable/background_header"
android:contentDescription="TODO" />
<ImageView
android:id="@+id/drawer_header_np_nude_view"
@ -26,7 +27,8 @@
android:layout_marginStart="30dp"
android:layout_marginTop="30dp"
android:src="@drawable/np_logo_nude_shadow" />
android:src="@drawable/np_logo_nude_shadow"
android:contentDescription="TODO" />
<TextView
android:id="@+id/drawer_header_np_text_view"
@ -66,6 +68,7 @@
android:paddingBottom="20dp"
android:paddingEnd="20dp"
android:paddingRight="20dp"
android:src="@drawable/ic_arrow_down_white" />
android:src="@drawable/ic_arrow_down_white"
android:contentDescription="TODO" />
</RelativeLayout>

View File

@ -16,7 +16,8 @@ android:focusable="true">
android:layout_height="match_parent"
android:background="?attr/colorPrimary"
android:src="@drawable/background_header"
android:scaleType="centerCrop"/>
android:scaleType="centerCrop"
android:contentDescription="TODO" />
<ImageView
android:id="@+id/drawer_header_np_nude_view"
@ -26,7 +27,8 @@ android:focusable="true">
android:layout_width="70dp"
android:layout_height="70dp"
android:src="@drawable/np_logo_nude_shadow"/>
android:src="@drawable/np_logo_nude_shadow"
android:contentDescription="TODO" />
<TextView
android:id="@+id/drawer_header_np_text_view"
@ -66,6 +68,7 @@ android:focusable="true">
android:paddingBottom="20dp"
android:paddingRight="20dp"
android:src="@drawable/ic_arrow_down_white"
android:paddingEnd="20dp" />
android:paddingEnd="20dp"
android:contentDescription="TODO" />
</RelativeLayout>

View File

@ -21,7 +21,8 @@
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_marginBottom="8dp"
app:srcCompat="@mipmap/ic_launcher" />
app:srcCompat="@mipmap/ic_launcher"
android:contentDescription="TODO" />
<TextView
android:id="@+id/app_name"

View File

@ -10,7 +10,8 @@
android:paddingBottom="8dp"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="8dp">
android:paddingTop="8dp"
android:focusable="true">
<TextView
android:id="@+id/info"

View File

@ -7,7 +7,8 @@
android:paddingRight="@dimen/activity_horizontal_margin"
android:orientation="vertical"
android:background="?attr/selectableItemBackground"
android:clickable="true">
android:clickable="true"
android:focusable="true">
<TextView
android:id="@+id/name"

View File

@ -38,7 +38,8 @@
android:layout_centerVertical="true"
android:layout_marginRight="1dp"
android:src="@drawable/ic_menu_more"
android:scaleType="centerInside"/>
android:scaleType="centerInside"
android:contentDescription="TODO" />
</RelativeLayout>
@ -50,7 +51,8 @@
android:layout_centerHorizontal="true"
android:scaleType="fitXY"
android:gravity="center"
android:padding="10dp"/>
android:padding="10dp"
android:contentDescription="TODO" />
<TextView
android:id="@+id/item_name"

View File

@ -17,7 +17,8 @@
android:layout_centerVertical="true"
android:scaleType="fitXY"
android:gravity="center"
android:padding="15dp"/>
android:padding="15dp"
android:contentDescription="TODO" />
<LinearLayout
android:id="@+id/item_name_and_size"
@ -76,7 +77,8 @@
android:layout_centerVertical="true"
android:layout_marginRight="4dp"
android:src="@drawable/ic_menu_more"
android:scaleType="centerInside"/>
android:scaleType="centerInside"
android:contentDescription="TODO" />
</RelativeLayout>

View File

@ -6,7 +6,8 @@
android:layout_height="wrap_content"
android:background="?attr/selectableItemBackground"
android:clickable="true"
android:padding="5dp">
android:padding="5dp"
android:focusable="true">
<de.hdodenhof.circleimageview.CircleImageView
android:id="@+id/itemThumbnailView"

View File

@ -6,7 +6,8 @@
android:layout_height="wrap_content"
android:background="?attr/selectableItemBackground"
android:clickable="true"
android:padding="5dp">
android:padding="5dp"
android:focusable="true">
<ImageView
android:id="@+id/itemThumbnailView"
@ -17,7 +18,8 @@
android:layout_alignParentTop="true"
android:layout_marginRight="5dp"
android:src="@drawable/service"
tools:ignore="RtlHardcoded"/>
tools:ignore="RtlHardcoded"
android:contentDescription="TODO" />
<TextView
android:id="@+id/itemTitleView"