Skip to content

bug(datepicker): Missing to announce "to" in reading year range. Ex. "2016-2039" #23467

Closed
@zarend

Description

@zarend

Reproduction

Steps to reproduce:

  1. Open the Datepicker Examples
  2. Go to the "Basic date range picker" demo
  3. Open the calendar dialog
  4. Focus and activate on the "Choose month and year"
  5. Observe the audio feedback

Expected Behavior

It should read out "to" between the years by the screen reader

Actual Behavior

It is reading "2016 2039" without mentioning either "-" or "to"

Environment

OS| Browser | Screen reader
ChromeOS | Google Chrome 91.0.4472.167 | ChromeVox
macOS Catalina | Google Chrome 92.0.4515.131 | VoiceOver

Additional Notes

This is copied from an internal bug report found during a11y testing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    AccessibilityThis issue is related to accessibility (a11y)P4A relatively minor issue that is not relevant to core functionsarea: material/datepicker

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions