fix: bump `axobject-query` (#10167)

fixes #8825
pull/9886/head
Simon H 11 months ago committed by GitHub
parent bc5e578d37
commit 490102932b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,5 @@
---
'svelte': patch
---
fix: bump `axobject-query`

@ -109,7 +109,7 @@
"@types/estree": "^1.0.1",
"acorn": "^8.9.0",
"aria-query": "^5.3.0",
"axobject-query": "^3.2.1",
"axobject-query": "^4.0.0",
"code-red": "^1.0.3",
"css-tree": "^2.3.1",
"estree-walker": "^3.0.3",

@ -3,9 +3,9 @@
let props = {};
const dynamicTypeValue = "checkbox";
const dynamicAriaHiddenValue = "false";
const dynamicRole = "button";
const dynamicTypeValue = 'checkbox';
const dynamicAriaHiddenValue = 'false';
const dynamicRole = 'button';
</script>
<!-- should warn -->
@ -31,6 +31,7 @@
<a href="http://x.y.z" on:click={noop}>foo</a>
<button on:click={noop} />
<select on:click={noop} />
<summary on:click={noop} />
<input type="button" on:click={noop} />
<input type={dynamicTypeValue} on:click={noop} />

@ -99,7 +99,6 @@
<div role="tab" />
<div role="textbox" />
<div role="treeitem" aria-selected={true} />
<summary role="listitem" />
<!-- HTML elements attributed with a non-interactive role -->
<div role="alert" />
@ -144,5 +143,6 @@
<menuitem role="listitem" />
<option class="foo" role="listitem" />
<select class="foo" role="listitem" />
<summary role="listitem" />
<textarea class="foo" role="listitem" />
<tr role="listitem" />

@ -639,9 +639,21 @@
"code": "a11y-no-interactive-element-to-noninteractive-role",
"end": {
"column": 28,
"line": 144
"line": 143
},
"message": "A11y: <menuitem> cannot have role 'listitem'",
"start": {
"column": 0,
"line": 143
}
},
{
"code": "a11y-no-interactive-element-to-noninteractive-role",
"end": {
"column": 38,
"line": 144
},
"message": "A11y: <option> cannot have role 'listitem'",
"start": {
"column": 0,
"line": 144
@ -653,7 +665,7 @@
"column": 38,
"line": 145
},
"message": "A11y: <option> cannot have role 'listitem'",
"message": "A11y: <select> cannot have role 'listitem'",
"start": {
"column": 0,
"line": 145
@ -662,10 +674,10 @@
{
"code": "a11y-no-interactive-element-to-noninteractive-role",
"end": {
"column": 38,
"column": 27,
"line": 146
},
"message": "A11y: <select> cannot have role 'listitem'",
"message": "A11y: <summary> cannot have role 'listitem'",
"start": {
"column": 0,
"line": 146

@ -57,8 +57,8 @@ importers:
specifier: ^5.3.0
version: 5.3.0
axobject-query:
specifier: ^3.2.1
version: 3.2.1
specifier: ^4.0.0
version: 4.0.0
code-red:
specifier: ^1.0.3
version: 1.0.4
@ -2954,8 +2954,8 @@ packages:
engines: {node: '>= 0.4'}
dev: true
/axobject-query@3.2.1:
resolution: {integrity: sha512-jsyHu61e6N4Vbz/v18DHwWYKK0bSWLqn47eeDSKPB7m8tqMHF9YJ+mhIk2lVteyZrY8tnSj/jHOv4YiTCuCJgg==}
/axobject-query@4.0.0:
resolution: {integrity: sha512-+60uv1hiVFhHZeO+Lz0RYzsVHy5Wr1ayX0mwda9KPDVLNJgZ1T9Ny7VmFbLDzxsH0D87I86vgj3gFrjTJUYznw==}
dependencies:
dequal: 2.0.3
dev: false

Loading…
Cancel
Save