This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 7022 - Need example of platform conventions for tab order
Summary: Need example of platform conventions for tab order
Status: RESOLVED FIXED
Alias: None
Product: ARIA
Classification: Unclassified
Component: Core AAM (show other bugs)
Version: 1.0
Hardware: PC Windows XP
: P1 normal
Target Milestone: ---
Assignee: David Bolter
QA Contact: ARIA UA Implementors
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-12 19:02 UTC by Andi Snow-Weaver
Modified: 2009-09-15 16:14 UTC (History)
1 user (show)

See Also:


Attachments

Description Andi Snow-Weaver 2009-06-12 19:02:54 UTC
For section 2.1, bullet 2.
Comment 1 David Bolter 2009-06-26 14:03:51 UTC
Some handy links here... need to collate

http://www-03.ibm.com/able/guidelines/software/swkbdequiv.html

Comment 2 David Bolter 2009-09-14 17:41:00 UTC
I propose something like this additional text:

Putting the elements in document order should suffice. So in the case of this HTML markup:

<div id="A" tabindex="0"></div>
<div id="B" tabindex="0">
  <div id="B1" tabindex="0">1</div>
  <div id="B2" tabindex="0">2</div>
</div>
<div id="C"></div>

The order of traversal would be: A, B, B1, B2, C.

-----
Editor note: I'm not aware of any any cases where this would fly in the face of platform convention. In cases where this algorithm doesn't work well, DHTML authors can specify the tab order more directly (e.g. tabindex="5"), or implement special keyboard navigation depending on the desired interaction.
Comment 3 Andi Snow-Weaver 2009-09-14 19:16:25 UTC
So is the advice for user agents to simply add the elements with tabindex="0" to the tab order in the order in which they are encountered in the source code? Or is this an example of the platform convention for HTML?
Comment 4 David Bolter 2009-09-14 19:32:43 UTC
Interesting question. Let's use "platform" to describe the os/desktop (Mac, Win, Linux). I guess this is an example of convention on HTML (on all platforms AFAIK).
Comment 5 Andi Snow-Weaver 2009-09-15 16:14:39 UTC
The user agent developer should know the convention for the technology in question. For example, in HTML, the UA will add the elements to the tab order following the source code order. Can simply remove the phrase ", and should follow platform conventions to determine the element's relative order."