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

fixes #8825
pull/9886/head
Simon H 12 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", "@types/estree": "^1.0.1",
"acorn": "^8.9.0", "acorn": "^8.9.0",
"aria-query": "^5.3.0", "aria-query": "^5.3.0",
"axobject-query": "^3.2.1", "axobject-query": "^4.0.0",
"code-red": "^1.0.3", "code-red": "^1.0.3",
"css-tree": "^2.3.1", "css-tree": "^2.3.1",
"estree-walker": "^3.0.3", "estree-walker": "^3.0.3",

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

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

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

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

Loading…
Cancel
Save