From 0f93a0f7c24aea4f42a9740dc582ca386b3ba9b2 Mon Sep 17 00:00:00 2001 From: Haonan Liu Date: Mon, 18 May 2020 14:14:40 -0700 Subject: [PATCH] fix wcag mappings --- src/electron/platform/android/rule-information-provider.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/electron/platform/android/rule-information-provider.ts b/src/electron/platform/android/rule-information-provider.ts index 2838a19ccbc..067c7237c73 100644 --- a/src/electron/platform/android/rule-information-provider.ts +++ b/src/electron/platform/android/rule-information-provider.ts @@ -24,7 +24,7 @@ export class RuleInformationProvider { 'TouchSizeWcag', `${this.ruleLinkBaseUrl}/touch-size-wcag/`, 'Touch inputs must have a sufficient target size.', - [link.WCAG_1_3_1, link.WCAG_3_3_2], + [link.WCAG_2_5_5], this.getTouchSizeUnifiedFormattableResolution, this.includeAllResults, ), @@ -32,7 +32,7 @@ export class RuleInformationProvider { 'ActiveViewName', `${this.ruleLinkBaseUrl}/active-view-name/`, "Active views must have a name that's available to assistive technologies.", - [link.WCAG_2_5_5], + [link.WCAG_1_3_1, link.WCAG_3_3_2], () => this.buildUnifiedFormattableResolution( 'The view is active but has no name available to assistive technologies. Provide a name for the view using its contentDescription, hint, labelFor, or text attribute (depending on the view type)',