Commit 16a8a18
committed
Fix a11y root element having 0×0 dimensions on web
The `cmp_a11y_root` container was created with `position: absolute`
but never given width or height, making it invisible to hit-test-based
accessibility tools (Accessibility Inspector, Appium). VoiceOver still
worked because it traverses the DOM tree sequentially.
Sync the a11y container's CSS dimensions with the canvas in `resize()`,
which runs on both initial layout and every subsequent resize.
Fixes https://youtrack.jetbrains.com/issue/CMP-10172
Assisted-by: cursor1 parent 910d0b2 commit 16a8a18
1 file changed
Lines changed: 5 additions & 0 deletions
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
501 | 501 | | |
502 | 502 | | |
503 | 503 | | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
504 | 509 | | |
505 | 510 | | |
506 | 511 | | |
| |||
0 commit comments