Thanks a tonne @inhuofficial for your support 🙏.
As next task, I was trying to find a way to trigger a onclick on a button using Voiceover. It works using mouse click only. Can you please help me on this?
Accessibility First DevRel. I focus on ensuring content created, events held and company assets are as accessible as possible, for as many people as possible.
Accessibility First DevRel. I focus on ensuring content created, events held and company assets are as accessible as possible, for as many people as possible.
Hmm sorry to be all "stack overflow" about it but do you have a fiddle that replicates this? A click handler will work on a native <button> without issue unless there is something else interfering.
Also is your VoiceOver on Mac or Mobile just so I know which to test with!
Accessibility First DevRel. I focus on ensuring content created, events held and company assets are as accessible as possible, for as many people as possible.
Thanks a tonne @inhuofficial for your support 🙏.
As next task, I was trying to find a way to trigger a
onclick
on abutton
using Voiceover. It works using mouse click only. Can you please help me on this?Sure, are you using an inline
onclick
on the button oraddEventListener('click'
.Also are you using a framework or is this vanilla (as a lot of frameworks break the native functionality of "click")
We are using
addEventListener
in Vanilla JSHmm sorry to be all "stack overflow" about it but do you have a fiddle that replicates this? A
click
handler will work on a native<button>
without issue unless there is something else interfering.Also is your VoiceOver on Mac or Mobile just so I know which to test with!
Yeah sure. I will try to replicate the issue in fiddle and share the link soon. Thanks in advance for your quick responses :-)
No problem, anyone working on accessibility is a super star in my book so I will help when I can! ❤️