Re: Allowing interaction with offscreen elements in Mobile Safari?
Re: Allowing interaction with offscreen elements in Mobile Safari?
- Subject: Re: Allowing interaction with offscreen elements in Mobile Safari?
- From: Chris Fleizach <email@hidden>
- Date: Tue, 10 Jan 2012 08:08:05 -0800
VoiceOver activates items most of the time by sending touch events to the item, so if it's off-screen usually you're out of luck.
However, if you assign a "link" role to it, I think will activate it regardless of position.
<div role="link">item</div>
On Jan 10, 2012, at 4:04 AM, Jonathan del Strother wrote:
> Hi,
> I have a webpage element absolutely positioned offscreen
> (left:-9999px). On iOS, VoiceOver reads the contents of the element
> while swiping through elements on the page, but it won't allow a
> double-tap to activate it (to trigger a click event). You can see a
> testpage here - http://jsfiddle.net/jdelStrother/bxMrb/1/
>
> Any suggestions on a workaround or alternative approach? I'm trying
> to add a panel for accessibility users that allows quick access to
> play & pause audio. The regular audio controls (for sighted users)
> are buried a bit further down the page.
>
> -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