Skip to content

bug: datetime month/year picker is hard to use with screen readers #25221

Closed
YoutacRandS-VA/eth2-beaconchain-explorer-app
#2

Description

@averyrousseau

Prerequisites

Ionic Framework Version

  • v4.x
  • v5.x
  • v6.x
  • Nightly

Current Behavior

When using ion-datetime's month/year picker with a screen reader, swiping to get around the page, it isn't possible to close the picker without unintentionally changing your selection. You have to swipe past all months to get back to the picker, and the scrolling automatically changes which month is selected.

Screencast: https://user-images.githubusercontent.com/90629384/166057993-70e1c6ad-2053-431c-a908-4ef03787fac7.mov

Expected Behavior

You should be able to change the month/year on a screen reader to any value. I'm not sure what should change about the design, though. Pressing Escape to toggle the picker would work on desktop, but not on phones, for example.

Steps to Reproduce

Use any ion-datetime with a presentation that shows the month/year picker as a separate overlay.

Code Reproduction URL

No response

Ionic Info

Recording was from core hosted through ngrok; output from hosting PC:

[WARN] You are not in an Ionic project directory. Project context may be missing.

Ionic:

   Ionic CLI : 6.18.1

Utility:

   cordova-res : not installed globally
   native-run  : 1.4.1

System:

   NodeJS : v16.13.0
   npm    : 8.1.0
   OS     : Windows 10

Additional Information

No response

Activity

  1. liamdebeasi commented on May 3, 2022

    @liamdebeasi
    Contributor

    Native iOS does something similar that we can probably follow:

    RPReplay_Final1651585768.mov

    With VoiceOver enabled, users can select the column as a whole. In order to interact with the picker, they need to double tap the column. At this point, users are able to drag the column up or down. Swiping to proceed to the next/prev items does not appear to select the individual picker items.

  2. added
    package: core
    type: bug
    on May 3, 2022
  3. iamandersonp commented on Aug 30, 2022

    @iamandersonp

    This same behavior ocurs for the ion-datetime in wheel mode

    in the video of liamdebeasi you can hear the voiceover say the month and year are sliders but the actual month selector is readed as buttons and nothin hapens when you select those buttons

  4. added a commit that references this issue on Apr 24, 2024
    e38e2e4
  5. liamdebeasi commented on Apr 24, 2024

    @liamdebeasi
    Contributor

    This will be fixed in an upcoming minor release of Ionic 8: #29371

  6. ionitron-bot commented on May 24, 2024

    @ionitron-bot

    Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

  7. locked and limited conversation to collaborators on May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    package: coretype: bug

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions