From 67427feb12f092a6d6b9cfa67c1a405dff733947 Mon Sep 17 00:00:00 2001 From: Nguyen Tran Date: Sun, 19 Mar 2023 00:34:50 -0400 Subject: [PATCH] Fix a11y warning code name --- src/compiler/compile/compiler_warnings.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/compile/compiler_warnings.ts b/src/compiler/compile/compiler_warnings.ts index 9c0f8957aa..a851bc24c2 100644 --- a/src/compiler/compile/compiler_warnings.ts +++ b/src/compiler/compile/compiler_warnings.ts @@ -167,7 +167,7 @@ export default { message: 'A11y: Screenreaders already announce elements as an image.' }, a11y_interactive_supports_focus: (role: string) => ({ - code: 'a11y-no-noninteractive-element-interactions', + code: 'a11y-interactive-supports-focus', message: `A11y: Elements with the '${role}' interactive role must have a tabindex value.` }), a11y_label_has_associated_control: {