1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-12-28 11:02:10 +00:00

New note: WAI-Adapt fallbacks to microformats

This commit is contained in:
Rohan Kumar 2022-09-13 11:30:15 -07:00
parent 13a4435597
commit 0e4de529e9
No known key found for this signature in database
GPG key ID: 1E892DB2A5F84479

View file

@ -0,0 +1,19 @@
---
title: "WAI-Adapt fallbacks to equivalent microformats"
date: 2022-09-13T11:30:15-07:00
replyURI: "https://github.com/w3c/adapt/wiki/Comparison-of-ways-to-use-vocabulary-in-content"
replyTitle: "Comparison of ways to use vocabulary in content"
replyAuthor: "WAI-Adapt Task Force"
replyAuthorType: "Organization"
replyAuthorURI: "https://www.w3.org/WAI/APA/task-forces/adapt/"
---
I noticed that the <cite>[Comparison of ways to use vocabulary in content](https://github.com/w3c/adapt/wiki/Comparison-of-ways-to-use-vocabulary-in-content)</cite> page on the personalization-semantics wiki didn't mention Microformats. Microformats add semantic meaning to individual HTML elements; this is in contrast to document-level semantic formats like Microdata, RDFa, and JSON-LD.
There's a 1-1 mapping between many microformats and values in [the WAI-Adapt Content Module](https://w3c.github.io/adapt/content/index.html). Several values under section 4.3.4 (values for "purpose") are already specified in [`h-card` microformats2](https://microformats.org/wiki/h-card), for instance. You can find plenty of live `h-card` implementations on [the IndieWeb Webring directory](https://🕸💍.ws/directory).
[w3c/coga Issue 69](https://github.com/w3c/coga/issues/69) also references overlap between "destination" vocabulary and `rel` values. Microformats leverage `rel` attributes like [`rel="license"`](https://microformats.org/wiki/rel-license) and [`rel="home"`](https://microformats.org/wiki/rel-home); these seem equivalent to the "terms" and "home" values for destination attributes.
I propose the addition of microformats2 to the comparison wiki page, and would support either merging the content module with microformats or specifying a mapping for fallback.
Syndicated to <a href="https://github.com/w3c/adapt/issues/221" class="u-syndication" rel="syndication">the GitHub w3c/adapt bug tracker</a>.