Skip to content
This repository has been archived by the owner on Sep 2, 2024. It is now read-only.

Screen readers announce hidden fields when navigating past date-picker-element #104

Open
johber opened this issue Mar 3, 2022 · 0 comments

Comments

@johber
Copy link

johber commented Mar 3, 2022

Describe the bug
When navigating using a screenreader and moving past the date-picker-element, two hidden fields are read, it would appear that it is the content of the hidden selects for year and month.

To Reproduce
Steps to reproduce the behavior:

  1. On a page with a datepicker, use arrows on desktop + NVDA, or swipe on Android + TalkBack to navigate.
  2. Navigate to the datepicker.
  3. Try navigating to the next element after the datepicker.
  4. Two fields will be announced, either as empty, or if a date is set, the selected year and month.

Expected behavior
Navigating over the closed datepicker should only have two steps, the input field and the button, no additional parts should be announced.

Screenshots
Example with NVDA on the demonstration site:
nvda-keyboard-navigation

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: Chrome

Smartphone (please complete the following information):

  • Device: Samsung S10e
  • OS: Android 11
  • Browser: Chrome, Samsung Internet
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant