diff --git a/test/validator/samples/a11y-role-supports-aria-props/input.svelte b/test/validator/samples/a11y-role-supports-aria-props/input.svelte index c8659369e9..353069dc06 100644 --- a/test/validator/samples/a11y-role-supports-aria-props/input.svelte +++ b/test/validator/samples/a11y-role-supports-aria-props/input.svelte @@ -161,6 +161,28 @@
+ + + + + + + + + + + + + + + + + + + + + + Link @@ -325,3 +347,25 @@
+ + + + + + + + + + + + + + + + + + + + + + diff --git a/test/validator/samples/a11y-role-supports-aria-props/warnings.json b/test/validator/samples/a11y-role-supports-aria-props/warnings.json index c2bf488fbf..22eb0f98e0 100644 --- a/test/validator/samples/a11y-role-supports-aria-props/warnings.json +++ b/test/validator/samples/a11y-role-supports-aria-props/warnings.json @@ -2398,5 +2398,290 @@ "column":20, "line":162 } + }, + { + "code":"a11y-role-supports-aria-props", + "end":{ + "character":6664, + "column":35, + "line":166 + }, + "message":"A11y: The attribute 'aria-rowspan' is not supported by the role 'textbox'. This role is implicit on the element .", + "pos":6648, + "start":{ + "character":6648, + "column":19, + "line":166 + } + }, + { + "code":"a11y-role-supports-aria-props", + "end":{ + "character":6730, + "column":30, + "line":167 + }, + "message":"A11y: The attribute 'aria-pressed' is not supported by the role 'textbox'. This role is implicit on the element .", + "pos":6718, + "start":{ + "character":6718, + "column":18, + "line":167 + } + }, + { + "code":"a11y-role-supports-aria-props", + "end":{ + "character":6798, + "column":32, + "line":168 + }, + "message":"A11y: The attribute 'aria-level' is not supported by the role 'textbox'. This role is implicit on the element .", + "pos":6784, + "start":{ + "character":6784, + "column":18, + "line":168 + } + }, + { + "code":"a11y-role-supports-aria-props", + "end":{ + "character":6866, + "column":32, + "line":169 + }, + "message":"A11y: The attribute 'aria-pressed' is not supported by the role 'textbox'. This role is implicit on the element .", + "pos":6854, + "start":{ + "character":6854, + "column":20, + "line":169 + } + }, + { + "code":"a11y-role-supports-aria-props", + "end":{ + "character":6944, + "column":42, + "line":170 + }, + "message":"A11y: The attribute 'aria-valuetext' is not supported by the role 'searchbox'. This role is implicit on the element .", + "pos":6923, + "start":{ + "character":6923, + "column":21, + "line":170 + } + }, + { + "code":"a11y-role-supports-aria-props", + "end":{ + "character":7032, + "column":50, + "line":171 + }, + "message":"A11y: The attribute 'aria-valuemin' is not supported by the role 'combobox'. This role is implicit on the element .", + "pos":7015, + "start":{ + "character":7015, + "column":33, + "line":171 + } + }, + { + "code":"a11y-role-supports-aria-props", + "end":{ + "character":7117, + "column":48, + "line":172 + }, + "message":"A11y: The attribute 'aria-colspan' is not supported by the role 'combobox'. This role is implicit on the element .", + "pos":7101, + "start":{ + "character":7101, + "column":32, + "line":172 + } + }, + { + "code":"a11y-role-supports-aria-props", + "end":{ + "character":7203, + "column":49, + "line":173 + }, + "message":"A11y: The attribute 'aria-posinset' is not supported by the role 'combobox'. This role is implicit on the element .", + "pos":7186, + "start":{ + "character":7186, + "column":32, + "line":173 + } + }, + { + "code":"a11y-role-supports-aria-props", + "end":{ + "character":7284, + "column":44, + "line":174 + }, + "message":"A11y: The attribute 'aria-modal' is not supported by the role 'combobox'. This role is implicit on the element .", + "pos":7274, + "start":{ + "character":7274, + "column":34, + "line":174 + } + }, + { + "code":"a11y-role-supports-aria-props", + "end":{ + "character":7373, + "column":52, + "line":175 + }, + "message":"A11y: The attribute 'aria-rowindex' is not supported by the role 'combobox'. This role is implicit on the element .", + "pos":7356, + "start":{ + "character":7356, + "column":35, + "line":175 + } + }, + { + "code":"a11y-role-supports-aria-props", + "end":{ + "character":7463, + "column":53, + "line":176 + }, + "message":"A11y: The attribute 'aria-valuemax' is not supported by the role 'button'. This role is implicit on the element .", + "pos":7446, + "start":{ + "character":7446, + "column":36, + "line":176 + } + }, + { + "code":"a11y-role-supports-aria-props", + "end":{ + "character":7528, + "column":30, + "line":177 + }, + "message":"A11y: The attribute 'aria-modal' is not supported by the role 'button'. This role is implicit on the element .", + "pos":7518, + "start":{ + "character":7518, + "column":20, + "line":177 + } + }, + { + "code":"a11y-role-supports-aria-props", + "end":{ + "character":7614, + "column":51, + "line":178 + }, + "message":"A11y: The attribute 'aria-placeholder' is not supported by the role 'button'. This role is implicit on the element .", + "pos":7584, + "start":{ + "character":7584, + "column":21, + "line":178 + } + }, + { + "code":"a11y-role-supports-aria-props", + "end":{ + "character":7689, + "column":40, + "line":179 + }, + "message":"A11y: The attribute 'aria-rowindex' is not supported by the role 'checkbox'. This role is implicit on the element .", + "pos":7672, + "start":{ + "character":7672, + "column":23, + "line":179 + } + }, + { + "code":"a11y-role-supports-aria-props", + "end":{ + "character":7767, + "column":41, + "line":180 + }, + "message":"A11y: The attribute 'aria-valuetext' is not supported by the role 'radio'. This role is implicit on the element .", + "pos":7746, + "start":{ + "character":7746, + "column":20, + "line":180 + } + }, + { + "code":"a11y-role-supports-aria-props", + "end":{ + "character":7833, + "column":32, + "line":181 + }, + "message":"A11y: The attribute 'aria-checked' is not supported by the role 'slider'. This role is implicit on the element .", + "pos":7821, + "start":{ + "character":7821, + "column":20, + "line":181 + } + }, + { + "code":"a11y-role-supports-aria-props", + "end":{ + "character":7910, + "column":42, + "line":182 + }, + "message":"A11y: The attribute 'aria-colindex' is not supported by the role 'menuitem'. This role is implicit on the element .", + "pos":7893, + "start":{ + "character":7893, + "column":25, + "line":182 + } + }, + { + "code":"a11y-role-supports-aria-props", + "end":{ + "character":7990, + "column":43, + "line":183 + }, + "message":"A11y: The attribute 'aria-colcount' is not supported by the role 'menuitemcheckbox'. This role is implicit on the element .", + "pos":7973, + "start":{ + "character":7973, + "column":26, + "line":183 + } + }, + { + "code":"a11y-role-supports-aria-props", + "end":{ + "character":8088, + "column":53, + "line":184 + }, + "message":"A11y: The attribute 'aria-placeholder' is not supported by the role 'menuitemradio'. This role is implicit on the element .", + "pos":8058, + "start":{ + "character":8058, + "column":23, + "line":184 + } } ] \ No newline at end of file