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
This commit is contained in:
@@ -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"/>
|
||||
|
||||
@@ -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] -->
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user