This is an old revision of the document!


Improving Tab Navigation

There have been a number of concerns raised with the current 'nav-index' property. This page is to document them and the resulting discussions, with the aim of addressing these issues in a future revision of the UI module.

External Issues To Be Incorporated

Extract issues from these and document here as subsections explicitly:

More issues:

Should HTML specify something

HTML has the tabindex attribute (with various levels of browser support) which should be specified there.

HTML or CSS or both

Does nav-index belong in HTML or CSS or both?

Current thinking: likely both.

HTML already has tabindex and thus should specify that (see previous).

CSS should specify nav-index because:

  • CSS3-UI already specifies directional nav-* properties
  • Any style sheet that explicitly specifies the 2 dimensional directional nav-* properties will likely want to also explicitly specify sequential navigation order as well.
  • Keeping both sequential and directional nav-* in the same style sheet will help them stay “in sync” across site changes etc.
    • Or rather, having to do them separately in HTML vs CSS will likely cause them to get out of sync.
 
ideas/nav-index.1393290023.txt.gz · Last modified: 2014/12/09 15:48 (external edit)
Recent changes RSS feed Valid XHTML 1.0 Valid CSS Driven by DokuWiki