From 6c3f887b89759aeb8dbaaab0c9e6666e771e09ae Mon Sep 17 00:00:00 2001 From: Eric Olkowski Date: Fri, 17 Nov 2023 13:57:04 -0500 Subject: [PATCH] Added alt text content to additional sections --- .../content/accessibility/about-modal/about-modal.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/packages/documentation-site/patternfly-docs/content/accessibility/about-modal/about-modal.md b/packages/documentation-site/patternfly-docs/content/accessibility/about-modal/about-modal.md index d227147cf9..adb8b2d1c1 100644 --- a/packages/documentation-site/patternfly-docs/content/accessibility/about-modal/about-modal.md +++ b/packages/documentation-site/patternfly-docs/content/accessibility/about-modal/about-modal.md @@ -11,6 +11,7 @@ import { Checkbox, List, ListItem } from '@patternfly/react-core'; To implement an accessible PatternFly **about modal**: - Provide an `aria-label` to the about modal if there is no product name heading. +- Ensure any brand image has a valid `alt` attribute, either a string or an empty string `''`. - Ensure the first focusable element or the about modal itself receives focus when it is opened. - Ensure content behind the about modal cannot be interacted with or navigated to via mouse, keybaord, or other assistive technologies such as screen readers. - Ensure the element that previously had focus before the about modal was opened receives focus upon closing the about modal. @@ -24,13 +25,16 @@ At a minimum, an about modal should meet the following criteria: An aria-label is passed if the about modal does not have a product name heading.} description="This gives the about modal an accessible name, providing context of its purpose or content to users." /> - + If there is a brand image, it has a valid alt attribute.} description="If the image is purely decorative then an empty string should be passed as a value so that the image is not exposed to assistive technologies." /> - + - + + + +