W3C home > Mailing lists > Public > www-style@w3.org > November 2011

[css3-ui] Aligning 'nav-index' with HTML5 tabindex

From: L. David Baron <dbaron@dbaron.org>
Date: Sun, 20 Nov 2011 15:09:35 -0800
To: www-style@w3.org
Cc: wai-xtech@w3.org
Message-ID: <20111120230935.GA8525@pickering.dbaron.org>
One of the issues that came up in the joint meeting between CSS and
WAI Protocols & Formats at TPAC (on October 31) was the 'nav-index'
property in http://dev.w3.org/csswg/css3-ui/#nav-index .  (This is
the first of two messages (on different topics) to follow up on that
discussion.)

There was some discussion about aligning it with HTML5.  In
particular, HTML5 introduces additional rules for negative values of
the tabindex attribute:
http://dev.w3.org/html5/spec/editing.html#sequential-focus-navigation-and-the-tabindex-attribute
which should probably be representable via a value in CSS.  It's
probably more CSS-like to call this 'nav-index: none' than to assign
special semantics to negative numbers as HTML does.  (CSS
'nav-index: auto' already corresponds, I believe, to HTML5
tabindex="0".)

Additionally, I suspect some additional changes are needed to align
the description with the one given in HTML5, though I haven't looked
into this closely.  (I did notice that css3-ui refers to content
order as "the order they appear in the character stream", which
doesn't appear to me to be a sensible definition following DOM
manipulation.)

-David

-- 
𝄞   L. David Baron                         http://dbaron.org/   𝄂
𝄢   Mozilla                           http://www.mozilla.org/   𝄂
Received on Sunday, 20 November 2011 23:10:04 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:46 GMT