igniteui-webcomponents icon indicating copy to clipboard operation
igniteui-webcomponents copied to clipboard

Calendar: Managing focus

Open simeonoff opened this issue 1 year ago • 0 comments

Description

The way the focus works in the calendar currently is a bit undefined. When we click on the year from the days view picker, the years view shows a year as if it's focused and ready to operate using keyboard navigation, however that's not the case. If we visit the months view from the days view picker, the same behavior is observed. However, if we visit the months view from the years view by clicking on a year, the active month is on focus and can be operated using keyboard navigation.

Question

What should the focus / keyboard navigation behavior be like? In my opinion, when using keyboard navigation, and going through the process of selecting year -> month -> date, or date -> year -> date, or date -> month -> date, the date, month, and year respectively should already be on focus so that keyboard navigation can be used.

On the other hand, if the same flow is executed using mouse, none of the items should be on focus, unless the user navigates to them using tabulation.

simeonoff avatar Jan 16 '24 13:01 simeonoff