Skip to content
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

Future improvements #127

Open
5 of 10 tasks
motss opened this issue Jan 15, 2019 · 0 comments · Fixed by #129
Open
5 of 10 tasks

Future improvements #127

motss opened this issue Jan 15, 2019 · 0 comments · Fixed by #129

Comments

@motss
Copy link
Owner

motss commented Jan 15, 2019

Checklist

  • To add focus management when datepicker opens. Applies to plain, backdrop, and modal dialogs.
  • To update keyboard support to not go beyond allowable (or disabled) date range.
  • To implement min, max, adjust _currentDate if min is smaller than value (selectedDate), hide or show chevrons according to the value of min and max, to disable scrolling in year list view if necessary.
  • To remove attribute format as native input[type=date] does not support it. Format of an input date is determined via locale of the browser, nor does it affect the output of the selected date. Worth noting that the value is always in the format yyyy-mm-dd.
  • To implement inline datepicker.

Proposals

  • To improve support for screen readers.
  • To implement showing tooltip when mouse hover the input type=date.
  • To use HTMLInputElement's selectionStart and selectionEnd to highlight selectable year, month and day in native element. tab-ing to focus next selectable items are possible!
  • To allow stepUp and stepDown to manipulate input date via step attribute.
  • To implement attribute step.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant