#microformats 2020-04-06

2020-04-06 UTC
[tantek], [LewisCowles] and [KevinMarks] joined the channel
#
@adamclaxon
@CallMeWuz im curious about your thoughts on IndieWeb/microformats/micro.blog and the like
(twitter.com/_/status/1247017274525048837)
#
GWG
Tried my hand at a PHP-MF2 PR. Needs work
[Jeff_Hawkins], KartikPrabhu, [LewisCowles], [ColinMorris], [KevinMarks], [jgmac1106], [grantcodes], [Michael_Beckwi], [snarfed], [jeremycherfas], gRegorLove and [tantek] joined the channel
#
gRegorLove
Confirming my comment / reading of: http://microformats.org/wiki/microformats2-parsing#parse_an_img_element_for_src_and_alt If an empty alt is published, the parser should include that, correct? To distinguish between no alt attribute and an empty one.
#
Loqi
[Tantek Çelik] microformats2 parsing specification
#
GWG
gRegorLove: What does a blank alt indicate as intent?
#
KartikPrabhu
that it is a presentational image
#
KartikPrabhu
so it has no text equivalent which contributes to the text content of the page
#
[tantek]
the latter
#
GWG
KartikPrabhu: So isn't that the same as having no alt property at all?
#
GWG
[tantek]: The latter?
#
[tantek]
it may be a presentational image, like a decorative icon
#
[tantek]
or it may be something which already has inline text in the content
#
[tantek]
e.g. if you display someone's icon *and* name, you don't need to duplicate their name in the icon's alt text
#
KartikPrabhu
so if you have an image with caption which already describes the image
#
[tantek]
no alt attribute means the author neglected the markup
#
GWG
So, I'll eliminate the...only parse out to an array if not empty code then
#
GWG
Hmm...good to know
#
GWG
That's not something I realized
#
[tantek]
KartikPrabhu++
#
Loqi
KartikPrabhu has 1 karma in this channel over the last year (7 in all channels)
#
GWG
I wonder who would mark up a u- property with an empty alt.
#
KartikPrabhu
the example of icon and name that [tantek] mentioned above
#
gRegorLove
Me, my homepage h-card
#
KartikPrabhu
in any case the empty alt or not should not depend on which mf2 property is being markedup
#
GWG
I'll update my PR
#
gRegorLove
Feel free to copy that as the additional test case I mentioned, too. Actual markup is always great in tests.
#
GWG
I'd like to see if I can get this tonight, and hopefully merge soon.
ivc_, [Jeff_Hawkins], TroyDiscord[m], talbDiscord[m], hubaDiscord[m], HuurooDiscord[m] and thestevewayDisco joined the channel
#
Zegnat
Something that is not directly related, but if you are thinking about alt: it used to be that without an empty old screen readers would read the entire image URL. Kind of like how microformats2 puts in the whole img’s src in the plain text value when accessing textContent.
#
[tantek]
Some screenreaders may still do that. I think I've heard it recently (like in the past few years)
#
Zegnat
I haven’t done real accessibility work for a couple years now, so I was just hoping they no longer did that. But they might still do!
#
GWG
I'm just happy to be contributing upstream
#
Zegnat
GWG++ for picking up our slack!
#
Loqi
GWG has 1 karma in this channel over the last year (138 in all channels)
#
GWG
Zegnat: I'm on IRC, not Slack
#
Zegnat
Hahaha
#
Loqi
Zegnat: lol
#
GWG
Zegnat: I, like many of us, have a lot of projects
#
GWG
Thought this would be a nice change
#
Loqi
GWG has 2 karma in this channel over the last year (139 in all channels)
#
GWG
I've been doing a lot of convert X to Microformats projects. And enjoy it.
#
Loqi
GWG has 3 karma in this channel over the last year (140 in all channels)
#
GWG
I did Youtube to MF2, would have done Instagram if they didn't block scraping...dozens of podcast sites, JSON-LD to MF2, OGP to MF2...anything to get data when there were no microformats
[Aaron_Klemm], andysylvester, [jeremycherfas], mauz555, [snarfed], [Rose], Kaja and [KevinMarks] joined the channel