element-portable/src/components/views/dialogs
Peter Vágner 5ccbcf02e2 Several changes improving accessibility of the dialogs
- 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.
2017-12-03 21:38:21 +01:00
..
AddressPickerDialog.js Make GroupStore use MatrixClientPeg 2017-11-28 11:54:05 +00:00
BaseDialog.js Several changes improving accessibility of the dialogs 2017-12-03 21:38:21 +01:00
ChatCreateOrReuseDialog.js Run eslint --fix 2017-10-11 17:56:17 +01:00
ConfirmRedactDialog.js Address eslint errors 2017-11-26 16:04:24 +13:00
ConfirmUserActionDialog.js Several changes improving accessibility of the dialogs 2017-12-03 21:38:21 +01:00
CreateGroupDialog.js Several changes improving accessibility of the dialogs 2017-12-03 21:38:21 +01:00
CreateRoomDialog.js Several changes improving accessibility of the dialogs 2017-12-03 21:38:21 +01:00
DeactivateAccountDialog.js Run eslint --fix 2017-10-11 17:56:17 +01:00
DeviceVerifyDialog.js Add rule to enforce spacing in curly brackets in JSX children 2017-09-28 11:21:06 +01:00
ErrorDialog.js Add rule to enforce spacing in curly brackets in JSX children 2017-09-28 11:21:06 +01:00
InteractiveAuthDialog.js Run eslint --fix 2017-10-11 17:56:17 +01:00
KeyShareDialog.js Run linting --fix 2017-11-16 13:19:36 +00:00
QuestionDialog.js Several changes improving accessibility of the dialogs 2017-12-03 21:38:21 +01:00
SessionRestoreErrorDialog.js Refactor i18n stuff a bit 2017-11-13 20:19:33 +01:00
SetEmailDialog.js Add rule to enforce spacing in curly brackets in JSX children 2017-09-28 11:21:06 +01:00
SetMxIdDialog.js Pass plain components, rather than functions returning them 2017-11-14 20:09:52 +01:00
TextInputDialog.js Several changes improving accessibility of the dialogs 2017-12-03 21:38:21 +01:00
UnknownDeviceDialog.js Revert rest of https://github.com/matrix-org/matrix-react-sdk/pull/1584 2017-11-16 15:11:47 +00:00