angular / components

Component infrastructure and Material Design components for Angular
https://material.angular.io
MIT License
24.31k stars 6.72k forks source link

bug(mat-date-range-picker): Focus indicator is not present for the selected date #22883

Open sourabhsoni0711 opened 3 years ago

sourabhsoni0711 commented 3 years ago

Reproduction

Steps to reproduce:

  1. Open the URL https://material.angular.io/components/datepicker/examples
  2. Open date range picker in example 1
  3. Navigate to the selected date using keyboard arrow keys
  4. Observe that when focus is on selected date , user cannot understand where the current focus is.

Expected Behavior

Provide a focus indicator or drop shadow in addition to the background color change

Actual Behavior

Focus indicator is not present for the selected state of date's present inside date range picker. Hence it is difficult for the users to know where the focus is

Environment

zarend commented 1 year ago

Hello, Does enabling strong focus indicators fix this problem? -Zach

cjlawson02 commented 1 year ago

Reproducible on Windows but not macOS

This is a regression from Angular v12. Both v13 and v14 have this issue now

zarend commented 1 year ago

Confirming that I can repro on both Mac and Window

It's ambiguous if Jan 23 is both focused and select or only selected.

image

Environment: