Commit b6b7838
authored
fix(Modal): exclude Poppers in aria-hidden change (#12424)
Popper based components like Select or Dropdown get mounted to the DOM
on the same level as Modal. Modal then on update can set aria-hidden
label to true via function toggleSiblingsFromScreenReaders, which adds
the label to all the elements that are siblings of the Modal, including
these components.This causes the opened Popper based component to become
invisible for screen readers and/or Playwright.
Fix this by excluding all the Popper components from this function's
behaviour.1 parent 3e960b3 commit b6b7838
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
| 114 | + | |
| 115 | + | |
115 | 116 | | |
116 | 117 | | |
117 | 118 | | |
| |||
0 commit comments