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

[css-anchor-position-1] Improve accessibility guidance #10311

Open
fantasai opened this issue May 12, 2024 · 0 comments
Open

[css-anchor-position-1] Improve accessibility guidance #10311

fantasai opened this issue May 12, 2024 · 0 comments

Comments

@fantasai
Copy link
Collaborator

fantasai commented May 12, 2024

The description here:
https://drafts.csswg.org/css-anchor-position-1/#accessibility
spends several paragraphs saying 3 useful things:

  • Anchor positioning doesn't affect non-visual UAs, so don't rely on it to create semantic connections. (No mention of e.g. keyboard navigation in visual UAs.)
  • The “Popover API” (which is named but not linked, explained, or illustrated anywhere in this spec) can be used to perform semantic linking when that's appropriate.
  • The aria-describedby and aria-details attributes might also help.

Other than that, there are no examples (of either good or bad practices), or concrete actionable guidance that would help an author actually do things correctly.

The goal of the section should be to help authors understand the implications of what they're doing, identify what tools they have available to do a good job, and explain when and how to use them. They should come away knowing how to think about the interaction of accessibility and anchor positioning, and be able to implement the guidance, at least for straightforward cases such as the basic use cases that drove the spec.

I don't think it's fulfilling that goal yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant