diff --git a/.changeset/gentle-needles-beg.md b/.changeset/gentle-needles-beg.md
new file mode 100644
index 0000000000..fe28b9246e
--- /dev/null
+++ b/.changeset/gentle-needles-beg.md
@@ -0,0 +1,5 @@
+---
+'svelte': patch
+---
+
+fix: bump `axobject-query`
diff --git a/packages/svelte/package.json b/packages/svelte/package.json
index c1f09eedd4..71150259fc 100644
--- a/packages/svelte/package.json
+++ b/packages/svelte/package.json
@@ -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",
diff --git a/packages/svelte/test/validator/samples/a11y-click-events-have-key-events/input.svelte b/packages/svelte/test/validator/samples/a11y-click-events-have-key-events/input.svelte
index 3fb1ded53d..2d26d21e04 100644
--- a/packages/svelte/test/validator/samples/a11y-click-events-have-key-events/input.svelte
+++ b/packages/svelte/test/validator/samples/a11y-click-events-have-key-events/input.svelte
@@ -3,9 +3,9 @@
let props = {};
- const dynamicTypeValue = "checkbox";
- const dynamicAriaHiddenValue = "false";
- const dynamicRole = "button";
+ const dynamicTypeValue = 'checkbox';
+ const dynamicAriaHiddenValue = 'false';
+ const dynamicRole = 'button';
@@ -31,6 +31,7 @@
foo
+
diff --git a/packages/svelte/test/validator/samples/a11y-no-interactive-element-to-noninteractive-role/input.svelte b/packages/svelte/test/validator/samples/a11y-no-interactive-element-to-noninteractive-role/input.svelte
index 6729890c59..b1c6474f89 100644
--- a/packages/svelte/test/validator/samples/a11y-no-interactive-element-to-noninteractive-role/input.svelte
+++ b/packages/svelte/test/validator/samples/a11y-no-interactive-element-to-noninteractive-role/input.svelte
@@ -99,7 +99,6 @@
-
@@ -144,5 +143,6 @@
+
diff --git a/packages/svelte/test/validator/samples/a11y-no-interactive-element-to-noninteractive-role/warnings.json b/packages/svelte/test/validator/samples/a11y-no-interactive-element-to-noninteractive-role/warnings.json
index 3969e656e2..53bb1d398e 100644
--- a/packages/svelte/test/validator/samples/a11y-no-interactive-element-to-noninteractive-role/warnings.json
+++ b/packages/svelte/test/validator/samples/a11y-no-interactive-element-to-noninteractive-role/warnings.json
@@ -639,9 +639,21 @@
"code": "a11y-no-interactive-element-to-noninteractive-role",
"end": {
"column": 28,
- "line": 144
+ "line": 143
},
"message": "A11y: