WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: XHTML tab order and Flash

for

From: Steven Henderson
Date: Aug 18, 2009 9:45AM


Having played with this a bit more, it is apparent that the tabindex
attribute is paramount to taming (or controlling) the tab order with Flash
and XHTML, which is a real shame because it would only really work for small
pages where each link can be assigned a carefully assigned tabindex ... not
likely in this age of blogs and CMS systems to be entirely achievable.

Shame really, as the only alternative is to place Flash items higher in the
source code to reduce usability complications with tabindex getting out of
hand in larger pages. This is not going to be ideal in most cases I feel.

Steven



-----Original Message-----
From: <EMAIL REMOVED>
[mailto: <EMAIL REMOVED> ] On Behalf Of Benjamin
Hawkes-Lewis
Sent: 18 August 2009 16:06
To: WebAIM Discussion List
Subject: Re: [WebAIM] XHTML tab order and Flash

On 18/08/2009 15:54, Steven Henderson wrote:
> However, any ideas as to why in Firefox, Flash receives the tab focus
before
> XHTML links on the page, even though they are higher up in the markup?

IIRC the Flash focus script works by setting "tabindex" attributes.

Per the HTML spec, links with an explicit "tabindex" receive focus
before links without "tabindex".

--
Benjamin Hawkes-Lewis