- From: Lea Verou <notifications@github.com>
- Date: Sun, 20 Jul 2025 20:32:29 -0700
- To: w3ctag/design-reviews <design-reviews@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 21 July 2025 03:32:33 UTC
Per https://www.w3.org/TR/design-principles/#naming-of-url-attributes , attributes for URLs should be called `href` or `src` unless there is good reason.
MapML uses `tref` for URL templates like : https://maps4html.org/MapML-Specification/spec/#the-link-element-0
Example:
```html
<maplink rel="tile" tref="https://tile.openstreetmap.org/{z}/{x}/{y}.png"></maplink>
```
Should they be using `href` instead? Is there any guidance or precedent for attributes containing URL templates?
--
Reply to this email directly or view it on GitHub:
https://github.com/w3ctag/design-reviews/discussions/1123
You are receiving this because you are subscribed to this thread.
Message ID: <w3ctag/design-reviews/repo-discussions/1123@github.com>
Received on Monday, 21 July 2025 03:32:33 UTC