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

Fragment Directives API #154

Open
eligrey opened this issue May 22, 2024 · 0 comments
Open

Fragment Directives API #154

eligrey opened this issue May 22, 2024 · 0 comments

Comments

@eligrey
Copy link

eligrey commented May 22, 2024

Introduction

Fragment directives are instructions for user agents to perform some action. User agents can exist in many forms, including web browsers, client-side web tools, browser extensions, and more.

Recently, browsers have started to adopt the URL Fragment Text Directives aka scroll-to-text specification. This introduced undefined and potentially unwanted behavior in regard to how fragment directives should be hidden from and exposed to user agents. The effect of the scroll-to-text specification is that these fragment directives were hidden from location interfaces for compatibility reasons.

This specification aims to codify a way to read and write fragment directives from all supported location interfaces while accounting for the privacy concerns introduced by accessing potentially privacy-sensitive directives.

Read the complete Explainer.

Feedback

I welcome feedback in this thread, and encourage you to file bugs against the Explainer.

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

No branches or pull requests

1 participant