Skip to content
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

Discussing how to focus navigate absolute position elements that are focusable in CSS reading-flow #10539

Open
dizhang168 opened this issue Aug 1, 2024 · 2 comments
Labels
agenda+ To be discussed at a triage meeting topic: focus

Comments

@dizhang168
Copy link
Contributor

What is the issue with the HTML Standard?

As brought up by @emilio during the WHATNOT meeting, elements that have CSS position: absolute do not participate in the grid/flex layout. Its focus navigation order is hence unclear, similar to the display: contents case (#10533).

Example:
https://codepen.io/mfreed7/pen/poXeVbv

The proposal for reading-flow focus navigation should handle this case.

@dizhang168
Copy link
Contributor Author

For elements that are not included in the flex/grid layout such as position: absolute, we propose visiting them at the end of the reading flow, in DOM order.

@annevk annevk added topic: focus agenda+ To be discussed at a triage meeting labels Nov 8, 2024
@annevk
Copy link
Member

annevk commented Nov 8, 2024

Marking this agenda+ as there's a PR in progress (#10613) and this seems relevant to resolve beforehand.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
agenda+ To be discussed at a triage meeting topic: focus
Development

No branches or pull requests

2 participants