Update learn more string of FooterPrefernce
Replace FooterPreference#SetLearnMoreContentDescription() with FooterPreference#SetLearnMoreText(). This is a requirement: All links, controls, and buttons should also have comprehensible text or tooltip text, so users can identify its purpose, independent of context, such as when using the URL list from TalkBack’s local context menu. Bug: 215045903 Test: manual & robotest Change-Id: Ib657ba336c5688c1434a58611dea3891001afe14
This commit is contained in:
@@ -109,10 +109,10 @@ public class ToggleScreenMagnificationPreferenceFragment extends
|
||||
private void updateFooterPreference() {
|
||||
final String title = getPrefContext().getString(
|
||||
R.string.accessibility_screen_magnification_about_title);
|
||||
final String learnMoreContentDescription = getPrefContext().getString(
|
||||
final String learnMoreText = getPrefContext().getString(
|
||||
R.string.accessibility_screen_magnification_footer_learn_more_content_description);
|
||||
mFooterPreferenceController.setIntroductionTitle(title);
|
||||
mFooterPreferenceController.setupHelpLink(getHelpResource(), learnMoreContentDescription);
|
||||
mFooterPreferenceController.setupHelpLink(getHelpResource(), learnMoreText);
|
||||
mFooterPreferenceController.displayPreference(getPreferenceScreen());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user