From 460f9e7329482429172883e99dcee95a3a9fb1a5 Mon Sep 17 00:00:00 2001 From: "Charles F. Munat" Date: Tue, 7 Feb 2023 15:25:17 +1300 Subject: [PATCH] Fix duplicate alt attribute on Picture component. (#6157) * Fix duplicate alt attribute on Picture component. * Create tidy-buses-mate.md --------- Co-authored-by: Nate Moore --- .changeset/tidy-buses-mate.md | 5 +++++ packages/integrations/image/components/Picture.astro | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/tidy-buses-mate.md diff --git a/.changeset/tidy-buses-mate.md b/.changeset/tidy-buses-mate.md new file mode 100644 index 0000000000..af4460b99e --- /dev/null +++ b/.changeset/tidy-buses-mate.md @@ -0,0 +1,5 @@ +--- +"@astrojs/image": patch +--- + +Fix duplicate `alt` attribute on Picture component. diff --git a/packages/integrations/image/components/Picture.astro b/packages/integrations/image/components/Picture.astro index f099eae23e..f8958f8fea 100644 --- a/packages/integrations/image/components/Picture.astro +++ b/packages/integrations/image/components/Picture.astro @@ -41,5 +41,5 @@ delete image.height; {sources.map((attrs) => )} - +