2020-04-06 UTC
[tantek], [LewisCowles] and [KevinMarks] joined the channel
# 04:36 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
# 17:23 Loqi [Tantek Çelik] microformats2 parsing specification
# 17:25 GWG gRegorLove: What does a blank alt indicate as intent?
# 17:29 KartikPrabhu so it has no text equivalent which contributes to the text content of the page
# 17:30 GWG KartikPrabhu: So isn't that the same as having no alt property at all?
# 17:30 [tantek] it may be a presentational image, like a decorative icon
# 17:30 [tantek] or it may be something which already has inline text in the content
# 17:31 [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
# 17:31 KartikPrabhu so if you have an image with caption which already describes the image
# 17:31 [tantek] no alt attribute means the author neglected the markup
# 17:32 GWG So, I'll eliminate the...only parse out to an array if not empty code then
# 17:33 Loqi KartikPrabhu has 1 karma in this channel over the last year (7 in all channels)
# 17:53 GWG I wonder who would mark up a u- property with an empty alt.
# 18:03 KartikPrabhu in any case the empty alt or not should not depend on which mf2 property is being markedup
# 18:03 gRegorLove Feel free to copy that as the additional test case I mentioned, too. Actual markup is always great in tests.
# 18:03 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
# 18:21 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.
# 18:26 [tantek] Some screenreaders may still do that. I think I've heard it recently (like in the past few years)
# 18:27 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!
# 18:47 GWG I'm just happy to be contributing upstream
# 18:48 Loqi GWG has 1 karma in this channel over the last year (138 in all channels)
# 18:49 GWG Zegnat: I, like many of us, have a lot of projects
# 18:49 GWG Thought this would be a nice change
# 18:49 Loqi GWG has 2 karma in this channel over the last year (139 in all channels)
# 18:51 GWG I've been doing a lot of convert X to Microformats projects. And enjoy it.
# 18:51 Loqi GWG has 3 karma in this channel over the last year (140 in all channels)
# 18:57 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