Loading
Resolve "[Accessibility]: Switches should change state on Enter key"
For reviewers:
Switches can be divided in two groups: inside the Formik and stand-alone switches.
- For stand-alone switches a
CommonSwitchcomponent has been implemented. It wraps the standard MUISwitchand adds theEnterkey handling - The logic of the switches in
Formikis being controlled byFormikitself and some cloning has been done by theCommonFormItemcomponent. ThereforeformikSwitchPropsfunction has been exteneded, to cover this group of switches.
For QA:
Now all switches in the app should change their state on Enter key.
Closes #2419
Edited by oleksii sukhodolskyi