From 76427fbd853491246f83b1cf58174a449ea78beb Mon Sep 17 00:00:00 2001 From: Martin Date: Tue, 21 Jul 2026 22:41:59 +0200 Subject: [PATCH] Added example of alt text syntax for pseudo element content --- src/docs/content.mdx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/docs/content.mdx b/src/docs/content.mdx index ea9fe5825..fa9f76dd7 100644 --- a/src/docs/content.mdx +++ b/src/docs/content.mdx @@ -19,7 +19,7 @@ export const description = "Utilities for controlling the content of the before ### Basic example -Use the `content-[]` syntax, along with the `before` and `after` variants, to set the contents of the `::before` and `::after` pseudo-elements: +Use the `content-[]` syntax, along with the `before` and `after` variants, to set the contents of the `::before` and `::after` pseudo-elements. Optionally add a `/` followed by a description to provide alternate text that screen readers announce in place of the content.
@@ -29,7 +29,7 @@ Use the `content-[]` syntax, along with the `before` and `after` variants Higher resolution means more than just a better-quality image. With a Retina 6K display,{" "} Pro Display XDR @@ -40,10 +40,10 @@ Use the `content-[]` syntax, along with the `before` and `after` variants ```html - +

Higher resolution means more than just a better-quality image. With a -Retina 6K display, +Retina 6K display, Pro Display XDR gives you nearly 40 percent more screen real estate than a 5K display.

```