From 40fc1aa46b84c0320a7951e5ce4a3fd1534d506c Mon Sep 17 00:00:00 2001 From: Robin Date: Fri, 6 Sep 2024 18:39:14 -0400 Subject: [PATCH] Upgrade Compound Web This patch release fixes a bug where tooltips would label non-interactive triggers in an inaccessible way. --- src/room/EncryptionLock.tsx | 1 - src/tile/MediaView.tsx | 1 - yarn.lock | 6 +++--- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/room/EncryptionLock.tsx b/src/room/EncryptionLock.tsx index 53b8e430..3adc7e1e 100644 --- a/src/room/EncryptionLock.tsx +++ b/src/room/EncryptionLock.tsx @@ -40,7 +40,6 @@ export const EncryptionLock: FC = ({ encrypted }) => { height={16} className={styles.lock} data-encrypted={encrypted} - aria-hidden /> ); diff --git a/src/tile/MediaView.tsx b/src/tile/MediaView.tsx index 4d073092..423f1903 100644 --- a/src/tile/MediaView.tsx +++ b/src/tile/MediaView.tsx @@ -110,7 +110,6 @@ export const MediaView = forwardRef( width={20} height={20} className={styles.errorIcon} - aria-hidden /> )} diff --git a/yarn.lock b/yarn.lock index b2abbac6..4e0a2feb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3088,9 +3088,9 @@ integrity sha512-PtQMG7kDzwtjw/fLKD63uWP5rJ8cgWc/aXarfEzxYUf9ceWxBajnYOBI2jDqtE3WIUe9uTVBzNEvmOBG/VIgTA== "@vector-im/compound-web@^6.0.0": - version "6.1.1" - resolved "https://registry.yarnpkg.com/@vector-im/compound-web/-/compound-web-6.1.1.tgz#872ec411fce600358812fe6c868b2521b57a9a9f" - integrity sha512-13cw8XFtt0oqGbUS9bPlvikZoJxrU+zZoziZGE+1Xv6h4JwNHIBB8CvqVOoUfEhta4U1BHOClgV1XD/YzbZXdA== + version "6.1.2" + resolved "https://registry.yarnpkg.com/@vector-im/compound-web/-/compound-web-6.1.2.tgz#3f8bbd69f2b06a2b8dd12c68df813356e5486074" + integrity sha512-kWOcprUsGGrGPRT9lPE3tnyGYWzNEIQSZ57BT/vMx9NX4QqT/Dpq0VhkBKm8W583NoYtxDOgSWWkvFQhyHVkWw== dependencies: "@floating-ui/react" "^0.26.9" "@radix-ui/react-context-menu" "^2.1.5"