Remove support for non-discoverable and redundant hotkeys in calendar popups
This change removes support for the following hotkeys in date/week/month/datetime-local popups: m/M: Advance to next/previous month y/Y: Advance to next/previous year d/D: Advance to next/previous decade t: Select the current day The refreshed control implementation inherited these from the old implementation, but their value is questionable. PageDown/PageUp is a more intuitive version of m/M for changing month. Selecting the current day by keyboard can be achieved by tabbing to the 'Today' button and pressing Enter. This is more keystrokes but this should be ok because it is not an action that the user would need to perform more than once once per popup. There is no equivalent to y/Y or d/D for advancing by year/decade, but these do not seem like common scenarios. If they were, we would want to provide a more visible mechanism for achieving this. All of these hotkeys are non-discoverable aside from trial and error. As such they may be as likely to cause user confusion when stumbled across accidentally as they are to help. Given the above considerations, this change removes them. Bug: 1052388 Change-Id: I2602250352df6569100df1ba512cd624c9bd2f64 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2079219Reviewed-by:Mason Freed <masonfreed@chromium.org> Reviewed-by:
Ionel Popescu <iopopesc@microsoft.com> Commit-Queue: Dan Clark <daniec@microsoft.com> Cr-Commit-Position: refs/heads/master@{#745611}
Showing
Please register or sign in to comment