scale icon indicating copy to clipboard operation
scale copied to clipboard

Tab Navigation content outputed as clickable to screen readers

Open nikolab-pn opened this issue 2 years ago • 2 comments

Hi,

looks like all texts inside the tabs are outputed as clickable to the screen reader tool (JAWS). This is confusing for screen reader users.

nikolab-pn avatar Mar 28 '22 13:03 nikolab-pn

Would you be so kind and share some code snippet so we can test this?

Thanks in advance 🙏

acstll avatar Mar 30 '22 14:03 acstll

This was reported to me so I'm not sure on the details on screen reader program but it looks like from this gitlab issue (https://github.com/carbon-design-system/carbon/issues/986#issuecomment-412968245) JAWS (and NVDA) announce "clickable" when an element or one of its ancestors has a click event handler and it looks like tab-nav component has attached click event listener so all it's children are clickable for screen reader.

nikolab-pn avatar Mar 30 '22 16:03 nikolab-pn

Hi @nikolab-pn, sorry for the long wait. I have checked the problem again. Unfortunately, I could not reproduce it. I tried with Windows Voice-Assistant, VoiceOver and JAWS on all major browsers. Is this still an issue on your side ?

marvinLaubenstein avatar Feb 17 '23 15:02 marvinLaubenstein

Hi @marvinLaubenstein,

here is the video of the issue in Firefox 110.0 on macOS 13.2.1 using VoiceOver but it should be simmilar with other tools. "clickable" part is read out when I focus text part. I use VO key + arrow right to navigate to it when after tab panel is slected.

VO key = Control + Option or Caps Lock

https://user-images.githubusercontent.com/98950408/221534102-6c7fad5d-52bd-44e7-82d8-3b75288823bd.mov

nikolab-pn avatar Feb 27 '23 10:02 nikolab-pn

Hi @nikolab-pn, thanks again for the nice video. Now I see the issue. Based on your description, we had thought about a different placement of the issue, sorry for the missunderstanding.

We will look at it again in detail and will fix it.

marvinLaubenstein avatar Feb 28 '23 18:02 marvinLaubenstein