Note archive: October 29th, 2019

Replying to a tweet from @briankardell

The spec is literally the reason why microformats2 didn’t end up using data-* attributes. It isn’t “advice” in the spec; it is the spec. It specifies how data-* attributes should and shouldn’t be used.

Replying to a tweet from @cameronmoll

Or in the case of Facebook legitimising Breitbart…

Persuade your team to put commitment above alignment and trust it’ll end up being the alt-right decision.

Ba-doom tish!

Replying to a tweet from @briankardell

What thread?

Replying to a tweet from @danbri

I would like to see it done without data-* attributes.

(But this isn’t about what I would like—it’s about implementing standards correctly.)

HTML isn’t short of existing extension mechanisms: microdata, class, etc.

Replying to a tweet from @ade_oshineye

…these attributes are not a generic extension mechanism for publicly-usable metadata.

https://html.spec.whatwg.org/multipage/dom.html#embedding-custom-non-visible-data-with-the-data-*-attributes

Wondering if I know anyone on the Google search team I can chat to about this abuse of data-* attributes:

https://developers.google.com/search/reference/robotsmetatag#data-nosnippet-attr

(this usage is explicitly forbidden in HTML).

Replying to a tweet from @johnholtripley

Indeed it would! Thanks for that!

Happy 50th birthday, internet née ARPANET!

LO

“Talked to SRI Host to Host”

— IMP log, 1969-10-29 22:30, Charles S. Kline, Boelter Hall, UCLA