Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 7193d4c

Browse files
authored
TAC: Fix accessibility issue when the Release announcement is displayed (#12482)
* Update `@vector-im/compound-web` * Update TAC snapshots * Update space panel snapshots
1 parent 6a3741b commit 7193d4c

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
"@sentry/browser": "^7.0.0",
7777
"@testing-library/react-hooks": "^8.0.1",
7878
"@vector-im/compound-design-tokens": "^1.2.0",
79-
"@vector-im/compound-web": "^4.1.0",
79+
"@vector-im/compound-web": "^4.1.1",
8080
"@zxcvbn-ts/core": "^3.0.4",
8181
"@zxcvbn-ts/language-common": "^3.0.4",
8282
"@zxcvbn-ts/language-en": "^3.0.2",

test/components/views/spaces/__snapshots__/SpacePanel-test.tsx.snap

+1
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,7 @@ exports[`<SpacePanel /> should show all activated MetaSpaces in the correct orde
230230
>
231231
<button
232232
aria-controls="floating-ui-7"
233+
aria-describedby="floating-ui-7"
233234
aria-expanded="true"
234235
aria-haspopup="dialog"
235236
aria-label="Threads"

test/components/views/spaces/__snapshots__/ThreadsActivityCentre-test.tsx.snap

+1
Original file line numberDiff line numberDiff line change
@@ -433,6 +433,7 @@ exports[`ThreadsActivityCentre should render the release announcement 1`] = `
433433
>
434434
<button
435435
aria-controls="floating-ui-6"
436+
aria-describedby="floating-ui-6"
436437
aria-expanded="true"
437438
aria-haspopup="dialog"
438439
aria-label="Threads"

yarn.lock

+4-4
Original file line numberDiff line numberDiff line change
@@ -3097,10 +3097,10 @@
30973097
dependencies:
30983098
svg2vectordrawable "^2.9.1"
30993099

3100-
"@vector-im/compound-web@^4.1.0":
3101-
version "4.1.0"
3102-
resolved "https://registry.yarnpkg.com/@vector-im/compound-web/-/compound-web-4.1.0.tgz#45fa22e4e91b5fd4c2f535e040072990d5a33712"
3103-
integrity sha512-FQSJK7PaJ3dR1c1Q3TYVSShJBl9TwlrhKadnTWsPIX6xE+rvCAeujE50QbcEWdDlWeaJ9Hi0bVPlEssJ+eRwtQ==
3100+
"@vector-im/compound-web@^4.1.1":
3101+
version "4.1.1"
3102+
resolved "https://registry.yarnpkg.com/@vector-im/compound-web/-/compound-web-4.1.1.tgz#7a3c7deb8be2ca7f13f151a51434759d64687ad9"
3103+
integrity sha512-vFJ6dyn712taz0TAt/ZwfwiD86ZbKyP9ePLcqCCeJ2M0dzvzrr0lCl702g6mbdiUKVqYwKHrqDhOUgsqb6TNoQ==
31043104
dependencies:
31053105
"@floating-ui/react" "^0.26.9"
31063106
"@floating-ui/react-dom" "^2.0.8"

0 commit comments

Comments
 (0)