-
Notifications
You must be signed in to change notification settings - Fork 832
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[a11y] Open picker by space/enter click #1266
Conversation
Wait, enter? You sure about this? Enter is used to send forms. Isn't it the case? |
@TrySound yeah you are right, but it should also open the interactive controls? Shouldn't it? Yeah, but actually we can left only space |
Test summaryRun details
View run in Cypress Dashboard ➡️ This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard |
Mixing behaviours is confusing IMO |
Codecov Report
@@ Coverage Diff @@
## next #1266 +/- ##
=========================================
+ Coverage 93.9% 94.01% +0.11%
=========================================
Files 55 56 +1
Lines 1345 1420 +75
Branches 198 201 +3
=========================================
+ Hits 1263 1335 +72
- Misses 64 67 +3
Partials 18 18
Continue to review full report at Codecov.
|
Only space :) |
* newdev: (671 commits) Re-implement based from v3.2.4 - fix issue yyyy case sensitive / unexpected TODO from year selector v3.2.4 Restore support of lib instnace (mui#1281) Fix ts error and formik example (mui#1280) v3.2.3 Update patrons list Add mention of renamed `moment` property (mui#1268) [a11y] Open picker by space click (mui#1266) Do not allow input any chars when value is nul (mui#1265) Dispatch onChange before onClose (mui#1264) Refactor wrapping <Picker /> in state to be 1 component (mui#1263) [InlineWrapper]: Don't force any width on the paper (mui#1248) (mui#1261) Remove direct `@material-ui/core` imports. (mui#1252) [docs] Fix typo in date-fns localization title Fix direct @material-ui/core imports (mui#1236) Update prop-types.json Ovveride keyboard datepicker onChange date type [docs] Show DateIOType instead of anys (mui#1228) Update release script v3.2.2 ... # Conflicts: # README.md # docs/src/Examples/Demo/DatePicker/BasicDatePicker.jsx # docs/src/Examples/Demo/DatePicker/InlineDatePicker.jsx # docs/src/Examples/Demo/DateTimePicker/BasicDateTimePicker.jsx # docs/src/Examples/Demo/DateTimePicker/InlineDateTimePicker.jsx # lib/package.json # lib/src/DatePicker/DatePicker.jsx # lib/src/DatePicker/DatePickerInline.jsx # lib/src/DatePicker/DatePickerModal.jsx # lib/src/DatePicker/components/Calendar.jsx # lib/src/DatePicker/components/CalendarHeader.jsx # lib/src/DatePicker/components/YearSelection.jsx # lib/src/DateTimePicker/DateTimePicker.jsx # lib/src/DateTimePicker/DateTimePickerInline.jsx # lib/src/DateTimePicker/DateTimePickerModal.jsx # lib/src/DateTimePicker/components/DateTimePickerHeader.jsx # lib/src/_shared/DateTextField.jsx
This PR closes #1059 and resolves #1231
Also contains all changes from, so fixes #1253
Description
Open picker by space/enter click