diff --git a/test/validator/samples/a11y-aria-proptypes-boolean-or-undefined/input.svelte b/test/validator/samples/a11y-aria-proptypes-boolean-or-undefined/input.svelte new file mode 100644 index 000000000000..c52e60008f3f --- /dev/null +++ b/test/validator/samples/a11y-aria-proptypes-boolean-or-undefined/input.svelte @@ -0,0 +1,8 @@ + + +
+
+
+
\ No newline at end of file diff --git a/test/validator/samples/a11y-aria-proptypes-boolean-or-undefined/warnings.json b/test/validator/samples/a11y-aria-proptypes-boolean-or-undefined/warnings.json new file mode 100644 index 000000000000..503d98f5d8ee --- /dev/null +++ b/test/validator/samples/a11y-aria-proptypes-boolean-or-undefined/warnings.json @@ -0,0 +1,32 @@ +[ + { + "code": "a11y-incorrect-aria-attribute-type", + "end": { + "character": 63, + "column": 22, + "line": 5 + }, + "message": "A11y: The value of 'aria-hidden' must be exactly one of true, false, or undefined", + "pos": 46, + "start": { + "character": 46, + "column": 5, + "line": 5 + } + }, + { + "code": "a11y-incorrect-aria-attribute-type", + "end": { + "character": 87, + "column": 21, + "line": 6 + }, + "message": "A11y: The value of 'aria-hidden' must be exactly one of true, false, or undefined", + "pos": 71, + "start": { + "character": 71, + "column": 5, + "line": 6 + } + } +] \ No newline at end of file diff --git a/test/validator/samples/a11y-aria-proptypes-boolean/input.svelte b/test/validator/samples/a11y-aria-proptypes-boolean/input.svelte new file mode 100644 index 000000000000..c9929282296c --- /dev/null +++ b/test/validator/samples/a11y-aria-proptypes-boolean/input.svelte @@ -0,0 +1,8 @@ + + +