From eb4eebde9ebe6918db08faf0ff856313089fd627 Mon Sep 17 00:00:00 2001 From: Chris Swithinbank Date: Fri, 2 Sep 2022 17:05:04 +0200 Subject: [PATCH] Fix image integration README (#4599) Co-authored-by: Sarah Rainsberger --- packages/integrations/image/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/integrations/image/README.md b/packages/integrations/image/README.md index a1ffa25ae..394db59de 100644 --- a/packages/integrations/image/README.md +++ b/packages/integrations/image/README.md @@ -90,9 +90,9 @@ import { Image, Picture } from '@astrojs/image/components'; The included `sharp` transformer supports resizing images and encoding them to different image formats. Third-party image services will be able to add support for custom transformations as well (ex: `blur`, `filter`, `rotate`, etc). -Astro’s and components require the alt attribute which provides descriptive text for images. A warning will be logged if "alt" text is missing, and a future release of the integration will throw an error if no alt text is provided. +Astro’s `` and `` components require the `alt` attribute, which provides descriptive text for images. A warning will be logged if alt text is missing, and a future release of the integration will throw an error if no alt text is provided. -If the image is merely decorative (i.e. doesn’t contribute to the understanding of the page), set alt="" so that the image is properly understood and ignored by screen readers. +If the image is merely decorative (i.e. doesn’t contribute to the understanding of the page), set `alt=""` so that the image is properly understood and ignored by screen readers. ### `` @@ -126,7 +126,7 @@ For remote images, provide the full URL. (e.g. `src="https://astro.build/assets/ Defines an alternative text description of the image. -Set to an empty string (alt="") if the image is not a key part of the content (it's decoration or a tracking pixel). +Set to an empty string (`alt=""`) if the image is not a key part of the content (e.g. it's decoration or a tracking pixel). #### format @@ -218,7 +218,7 @@ For remote images, provide the full URL. (e.g. `src="https://astro.build/assets/ Defines an alternative text description of the image. -Set to an empty string (alt="") if the image is not a key part of the content (it's decoration or a tracking pixel). +Set to an empty string (`alt=""`) if the image is not a key part of the content (e.g. it's decoration or a tracking pixel). #### sizes