diff --git a/.changeset/frogs-like-green.md b/.changeset/frogs-like-green.md new file mode 100644 index 000000000000..1ad6fa86c173 --- /dev/null +++ b/.changeset/frogs-like-green.md @@ -0,0 +1,5 @@ +--- +"@biomejs/biome": patch +--- + +Tweaked the diagnostics range for [useAltText](https://biomejs.dev/linter/rules/use-alt-text), [useButtonType](https://biomejs.dev/linter/rules/use-button-type), [useHtmlLang](https://biomejs.dev/linter/rules/use-html-lang), [useIframeTitle](https://biomejs.dev/linter/rules/use-iframe-title), [useValidAriaRole](https://biomejs.dev/linter/rules/use-valid-aria-role) & [useIfameSandbox](https://biomejs.dev/linter/rules/use-iframe-sandbox) to report on the opening tag instead of the full tag. diff --git a/crates/biome_cli/tests/snapshots/main_cases_handle_astro_files/full_support.snap b/crates/biome_cli/tests/snapshots/main_cases_handle_astro_files/full_support.snap index 6ef61713d4ea..84f64b14febc 100644 --- a/crates/biome_cli/tests/snapshots/main_cases_handle_astro_files/full_support.snap +++ b/crates/biome_cli/tests/snapshots/main_cases_handle_astro_files/full_support.snap @@ -167,14 +167,8 @@ file.astro:41:1 lint/a11y/useHtmlLang ━━━━━━━━━━━━━━ 40 │ > 41 │ │ ^^^^^^ - > 42 │
- > 43 │