Re: HTML5 audio won't play on link-tap with VoiceOver enabled
Re: HTML5 audio won't play on link-tap with VoiceOver enabled
- Subject: Re: HTML5 audio won't play on link-tap with VoiceOver enabled
- From: Jonathan del Strother <email@hidden>
- Date: Tue, 10 Jan 2012 16:59:58 +0000
Sorry, I just realized I forgot to attach my testcase to the original
email. I'm monitoring click events and using those to start playing
the audio file. This might make it a bit clearer -
http://jsfiddle.net/jdelStrother/bxMrb/17/
Thanks to your other email, it occurred to me to try role=button on
the link, which actually seems to fix things. That's a good enough
workaround for me, thanks a lot.
-Jonathan
On 10 January 2012 16:10, Chris Fleizach <email@hidden> wrote:
>
> Sounds like a bug related to how audio elements are handling simulated click events. Using a link object will send a touch-click event instead of an actual touch event.
>
> On Jan 10, 2012, at 4:45 AM, Jonathan del Strother wrote:
>
>> Hi,
>> I've run into an odd bug/feature in Mobile Safari when VoiceOver is
>> enabled. On a click event, I play an mp3 via an Audio element. If
>> the clicked element is a <div> or a <button>, it works fine. However,
>> if the element is a link, and if VoiceOver is enabled, the Audio
>> element never loads.
>>
>> I've reported this as rdar://10662742, but wondered if anyone had a
>> workaround or knew why this might be the case.
>>
>> -Jonathan
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Accessibility-dev mailing list (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden