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

Commit bc457435 authored by Jason Monk's avatar Jason Monk
Browse files

Fix QS accessibility issues

 - Add label to quick settings expand indicator
 - Add battery tile content description

Change-Id: I112c3ba23906a4afe8068acf916e710ec9d40917
Fixes: 28073200
parent 726959bf
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -84,6 +84,7 @@
            android:clickable="true"
            android:focusable="true"
            android:background="?android:attr/selectableItemBackgroundBorderless"
            android:contentDescription="@string/accessibility_quick_settings_expand"
            android:padding="12dp" />

    </LinearLayout>
+3 −0
Original line number Diff line number Diff line
@@ -1594,4 +1594,7 @@
    <!-- Warning message when we try to dock a non-resizeble tasks and launch it in fullscreen instead. -->
    <string name="dock_non_resizeble_failed_to_dock_text">App does not support split-screen.</string>

    <!-- accessibility label for button to expand quick settings [CHAR LIMIT=NONE] -->
    <string name="accessibility_quick_settings_expand">Expand quick settings.</string>

</resources>
+2 −0
Original line number Diff line number Diff line
@@ -130,6 +130,8 @@ public class BatteryTile extends QSTile<QSTile.State> implements BatteryControll
            }
        };
        state.label = percentage;
        state.contentDescription = mContext.getString(R.string.accessibility_quick_settings_battery,
                percentage);
    }

    @Override