Commit aef4014
committed
fix: fix a11y autogenerated IDs to not return undefined
After the migration to Garden v9 in #688, I noticed that some a11y
labels were displayed as `undefined--label`
This is caused by a
[bug](zendeskgarden/react-components#2057)
in `@zendeskgarden/container-utilities` v2.0.3 that causes
autogenerated IDs to return `undefined`,
which breaks accessibility in several places.
This happens only with React < 18.
We are reverting to v2.0.2 until the issue is fixed,
setting a resolution in the `package.json` to ensure that v2.0.3
is not installed.
We will need to remove this resolution in the future when a proper fix
is released.
This is not ideal, but right now there are no other
options other than reverting the migration to v9.1 parent 9be8842 commit aef4014
2 files changed
+3
-41
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | | - | |
| 113 | + | |
| 114 | + | |
114 | 115 | | |
115 | 116 | | |
116 | 117 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5380 | 5380 | | |
5381 | 5381 | | |
5382 | 5382 | | |
5383 | | - | |
5384 | | - | |
5385 | | - | |
5386 | | - | |
5387 | | - | |
5388 | | - | |
5389 | | - | |
5390 | | - | |
5391 | | - | |
5392 | | - | |
5393 | | - | |
5394 | | - | |
5395 | | - | |
5396 | | - | |
5397 | | - | |
5398 | | - | |
5399 | | - | |
5400 | | - | |
5401 | | - | |
5402 | | - | |
5403 | | - | |
5404 | | - | |
5405 | | - | |
5406 | | - | |
5407 | | - | |
5408 | | - | |
5409 | | - | |
| 5383 | + | |
5410 | 5384 | | |
5411 | 5385 | | |
5412 | 5386 | | |
| |||
5419 | 5393 | | |
5420 | 5394 | | |
5421 | 5395 | | |
5422 | | - | |
5423 | | - | |
5424 | | - | |
5425 | | - | |
5426 | | - | |
5427 | | - | |
5428 | | - | |
5429 | | - | |
5430 | | - | |
5431 | | - | |
5432 | | - | |
5433 | | - | |
5434 | | - | |
5435 | 5396 | | |
5436 | 5397 | | |
5437 | 5398 | | |
| |||
0 commit comments