W3C home > Mailing lists > Public > public-css-archive@w3.org > August 2017

[csswg-drafts] [css-ui] Add a property controlling the navigation order

From: Sebastian Zartner via GitHub <sysbot+gh@w3.org>
Date: Tue, 29 Aug 2017 10:11:28 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-253600384-1504001479-sysbot+gh@w3.org>
SebastianZ has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-ui] Add a property controlling the navigation order ==
As explained in https://github.com/w3c/csswg-drafts/issues/1748#issuecomment-324283133, the tab order is currently defined by the [element order within the DOM](https://html.spec.whatwg.org/multipage/interaction.html#sequential-focus-navigation).

If elements are placed in a different visual order, e.g. via `display: flex; flex-direction:row-reverse;`, then the order may not make sense.

Therefore, there should be a property that allows you to control the general navigation order to focus the elements in visual order, like

nav-order: strutural | visual;

where `structural` is the default value (behavior the same as defined in the HTML spec.), while `visual` creates a default navigation order following the visual placement of the elements considering the writing mode, i.e. for LTR languages the order would be from left to right, for RTL languages from right to left.


Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1764 using your GitHub account
Received on Tuesday, 29 August 2017 10:11:35 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:17 UTC