A11y fix for all widgets tray (Part 1 / n)
Mark some image view unimportant for accessibility. Still need to update the content description for widget list header to describe the expand / collapse action. Test: Navigate all widgets tray with talkback enabled. Bug: 183120145 Change-Id: I1801d8351ac7f22a0135a96a36de706377781b31
This commit is contained in:
parent
f7864feded
commit
8eb1f73d58
|
@ -24,6 +24,7 @@
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="0dp"
|
android:layout_height="0dp"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
|
android:importantForAccessibility="no"
|
||||||
android:layout_marginVertical="8dp" />
|
android:layout_marginVertical="8dp" />
|
||||||
|
|
||||||
<!-- The name of the widget. -->
|
<!-- The name of the widget. -->
|
||||||
|
|
|
@ -16,11 +16,6 @@
|
||||||
<merge xmlns:android="http://schemas.android.com/apk/res/android"
|
<merge xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:launcher="http://schemas.android.com/apk/res-auto">
|
xmlns:launcher="http://schemas.android.com/apk/res-auto">
|
||||||
|
|
||||||
<include layout="@layout/personal_work_tabs"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_marginHorizontal="16dp" />
|
|
||||||
|
|
||||||
<com.android.launcher3.workprofile.PersonalWorkPagedView
|
<com.android.launcher3.workprofile.PersonalWorkPagedView
|
||||||
android:id="@+id/widgets_view_pager"
|
android:id="@+id/widgets_view_pager"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
@ -43,4 +38,8 @@
|
||||||
|
|
||||||
</com.android.launcher3.workprofile.PersonalWorkPagedView>
|
</com.android.launcher3.workprofile.PersonalWorkPagedView>
|
||||||
|
|
||||||
|
<include layout="@layout/personal_work_tabs"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginHorizontal="16dp" />
|
||||||
</merge>
|
</merge>
|
|
@ -71,6 +71,7 @@
|
||||||
android:layout_gravity="center_vertical"
|
android:layout_gravity="center_vertical"
|
||||||
android:layout_alignParentEnd="true"
|
android:layout_alignParentEnd="true"
|
||||||
android:clickable="false"
|
android:clickable="false"
|
||||||
|
android:importantForAccessibility="no"
|
||||||
android:button="@drawable/widgets_tray_expand_button"/>
|
android:button="@drawable/widgets_tray_expand_button"/>
|
||||||
|
|
||||||
</com.android.launcher3.widget.picker.WidgetsListHeader>
|
</com.android.launcher3.widget.picker.WidgetsListHeader>
|
Loading…
Reference in New Issue