-
Notifications
You must be signed in to change notification settings - Fork 27
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
base: main
Are you sure you want to change the base?
Conversation
. . . | ||
<head> | ||
. . . | ||
<link rel="accessibility-statement" href="/accessibility-statement"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we have following:
- List of possible values for rel attribute? I think UA will look for link tag with some pre-defined rel values...
- 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"> |
There was a problem hiding this comment.
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> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Will UA parse all the anchor tags ?
- If yes, how will it know that is anchor is relevant for Well-known-destination?
- 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. |
There was a problem hiding this comment.
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. |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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. |
There was a problem hiding this comment.
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] |
There was a problem hiding this comment.
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.
Preview: https://github.com/w3c/adapt/blob/explainers-post-tpac-2024/explainers/well-known-destinations.md