-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Proposal: CSS reading-flow #10407
Comments
@emilio @annevk @rachelandrew feedback appreciated, thanks! |
When I look at the last comment in the linked issue I don't get the impression the CSS WG decided on something here? Is this proposal the result of what some in the CSS WG were asking for? |
We're intending to discuss the linked issue at the f2f tomorrow morning. This proposal is in support of that. The WG has previously resolved to work on |
I see. Agreeing to work on something is very different from "The CSS WG has proposed ..." Clarifying that would be good. The other thing that comes to mind here is #7054. Is that still being developed? |
It's moved into https://open-ui.org/components/focusgroup.explainer/ @travisleithead |
Updated the above description to "CSSWG agreed to [...]", thanks for the suggestion. |
Thanks for linking to the spec. One thing that comes to mind is that the eventual WHATWG spec PR would be simplified if the CSS spec could have a defined term for the "reading order". That would avoid needing to re-define it as @dizhang168 has done in this section. The CSS spec has all of the info already, but it isn't listed in a way that could be referenced from the HTML spec, I don't think. |
I'm very happy to edit things into the spec that we think are usefully defined there, I'm not completely clear on what would make it easier to reference from the HTML spec (that's likely my lack of knowledge though) very happy to work through this to get things into the best place. |
To be clear, I don't think @bkardell's response addressed my question. (But perhaps that was clear and people are still thinking about it?) |
OpenUI has been regularly discussing focus groups and it is an active proposal being prototyped. I think they are a separate issue from this, however. Focusgroup is more about roving tab index patterns while as I understand it reading order is about adjusting the tab/AT cursor order based on layout. Both can co-exist and are distinct enough from each other that there isn't a lot of overlap. |
reading-flow (reading-order-items) is relevant to the focusgroup idea imo. It will fall into the same trap that tabbing does today if you use flex and change ordering? Unless focusgroup just does its ordering based on tabbing's (with different focusability requirements). I think that there needs to be some thought put into both as to how they interact for sure. It is still being actively developed. |
Adding this proposal to the upcoming meeting so we can discuss with implementers:
|
Summary from 2024/08/01 meeting: |
What is the issue with the HTML Standard?
The CSSWG agreed to work on the new CSS property
reading-flow
: (w3c/csswg-drafts#7387, spec). Blink has been working on a prototype for how to change the sequential focus navigation order within a container that hasreading-flow
.Our proposal can be found here:
Here’s a copy of the introduction:
I'm requesting feedback on this proposal and if agreed on, offer to do the spec work. Thanks.
The text was updated successfully, but these errors were encountered: