From f135a353bc6d589ec4623ff74862a26ebf41fe0f Mon Sep 17 00:00:00 2001 From: "Anna Yeddi (Kanterova)" <40773610+anna-yeddi@users.noreply.github.com> Date: Fri, 25 Oct 2024 13:13:55 -0400 Subject: [PATCH] Update StorageIcon.js to make the SVG an accessible image Adding a role and label to the SVG file to ensure the graphic information is communicated to assistive technology as well --- src/web/lib/components/StorageSpaceInformation/StorageIcon.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/web/lib/components/StorageSpaceInformation/StorageIcon.js b/src/web/lib/components/StorageSpaceInformation/StorageIcon.js index 376a5abc..32506eec 100644 --- a/src/web/lib/components/StorageSpaceInformation/StorageIcon.js +++ b/src/web/lib/components/StorageSpaceInformation/StorageIcon.js @@ -7,6 +7,8 @@ const StorageIcon = props => ( height="16" viewBox="0 0 16 16" fill="context-fill #0c0c0d" + role="image" + aria-label="Storage space:" {...props} >