Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion XHTML: Form elements with 'tabindex' attribute skipped from tabbing order

Path: g2news2.google.com!news1.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!backlog2.nntp.dca.giganews.com!nntp.mozilla.org!news.mozilla.org.POSTED!not-for-mail
NNTP-Posting-Date: Wed, 15 Jul 2009 03:49:01 -0500
Date: Wed, 15 Jul 2009 11:46:29 +0300
From: Stanimir Stamenkov <s7a...@netscape.net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.22) Gecko/20090605 SeaMonkey/1.1.17 (Spidey; Mnenhy 0.7.6)
MIME-Version: 1.0
Newsgroups: mozilla.dev.tech.html
Subject: XHTML: Form elements with 'tabindex' attribute skipped from tabbing
 order
X-Face: *k,,G#EZ3y1EWOd&V#p:`IP(J!6=A%+q2@s)SE-`*R3gEbrSdmaU}$tq"!-\H#2{ot8m^Xn
 .:0;F:s(L+Jy!Y;:}
Content-Type: multipart/mixed;
 boundary="------------010201060206050005010006"
Message-ID: <CoqdnYc5yddgCsDXnZ2dnUVZ_o-dnZ2d@mozilla.org>
Lines: 91
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 217.18.249.150
X-AuthenticatedUsername: NoAuthUser
X-Trace: sv3-lkRC8KkIfnOFWAK4+yv/mpx32Ryf5AE4UlQtp6h8TSHQgrAex4BJy/sCZ0JDxFmr8P4n9fd0/Q5UNLx!CZJOmHCGhqJSbeFJu3k/3l2WmP3arhAIAW/R+0Fz1h4Br8xbKEC82zbNBTXk5u5eJXXeMTqqxVN/!wkiKK1L7By1nKw==
X-Complaints-To: abuse@mozilla.org
X-DMCA-Complaints-To: ab...@mozilla.org
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.39
X-Original-Bytes: 4047

This is a multi-part message in MIME format.
--------------010201060206050005010006
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

I'll attach two sample identical documents: an HTML and an XHTML 
one.  Both have two form elements with a 'tabindex' attribute set 
and two which don't specify a 'tabindex'.  I've observed the 
elements with 'tabindex' set get skipped from the tabbing navigation 
after the first iteration when viewing the XHTML document.  The HTML 
one works just fine.  Is this a known issue?

-- 
Stanimir

--------------010201060206050005010006
Content-Type: text/html; charset=US-ASCII; name="tabindex-test.html"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="tabindex-test.html"

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">


<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
  <title>Login (Test)</title>
</head>
<body>

<div><input type="text" name="dummy"></div>

<form id="login" name="login" action="">
<table>
  <tr>
    <td scope="row"><label for="uname">Username:</label></td>
    <td><input id="uname" type="text" name="uname" tabindex="1"></td>
  </tr>
  <tr>
    <td scope="row"><label for="passw">Password:</label></td>
    <td><input id="passw" type="password" name="passw" tabindex="2"></td>
  </tr>
  <tr>
    <td></td>
    <td><input type="submit" value="Login"></td>
  </tr>
</table>
</form>

</body>
</html>

--------------010201060206050005010006
Content-Type: application/xhtml+xml; name="tabindex-test.xhtml"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="tabindex-test.xhtml"

<!DOCTYPE html 
    PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
           "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII" />
  <title>Login (Test)</title>
</head>
<body>

<div><input type="text" name="dummy" tabindex="4" /></div>

<form id="login" name="login" action="">
<table>
  <tr>
    <td scope="row"><label for="uname">Username:</label></td>
    <td><input id="uname" type="text" name="uname" tabindex="1" /></td>
  </tr>
  <tr>
    <td scope="row"><label for="passw">Password:</label></td>
    <td><input id="passw" type="password" name="passw" tabindex="2" /></td>
  </tr>
  <tr>
    <td></td>
    <td><input type="submit" value="Login" tabindex="3" /></td>
  </tr>
</table>
</form>

</body>
</html>

--------------010201060206050005010006--