You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 4, 2022. It is now read-only.
Repository navigation
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
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.
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
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.
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.
Activity
[-]bug: Ionic-segments are announced as toggle button [/-][+]bug: Ionic-segments are announced as toggle button in Talkback[/+]liamdebeasi commentedon Jul 22, 2020
Thanks for the issue. What device are you testing this on?
mastergogo commentedon Jul 22, 2020
Hi @liamdebeasi, I'm testing this on Samsung Galaxy M30 with android 10.
liamdebeasi commentedon Jul 22, 2020
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.
mastergogo commentedon Jul 22, 2020
Hi @liamdebeasi we are using Ionic v5, 5.0.7 precisely - and it is appearing there too.
liamdebeasi commentedon Jul 22, 2020
Can you provide a code reproduction using the latest version of Ionic Framework?
mastergogo commentedon Jul 22, 2020
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.