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

Update well-known destinations explainer in accordance with TPAC 2024 #279

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

matatk
Copy link
Contributor

@matatk matatk commented Oct 29, 2024

. . .
<head>
. . .
<link rel="accessibility-statement" href="/accessibility-statement">
Copy link

@abhina-kumar abhina-kumar Nov 26, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we have following:

  1. List of possible values for rel attribute? I think UA will look for link tag with some pre-defined rel values...
  2. How this list can be enhanced, as websites may have very different structures?

<head>
. . .
<link rel="accessibility-statement" href="/accessibility-statement">
<link rel="help" href="/support">

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The User Agent will show image and title for navigation. Will it coming from title and icon attributes? Will title be in user locale?

If yes, can we enhance explainer to capture these?


The UA will know if this link points to the root of the well-known destination (e.g. the "Help" landing page, vs "Help on logging in") becuase it knows the URL of the root of the well-known destination, via the discovery process above.
```html
<p>For more details, consult the <a href="/help/signing-in" rel="help">help section on signing in to your account</a>.</p>
Copy link

@abhina-kumar abhina-kumar Nov 26, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Will UA parse all the anchor tags ?
  2. If yes, how will it know that is anchor is relevant for Well-known-destination?
  3. Does this also mean that UA will show union of result from anchor and link tags?


This approach builds on:
* Highlighting the specific relevant part of the page.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we detail out how a browser extension can achieve it?

> This was the TF's favoured approach pre-TPAC 2024. Keeping this here for now to help write the revised, simpler, one, and to possibly be used to offer an idea of how the approach _may_ be made more efficient in future if there is demand.

> [!NOTE]
> This approach originally had 'defining a site' immediately after the first, namespace, section. This has been moved to reflect the heading structure above.
Copy link

@abhina-kumar abhina-kumar Nov 26, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this NOTE relevant?


* A single Well-known URI from which the linkset would be served; and
## Previous iteration: Linksets

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This section doesn't capture, why we are not using this approach?


We first explored using [Well-known URIs](https://datatracker.ietf.org/doc/html/rfc8615), which provide a number of useful features. However, there were some important limitations:

* Well-known URIs are linked to an _origin_ which means it's not possible to demarcate sub-sites.
Copy link

@abhina-kumar abhina-kumar Nov 26, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can have different well-known URLs for sub-sites. I think the issue is with sub-pages.

@@ -388,6 +392,9 @@ It does not seem like a good fit to try to extend the format of sitemaps to acco

### Using `rel` attribute values alone

> [!WARNING]

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This section looks confusing. We can discuss and possibly re-phrase it.

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

Successfully merging this pull request may close these issues.

2 participants