Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8eb1f73d authored by Steven Ng's avatar Steven Ng
Browse files

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
parent f7864fed
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -24,6 +24,7 @@
        android:layout_width="wrap_content"
        android:layout_height="0dp"
        android:layout_weight="1"
        android:importantForAccessibility="no"
        android:layout_marginVertical="8dp" />

    <!-- The name of the widget. -->
+4 −5
Original line number Diff line number Diff line
@@ -16,11 +16,6 @@
<merge xmlns:android="http://schemas.android.com/apk/res/android"
    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
        android:id="@+id/widgets_view_pager"
        android:layout_width="match_parent"
@@ -43,4 +38,8 @@

    </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>
 No newline at end of file
+1 −0
Original line number Diff line number Diff line
@@ -71,6 +71,7 @@
        android:layout_gravity="center_vertical"
        android:layout_alignParentEnd="true"
        android:clickable="false"
        android:importantForAccessibility="no"
        android:button="@drawable/widgets_tray_expand_button"/>

</com.android.launcher3.widget.picker.WidgetsListHeader>
 No newline at end of file