W3C home > Mailing lists > Public > www-forms@w3.org > July 2001

RE: <group> and the navigation sequence algorithm

From: Sean Gerety <SGerety@extremelogic.com>
Date: Fri, 27 Jul 2001 12:20:03 -0400
Message-ID: <DB34C56F4566A14CB916AEF558ABA9831E70DD@falcon.extremelogic.net>
To: <www-forms@w3.org>

What about the possibility of adding a navindex attribute to the group
element?  Consider the following Scenarios.

Scenario 1 - group element with a navindex attribute.  Navigation of the
Individual elements within the group is sequential, if no navindex is
present. 
<group navindex="1">
	<textbox ref="...">
		<caption>Input 1: </caption>
	</textbox>
	<textbox ref="...">
		<caption>Input 2: </caption>
	</textbox>

	<group navindex="2">
		<textbox ref="...">
			<caption>Input 3: </caption>
		</textbox>
		<textbox ref="...">
			<caption>Input 4: </caption>
		</textbox>
	<group>
<group>

Scenario 2 - combination group and individual element navindex used to
control flow.
<group navindex="2">
	<textbox ref="..." navindex="1">
		<caption>Input 1: </caption>
	</textbox>
	<textbox ref="..." navindex="2">
		<caption>Input 2: </caption>
	</textbox>

	<group navindex="1">
		<textbox ref="..." navindex="2">
			<caption>Input 3: </caption>
		</textbox>
		<textbox ref="..." navindex="1">
			<caption>Input 4: </caption>
		</textbox>
	<group>
<group>

Scenario 3 - No navindex value at the group element.  Navigation is
controlled at the individual element level.

<group>
	<textbox ref="..." navindex="1">
		<caption>Input 1: </caption>
	</textbox>
	<textbox ref="..." navindex="3">
		<caption>Input 2: </caption>
	</textbox>

	<group>
		<textbox ref="..." navindex="4">
			<caption>Input 3: </caption>
		</textbox>
		<textbox ref="..." navindex="2">
			<caption>Input 4: </caption>
		</textbox>
	<group>
<group>


Thanks,

Sean Gerety
Extreme Logic
sgerety@extremelogic.com



-----Original Message-----
From: Nolan, Laura [mailto:Laura_Nolan@hplb.hpl.hp.com] 
Sent: Wednesday, July 25, 2001 12:01 PM
To: 'www-forms@w3.org'
Subject: <group> and the navigation sequence algorithm


Hello,

Section 8.4 of the WD states that navindex is used to order navigation
sequence within a group; whereas section 11.4.3 states that navigation
is
determined on a document wide basis solely according to a total ordering
of
form controls. 
I'm having trouble reconciling these two statements.

It doesn't seem logical to split the form controls in a <group> up - so
the
navigation sequence of 11.4.3 could work inside a <group>. But if a
nested
<group> appears inside that <group>, where do its controls appear
relative
to those of the parent <group>? In this example, if you used the 11.4.3.
algorith, you'd split up the inner group.

<group>
	<textbox ref="..." navindex="1">
		<caption>Input 1: </caption>
	</textbox>
	<textbox ref="..." navindex="3">
		<caption>Input 2: </caption>
	</textbox>

	<group>
		<textbox ref="..." navindex="4">
			<caption>Input 3: </caption>
		</textbox>
		<textbox ref="..." navindex="2">
			<caption>Input 4: </caption>
		</textbox>
	<group>
<group>


Would it make sense for <group> to have a navindex attribute too? If a
document contains several different groups at the top level, all with a
variety of navindex values, in what order should the groups appear? 

<group>
	<textbox ref="..." navindex="1">
		<caption>Input 1: </caption>
	</textbox>
	<textbox ref="..." navindex="4">
		<caption>Input 2: </caption>
	</textbox>
<group>
<group>
	<textbox ref="..." navindex="2">
		<caption>Input 3: </caption>
	</textbox>
	<textbox ref="..." navindex="3">
		<caption>Input 4: </caption>
	</textbox>
<group>

Thanks,
Laura Nolan
Received on Friday, 27 July 2001 12:20:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:21:49 GMT