#microformats 2022-03-06

2022-03-06 UTC
angelo, rektide and Seirdy joined the channel
#
Seirdy
many sites have small inline indieweb photos. some examples are the indieweb wiki, whalecoiner.com, and my own seirdy.one. I like these, but have a question wrt a11y: how do most people handle alt-text and aria for these indieweb photos?
#
Seirdy
"[John Doe] John Doe" seems repetitive. "[] John Doe" (i.e. empty alt) sounds more reasonable to me.
#
Seirdy
been pondering making them aria-hidden
#
Seirdy
(by indieweb photo i refer to u-photo)
cygnoir[d], Darius_Dunlap[d], Jeremiah[d], Murray[d], barryf[d], Seb[d], edburns[d], hans63us[d], wackycity[d], tracydurnell[d], Nezteb[d], daiyi[d], rattroupe[d], corenominal[d], aspenmayer[d], hoenir, marksuth[d], Eddy04[d], dovedozen[d], Christian_Olivie, johnnrs[d], indieweb-irc-bri, shaunix[d], capjamesg[d], ChengduLittleA, YimingWu[d], ur5us, sayanarijit[d] and barnaby joined the channel
#
barnaby
Seirdy afaik duplicating text like that in alt attributes is bad for accessibility anyway
#
barnaby
so leaving the alt text empty is the solution in this case
#
[schmarty]
I find this article useful for thinking about this kind of image/alt text situation: https://jakearchibald.com/2021/great-alt-text/
[jgmac1106], jarkad1, hans1, franklen[d], toby3d[d], balupton[d], angelo, Seb[d], Nan[d] and ur5us joined the channel
#
@nhoizey
Trying to improve IndieWebness of my photography site, I wonder about this `<data>` HTML tag used on the `h-geo` microformat: http://microformats.org/wiki/h-geo#FAQ https://nicolas-hoizey.com/notes/2022/03/06/1/
(twitter.com/_/status/1500582342296891392)
cygnoir[d] joined the channel
#
Seirdy
barnaby, [schmarty]: how about ARIA? should indieweb u-photos have a role of "presentation", or something else?
#
[schmarty]
The first rule of ARIA is don't use ARIA if you don't have to. A role of "presentation" will cause assistive technology to ignore the image, much like an empty alt attribute.
#
[schmarty]
The main takeaway of the article I linked is that profile images are not necessarily "redundant" with the name of the person. You should capture in alt text what the image conveys in context.
#
sknebel
given the context was the small inline photos on mentions etc - I'd err more towards "presentation only" for those than e.g. the one on your home page
ur5us joined the channel