mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-16 12:41:31 +03:00
5ccbcf02e2
- Wrapped all the modals inside a react-focus-trap component disabling keyboard navigation outside the modal dialogs - Disabled our custom key handling at dialog level. Cancelling on esc key is now handled via FocusTrap component. - Removed onEnter prop from the BaseDialog component. Dialogs that submit data all now embed a form with onSubmit handler. And since keyboard focus is now managed better via FocusTrap it no longer makes sense for the other dialog types. Fixes https://github.com/vector-im/riot-web/issues/5736 - Set aria-hidden on the matrixChat outer node when showing dialogs to disable navigating outside the modals by using screen reader specific features. |
||
---|---|---|
.. | ||
avatars | ||
create_room | ||
dialogs | ||
elements | ||
groups | ||
login | ||
messages | ||
room_settings | ||
rooms | ||
settings | ||
voip |