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

Commit e18d46a6 authored by shawnlin's avatar shawnlin
Browse files

Fixed text of manage notification button for a11y is confusing

Add "manage notification" content description string for a11y.

Fixes: 127877031
Test: manual
Change-Id: I6fc84693a8d72071c2b46412e48a159dfd395dd9
parent fb462f00
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -33,6 +33,7 @@
            android:layout_height="wrap_content"
            android:layout_gravity="start"
            android:focusable="true"
            android:contentDescription="@string/accessibility_manage_notification"
            android:text="@string/manage_notifications_text"
            android:textColor="?attr/wallpaperTextColor"
            android:textAllCaps="false"/>
+2 −0
Original line number Diff line number Diff line
@@ -266,6 +266,8 @@
    <string name="accessibility_scanning_face">Scanning face</string>
    <!-- Click action label for accessibility for the smart reply buttons (not shown on-screen).". [CHAR LIMIT=NONE] -->
    <string name="accessibility_send_smart_reply">Send</string>
    <!-- Content description of the manage notification button for accessibility (not shown on the screen). [CHAR LIMIT=NONE] -->
    <string name="accessibility_manage_notification">Manage notifications</string>
    <!-- Click action label for accessibility for the unlock button. [CHAR LIMIT=NONE] -->
    <string name="unlock_label">unlock</string>
    <!-- Click action label for accessibility for the phone button. [CHAR LIMIT=NONE] -->
+2 −0
Original line number Diff line number Diff line
@@ -79,6 +79,8 @@ public class FooterView extends StackScrollerDecorView {
        mDismissButton.setContentDescription(
                mContext.getString(R.string.accessibility_clear_all));
        mManageButton.setText(R.string.manage_notifications_text);
        mManageButton.setContentDescription(
                mContext.getString(R.string.accessibility_manage_notification));
    }

    public boolean isButtonVisible() {