Skip to content
This repository was archived by the owner on May 4, 2022. It is now read-only.
This repository was archived by the owner on May 4, 2022. It is now read-only.

bug: Ionic-segments are announced as toggle button in Talkback #1114

Open

Description

@mastergogo

We are using Ionic-segments and Ionic-segment-button, and on tap of these buttons we are switching between the view (via CSS), what is happening when we run a TalkBack screen reader, Talkback announces it (ion-segment-button)as a toggle button because under this component aria-pressed=false/true attribute is given. however, it is not a toggle button and talkback user might assume it as toggle i.e. on/off, here is a repo that produces the same results when checked with talkback, let me know if more info is needed.

Activity

  1. changed the title [-]bug: Ionic-segments are announced as toggle button [/-] [+]bug: Ionic-segments are announced as toggle button in Talkback[/+] on Jul 22, 2020
  2. liamdebeasi commented on Jul 22, 2020

    @liamdebeasi
    Contributor

    Thanks for the issue. What device are you testing this on?

  3. mastergogo commented on Jul 22, 2020

    @mastergogo
    Author

    Hi @liamdebeasi, I'm testing this on Samsung Galaxy M30 with android 10.

  4. liamdebeasi commented on Jul 22, 2020

    @liamdebeasi
    Contributor

    Thanks for the follow up. The application you provided is using Ionic Framework v3. This repo is dedicated to issues pertaining to Ionic Framework v4+, so I am going to move this to the ionic-v3 repo.

  5. mastergogo commented on Jul 22, 2020

    @mastergogo
    Author

    Hi @liamdebeasi we are using Ionic v5, 5.0.7 precisely - and it is appearing there too.

  6. liamdebeasi commented on Jul 22, 2020

    @liamdebeasi
    Contributor

    Can you provide a code reproduction using the latest version of Ionic Framework?

  7. mastergogo commented on Jul 22, 2020

    @mastergogo
    Author

    Hi, @liamdebeasi I have added one repo here under the file: Ionic-talkback-issue/src/app/recipes/recipe-detail/recipe-detail.page.html
    you can find the ion-segment component used at the bottom if you run a talkback screen reader on this page, ion-segment will be announced as toggle button. let me know if this will help.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions