From 147d8a2b3f52a928131272f21b3e21871c226edc Mon Sep 17 00:00:00 2001 From: Nguyen Tran Date: Fri, 17 Mar 2023 13:52:34 -0400 Subject: [PATCH] Forgot to add the warnings.json for the tests --- .../warnings.json | 27 ++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/test/validator/samples/a11y-interactive-supports-focus/warnings.json b/test/validator/samples/a11y-interactive-supports-focus/warnings.json index 0637a088a0..e0f3f70c24 100644 --- a/test/validator/samples/a11y-interactive-supports-focus/warnings.json +++ b/test/validator/samples/a11y-interactive-supports-focus/warnings.json @@ -1 +1,26 @@ -[] \ No newline at end of file +[ + { + "code": "a11y-no-noninteractive-element-interactions", + "end": { + "column": 44, + "line": 10 + }, + "message": "A11y: Elements with the 'button' interactive role must have a tabindex value.", + "start": { + "column": 0, + "line": 10 + } + }, + { + "code": "a11y-no-noninteractive-element-interactions", + "end": { + "column": 46, + "line": 11 + }, + "message": "A11y: Elements with the 'menuitem' interactive role must have a tabindex value.", + "start": { + "column": 0, + "line": 11 + } + } +]