Skip to content

[CSS Anchored Positioning] Is "maintenance of logical order" really needed? #493

Open
@mfreed7

Description

@mfreed7

In this section of the explainer, there is a discussion of the maintenance of logical order based on the anchor attribute. My question is whether this is needed at all, or if so, why. The motivation section calls this out with this footnote:

Wherever possible, authors should ensure that the DOM and visual order match without requiring special handling. As this may prove difficult for some anchoring use cases, an anchored positioning scheme should provide a way to heal this mismatch and ensure accessible content traversal.

I'm wondering if we should enumerate the "difficult" use cases? For the typical <popup> use case, it would seem that the DOM order can be easily aligned with the logical/visual order, so that the existing logical content ordering will "just work". And adding complex rules to try to "heal" odd situations might prove to be a) difficult, and b) confusing. It might be necessary, of course, but if so, we should be able to enumerate those situations.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions