From 109c1e3224e9e9209e6d82137776a0362cf8a9cd Mon Sep 17 00:00:00 2001 From: Robert Reinhard Date: Wed, 14 Aug 2024 08:03:11 -0700 Subject: [PATCH] Updating docs --- packages/contentful/README.md | 10 ++++++++-- packages/next/README.md | 12 ++++++++--- packages/react/README.md | 20 ++++++++++++------- .../react/src/LazyVideo/LazyVideoClient.tsx | 13 +++++++----- packages/react/src/ReactVisual.tsx | 1 + packages/sanity-next/README.md | 9 ++++++++- 6 files changed, 47 insertions(+), 18 deletions(-) diff --git a/packages/contentful/README.md b/packages/contentful/README.md index 9e9529d..9ce04fb 100644 --- a/packages/contentful/README.md +++ b/packages/contentful/README.md @@ -4,6 +4,7 @@ Renders Contentful images and videos into a container. Features: - Automatically defines a loader functions for generating srcsets - Supports responsive image and video assets +- Adds play/pause toggle for videos for [ADA compliance](https://www.w3.org/WAI/WCAG21/Understanding/pause-stop-hide.html) ## Install @@ -112,13 +113,18 @@ For more examples, read [the Cypress component tests](./cypress/component). | Prop | Type | Description | -- | -- | -- | `paused` | `boolean` | Disables autoplay of videos. This prop is reactive, unlike the `paused` property of the html `