#dev 2024-01-24

2024-01-24 UTC
alephalpha0 and tPoltergeist joined the channel
#
[tantek]
[snarfed] more BF weirdness. mentioning fed.bridgy from my latest post via https://mention.tech/ seems to result in a red X (some form of rejection?) and not showing up on my BF dashboard
#
Loqi
[preview] [Tantek Çelik] @snarfed.org posted a great overview of thoughtful (and sometimes heated) discussions across blogs and the #fediverse about how freely should “public” posts & comments on the web flow across sites: “Moderate people, not code” (https://snarfe...
#
[tantek]
[KevinMarks] what does the red ❌ mean on https://mention.tech/ ?
#
[tantek]
BridgyFed as target seems to be causing the red X
#
[tantek]
[snarfed] also how do you handle mentions on your posts, since my post mentions your blog post but is not a reply
#
[tantek]
looks like your blog at least accepted my webmention but perhaps (ironically?) my mention is stuck in your moderation queue?
#
[tantek]
[snarfed] BridgyFed is broken both for the new post federation case, and for updating a prior post, both of which I did in the past 30ish min, sent several webmentions for, verified that yes their permalinks have links to http://fed.brid.gy inside, and see zero evidence of anything happening on https://fed.brid.gy/web/tantek.com
#
[tantek]
https://fed.brid.gy/web/tantek.com now shows it posted "a minute ago". Is it normal to expect a 45min+ lag from Webmention to federation?
#
[tantek]
and that's only for the new post. no sign of the updated post being refederated (or whatever is the right verb).
jacky joined the channel
#
jacky
might be interesting for multiple authors to a blog (or syncing micropub servers between one another) https://www.loro.dev/blog/loro-richtext
#
[tantek]
testing updating via BridgyFed again, that newest post, updated some punctuation and mentioned BridgyFed at 18:47 PST
#
[tantek]
let's see how long that takes to show up in the dashboard
#
[tantek]
just reloaded and it said 45s ago so that looks like it was almost immediate
#
[tantek]
I wonder what was broken with the previous update
#
[tantek]
18:49 sent a webmention for my IndieWebCamp Brighton post
#
[tantek]
(which I previously sent over an hour ago to no evidence of anything happening at BridgyFed)
#
[tantek]
and now I see a 26s ago updated post in the dashboard so that appears to be working again
#
[tantek]
I can only conclude something was "stuck" with BridgyFed's Webmention receiving or processing of received Webmentions
#
[tantek]
I didn't do anything differently. I literally just used mention.tech to send the webmentions an hour or so ago and then just now
#
[tantek]
so there must be something going on on the BridgyFed end
#
jacky
could be something up with mention.tech? w.r.t caching?
#
[tantek]
it was a brand new URL when I first published it almost two hours ago so there would not be any cache of that
#
[tantek]
mention.tech claimed to have sent the webmention ok, but see above about the strange red ❌
#
[KevinMarks]
I think red X means couldn't find the target in the page source
#
[tantek]
but it was there the whole time
#
[tantek]
here I'll try another update and see what happens
#
[tantek]
looks like it got a green check. very odd. no change to my markup. bridgyfed link has been there the whole time
#
[tantek]
post updated in my BF dashboard
#
[snarfed]
hey all, I see the troubleshooting here. was there a conclusion? do you want me to investigate anything on BF's end?
#
[snarfed]
the last few times we looked at this, BF hadn't received some or many of the wms in question. sounds like there was more confidence that they were sent here, but still, just want to confirm before I dive into anything
#
[snarfed]
(sounds like in the red X cases, mention.tech hadn't send a wm to BF, and when it later did, those triggered BF's federation ok)
#
[snarfed]
and re your post's wm showing up on my post, I'm not sure about a delay, but for the current rendering as a facepile, agreed that since it's a mention, ideally it should link to your post, not your homepage
#
[snarfed]
as opposed to eg likes and reposts, where the current homepage linking makes sense
#
[snarfed]
(cc GWG)
#
GWG
[snarfed]: I made a note of that idea.
#
[snarfed]
thanks!
#
[tantek]
[snarfed] it looks like something was busted in BridgyFed's side because the webmentions did get sent to all the other links in the post including your blog
#
[tantek]
Would be grateful if you could investigate. The time stamps in chat ought to be close enough to narrow it down
#
[tantek]
And to be clear it was "not working" for a while like at least 15min. This wasn't just a one time webmention sending it receiving failure
#
[tantek]
The "why did it take so long for your blog" to show the mention is a separate question
#
[tantek]
That one showed that it was received immediately without difficulty and never showed a red X or anything like it
#
[snarfed]
sure, I'll investigate
#
[snarfed]
fwiw though [KevinMarks] did say ^ "red X means couldn't find the target in the page source," not that it received an error response
#
[snarfed]
and yes I saw you say that the link was there 🤷
#
[tantek]
it doesn't make sense because the page source didn't change
#
[tantek]
at least the markup
#
[tantek]
I changed a bit of the content slightly when later sending update webmentions but that's it
#
[snarfed]
the very first time BF saw your post's URL was in a webmention from mention.tech at 5:55:50pm PT
#
[snarfed]
nothing before that
#
[tantek]
so then the question is why the 30 minute lag?
#
[tantek]
that seems like a sign something was messed up
#
[snarfed]
sounds like mention.tech incorrectly couldn't find the link in your source post
#
[tantek]
and then magically could?
#
[snarfed]
got me, that's a question for [KevinMarks] and your site
#
[snarfed]
the relative times on BF dashboards, eg "a minute ago" like you saw at 6:21p, are last updated times. they get updated as the post is delivered to new inboxes. BF only lightly parallelizes those deliveries, and for >300 like yours, and receiving servers often taking a while to respond, it can easily take 20+m total
#
[tantek]
it literally didn't show up in the dashboard before that
#
[snarfed]
apologies if the time in the UX implied that it was "first posted" as opposed to "latest updated," I can look at that
#
[snarfed]
right, since 5:55:50pm was the very first time BF ever saw it
#
[tantek]
yes the UX implies "first posted"
#
[tantek]
because it is adjacent to a summary of the action on my end: " Tantek Çelik updated @snarfed.org posted a great ov... "
#
[snarfed]
I understand
#
[tantek]
so it is implying that that is when that event happened, presumably when BridgyFed first received a webmention from my site
#
[tantek]
if you want to add another column next to the green checkbox + number and yellow ! + number that indicates the time delivery ranges, that would be different
#
[tantek]
that way we could also see how much lag there is between Bridgy receiving the Webmention and federating it out to at least the first server/follower
#
[tantek]
in the spirit of you optimize what you measure
#
[tantek]
or at least set expectations of what that lag is expected to be, so if it exceeds those expectations, we can report an ops problem
#
[snarfed]
I see that timing in logs and metrics very often. it depends on the number of inboxes to deliver to, but in large cases like yours, I think it's order of 30s or so
#
[snarfed]
I get that this was frustrating. I can definitely improve BF's dashboard UX. this is the third or fourth time that the root cause of your site not federating was webmentions not getting sent though, so in the future, maybe tone down the "Bridgy Fed is broken this way and that way" language?
#
[tantek]
for the first delivery?
#
[snarfed]
yeah, it has to do a bunch of discovery and preprocessing
#
[snarfed]
(discovery including a number of external HTTP requests)
#
[tantek]
it was not clear that was the case, it looked more like Bridgy's webmention endpoint was just not responding at all since every other link was being sent a webmention
#
[tantek]
the previous time was totally my fault and I acknowledged that immediately upon debugging it
#
[tantek]
if the red X really means I can't depend on mention.tech then yes I'll rewrite a bunch of webmention code myself
#
[snarfed]
yup, I understand how this time looked like BF's fault
#
[tantek]
and do my best to keep reasonably thorough logs or at least display full results of attempting discovery / sending webmentions
#
[tantek]
mention.tech doesn't really tell you what's going wrong
#
[snarfed]
hopefully there are low hanging fruit fixes or UX tweaks [KevinMarks] can make there before you decide to rebuild it yourself, but I'll let you all determine that
#
[tantek]
[KevinMarks] do you keep logs of when mention.tech displays a red X so you can look at the conditions that caused that? because "link not in source" is obviously false since it found it later
#
jacky
wm.tantek.com coming soon? :D
#
[0x3b0b]
I was pondering whether mention.tech might have somehow failed to fetch the entire source, but BF was one of the first relevant links in the source, not the last.
#
[tantek]
so either it had problems retrieving the source, or discovering the target endpoint, or form submitting to the target endpoint or ... ?
#
[tantek]
0x3b0b exactly, the bridgyfed link is before the content of the source (but still in the h-entry), which is totally fine since reply-contexts also work like that (in-reply-to links are BEFORE the content, but still inside the h-entry)
#
[tantek]
wow telegraph has broken link discovery. it's finding non-links (in title element maybe?) as links, and didn't see the http://fed.brid.gy link either. https://telegraph.p3k.io/dashboard/send?url=https%3A%2F%2Ftantek.com%2F2024%2F023%2Ft1%2Fshould-public-posts-flow-across-sites&account=993
#
jacky
that link might be only visible to you because I'm seeing a request to log in
#
[tantek]
the first URL on that dashboard is "https://snarfed.org/2024-01-21_moderate-people-not-code) If"
#
[tantek]
which is obviously wrong
#
[tantek]
jacky, I think any use of telegraph requires logging in
#
[tantek]
try signing in with IndieAuth and trying that URL
#
[tantek]
wow http://webmention.app fails to find the http://fed.brid.gy link, and also stops at 10 links so fails to find the links after "moderation" in the post glossary
#
[tantek]
ok so all these webmention tools are broken
jacky joined the channel
#
jacky
ah, I see it now
#
[tantek]
ok the https://webmention.app/check link explicitly says "Keep in mind that this test page only scans the 10 most recent `h-entry` elements on the target." however there is only ONE h-entry there, so that caveat should be meaningless
#
[tantek]
same problem with that page, only " 10 webmention supported links found. " and again, did not find http://fed.brid.gy which was *before* any of the links it found in the source
#
[tantek]
[KevinMarks] mention.tech specifically https://mention.tech/mentionall seems to only be looking for links inside the "content" property which is incorrect. it should be looking for links inside the h-entry in general, since there are plenty of use-cases for that e.g. in-reply-to URLs go outside the "content"
#
[tantek]
but still inside the h-entry
#
Loqi
[preview] Kevin Marks
#
[snarfed]
apart from the ops trouble, [tantek] thank you for the kind words and the response! it's been nice to see that people have been open to more nuance and thought and angles on the topic
jacky joined the channel
#
[snarfed]
looking forward to reading you expand on all the questions you posed
#
[tantek]
apologies for the frustrated expressions [snarfed], it's been a bad 72 hours of tech failures and I realize that's not your or BridgyFed's fault
#
[snarfed]
oof, esp if it's been three days straight. sorry. no worries!
#
[tantek]
honestly given the "I don't know if it worked or not" experience that I still feel happens too often, it would be great if the time column in the dashboard showed time of Webmention received to provide the fastest possible feedback that yes, *something* worked
#
[snarfed]
yup, understood, easy to do
#
[tantek]
and then I understand that doing all the discovery, going through instances to deliver etc. will take some indeterminate amount of time from seconds to a few minutes
#
[tantek]
at least BridgyFed already has that indicator of the counts of in-progress vs delivered (green check) vs some issue (yellow !) indicator so you have some idea how far it has gotten and how far it has to go
#
[tantek]
and yes on the subject matter of our posts, I feel there are A LOT more questions than answers at this point, and it's more important to keep asking these questions rather than trying to force an answer by reasoning from too little information (which it feels many perspectives are attempting to assert, and then fighting over their conclusions)
#
[0x3b0b]
I've got a tentative item in my posts-to-write list for sorting through my thoughts on some of those questions; not sure when or if, though. It's interesting to try to keep up with the conversation though.
#
[0x3b0b]
By the way, [snarfed] : I believe the docs make it clear #nobridge is already implemented; has been for a while, I think. Am I correct in thinking your ideas about preferred bridge detection and bridge deduping are still on the drawing board?
#
[snarfed]
0x3b0b yup, very much still on the drawing board, feedback is welcome, https://github.com/snarfed/bridgy-fed/issues/800
#
Loqi
[preview] [snarfed] #800 De-dupe across different bridges
#
[0x3b0b]
I may chime in on that later - I'm definitely interested in what you come up with. I'm actually more interested on a _personal_ level in another topic that I think I remember coming up before, which is what would happen if someone pointed BF at a website they wanted to follow...but that website was actually an AP profile.
#
[0x3b0b]
I'm also curious whether it's possible to check whether BF has a profile for a website yet without triggering it to make one if the answer is no.
IWSlackGateway1 joined the channel
#
[snarfed]
for the first q, BF only bridges top-level web sites (domains), not URLs with paths. some top level web sites are also AP profiles, eg the instance actors for Lemmy and Friendica, but otherwise it's rare
#
[snarfed]
for the second, you can try its BF user page manually, eg https://fed.brid.gy/web/[domain]
#
[0x3b0b]
I suppose I should have reflected on that being rare.
#
[snarfed]
sounds similar to https://github.com/snarfed/bridgy-fed/issues/348 . BF would have to detect that a web site is also an AP actor, either by fetching it with conneg, or by looking for a rel=alternate link with the AP content type
#
Loqi
[preview] [aaronpk] #348 Don't send webmentions to websites that support ActivityPub
ralismark joined the channel
#
[0x3b0b]
I may follow up on that sometime soon, too, for the microblogpub case. I've run into that before from the other side - I deliberately marked up a note as an Indieweb reply to one of Tantek's posts, in the spirit of elevating Indieweb domains above @-@ addresses, in addition to posting it as a reply to its BF-erated copy so that it would thread correctly in that context. So of course he got multiple webmentions.
#
[0x3b0b]
That's enough thinking about that for now, though; I should have gone to bed already
#
ralismark
hi, i'm wondering how bridgy backfeed works for github? specifically, can it send webmentions for issues that link to my posts?
#
ralismark
none of my comments on https://github.com/ralismark/ralismark.github.io-comments/issues/1 seem to get detected
#
Loqi
[preview] [ralismark] #1 index
#
[tantek]
ralismark, there's no original post permalink on that issue, so there's no way for Bridgy to detect what original post to backfeed to
ralismark joined the channel
#
ralismark
tantek, https://github.com/ralismark/ralismark.github.io-comments/issues/2 also gives me "No webmention targets"
#
[tantek]
right, because there's no link from the original with rel=syndication to the POSSE copy on GH
#
[tantek]
also the issue is merely a link, not a POSSE copy of that post, so it's not clear from a user-perspective that anything should work
#
ralismark
ahh that's unfortunate, i thought it would work more like the mastodon backfeed where you only need to link to the post
#
[tantek]
you might still be able to make it work with "only a link" but that wasn't the intent of the feature. your original post needs the rel=syndication link
#
[tantek]
er, sorry, u-syndication
#
[tantek]
what is u-syndication
#
Loqi
u-syndication is a way to discoverably link from your original posts to syndicated copies on other sites like social media silos https://indieweb.org/u-syndication
#
[tantek]
^ there you go
tPoltergeist, CRISPR and ralismark joined the channel
#
ralismark
yeah, alas BACKFEED_REQUIRES_SYNDICATION_LINK is true for github.py in bridgy so no way around u-syndication
Guest6, barnaby and [Murray] joined the channel
#
[campegg]
[snarfed] I don’t want to pile on the BF support train, but was wondering if you had a chance to take a look at what was going on with my follows, etc? (https://fed.brid.gy/web/campegg.com) I’m pretty sure it’s something I’ve done, but don’t know how to remediate. There really is no rush; I appreciate the time and effort you put into BF!
sebbu2, tPoltergeist, barnaby and shoesNsocks joined the channel
#
[snarfed]
ralismark [tantek] yeah GitHub backfeed in Bridgy is unusual in that synd links are required, not optional. https://brid.gy/about#GitHub%20responses%20require
#
[snarfed]
we didn't start out like that, but we saw quickly that people link to posts much more often on GitHub in non-POSSEd issues, and backfeeding those issues' comments confused people, so we special cased GH to require synd links
#
[snarfed]
sorry for the trouble!
geoffo joined the channel
#
[snarfed]
[campegg] thanks for the kind words! it looks like you tried to follow my web site http://snarfed.org? BF only handles cross-network follows. it figures you'd just use a normal reader to follow a web site, you wouldn't need BF at all
tPoltergeist joined the channel
#
[campegg]
[snarfed] Hmmm…. I thought I was trying to follow @snarfed.org@snarfed.org; let me try again
#
[campegg]
I tried putting @snarfed.org@snarfed.org into the form and got "@snarfed.org@snarfed.org isn't a native fediverse account"
#
[campegg]
I can follow myself on Mastodon (but it does have a little exclamation mark that says "failed delivery)
#
[snarfed]
ah, yes, since that's a bridged account
#
[snarfed]
BF is saying you should follow my web site directly, but it's not a very helpful message. I'll improve it!
#
[campegg]
Right, got it. Thanks! Secondary issue is that posts to my site don't seems to be federating, and I'm not able to follow @cam@campegg.com… I (think I) followed the 'getting started' instructions, but nothing seems to be showing up
#
[snarfed]
I'll look at the your failed mastodon follow
#
[campegg]
Thank you!
saveme joined the channel
#
saveme
I was wondering where people host their videos and photos for their webpage? I want a dead-easy solution, but always overengineer it. (Currently syncing a local folder with vids to an s3 bucket and then using the api to get the links and loop through them in a gallery)
#
aaronpk
mine are just stored alongside each post like everything else
#
aaronpk
i only have a couple long-form videos, those are chopped up HLS files next to the post too
#
saveme
oh, nice, was also thinking about that, but I have a few (25) videos i don't feel that github would be keen on having a 1gb+ folder
#
saveme
or am I overthinking and this is an acceptable size
#
[tantek]
aaronpk, except for all your YouTube videos though right?
#
aaronpk
those aren't on my site
#
sknebel
saveme: Github pages? I think they have a limit at a few hundred MB or so overall
#
aaronpk
i have the activitypub conference talk on my site tho, and all the HLS segments are saved in the git repo of my site storage https://aaronparecki.com/2020/09/22/25/activitypub-oauth-2-1
#
[tantek]
Right. My point is that video storage is hard enough of an indieweb problem to push a primarily video publishing effort from IndieWeb to YouTube-only, even just for the storage aspect (since you'd still get YouTube engagement if you POSSEd)
#
aaronpk
eh, those are youtube-only because of youtube discovery/engagement, not because of storage
#
[tantek]
Nah you'd still get that with POSSE
#
aaronpk
no, because there would be a subset of people who would watch them on my site, which would undercut the views on youtube
#
[tantek]
silo-only for discovery/engagement is a false equivalency
#
[tantek]
Wait really? You think that would make a significant dent in your YouTube numbers? Or has it?
#
aaronpk
it would, because views from "regular viewers" mean a lot more to the youtube algorithm especially in the first few hours of publishing a video. so if my most dedicated viewers were watching on my site, it would hurt the performance overall
#
[tantek]
I did notice that you did post your hardware videos on your own site for a while at /videos
#
aaronpk
i actually had it set up to PESOS the video descriptions to /videos but it embedded the youtube player on the page. I stopped doing that last year tho because I decided to move it all to a different domain entirely
#
[tantek]
Interesting. You could embargo / make private your videos for the first few hours on your personal site if that was the effect you wanted
#
aaronpk
well now i have a completely separate domain for this content, and i'm trying out some new things there https://aaronpk.tv/videos/
#
aaronpk
some of those in the list link to a blog post version of the video with the youtube video embedded at the bottom, like https://aaronpk.tv/videos/2023/11/yolobox-mini-in-2023-FLJ_h6d7HIg
#
[tantek]
Fascinating. Must be worth it to pay for the .tv domain!
#
[tantek]
Also the iOS icons at the bottom are cute
#
aaronpk
i don't think the .tv is particularly expensive, it's like $30 compared to $12 or whatever for .com
#
[tantek]
Oh I thought they jacked it up to $75 a while ago
#
aaronpk
i hope not 😬
#
[tantek]
Also that USB A+C+lightning SD card reader :exploding_head:
#
aaronpk
it's so good haha
#
[tantek]
I have a feeling watching your videos would become an expensive habit 😂 💸
#
aaronpk
yes, i do not recommend it
#
[tantek]
😂 😂 😂
#
[tantek]
What is .tv
#
Loqi
It looks like we don't have a page for ".tv" yet. Would you like to create it? (Or just say ".tv is ____", a sentence describing the term)
lazcorp joined the channel
#
[tantek]
Somehow we didn't have a .tv entry on /ccTLD and now we do with an IndieWeb example!
btrem and [Joe_Crawford] joined the channel
#
btrem
Moving from #indieweb per request, I'm trying to find some up-to-date resources for SVG and accessibility. What I've found so far is hopelessly out of date.
#
btrem
Apparently, aria-label can only be used on interactive elements. https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-label
yewscion joined the channel
#
btrem
My specific problem: how do I label a bar in a bar chart with the percent it represents?
[KevinMarks] joined the channel
#
[tantek]
Oooh I like that specific problem!
#
[tantek]
I suppose I would flip it around. Start with a marked up list of percents and text labels and then style that into a bar chart visually with CSS
#
[tantek]
text first design and all
#
[tantek]
Which also is effectively accessible content first design
#
barnaby
that’s pretty much what we do at work IIRC. either way, IMO the goal is not so much “how do I label this specific bar to make it accessible” but rather (assuming you’re targeting screenreaders) “how would this entire chart be best presented via a screen reader”
#
btrem
Well, the text is there, but the amount, not the percent. So each bar has a number, 9, or 3, or whatever. And the bar shows what percent of the whole it is. Working (more or less) version: https://btrem.com/feed/wordle
#
btrem
And the question is, *where* do I put the percent? What element should it be in? Another text element? And then how do I accessibly label it? There's no alt attribute for <svg/>, much less for a <rect/> inside an <svg/>.
#
btrem
And aria-label is apparently out.
#
btrem
And also, my frustration is growing. :-D
#
btrem
Hence my mini rant on #indieweb re: aria.
#
btrem
I suppose I could see if my screen reader-only styles could hide a <text/> element. $deity! what a hack.
#
[tantek]
part of the frustration I think is the impedance mismatch with using SVG for stylistic effects
#
btrem
impedance mismatch?
#
[tantek]
SVG should have worked more like CSS frankly, where you could apply it to content that it is in HTML
#
[tantek]
instead of being forced to put content *into* SVG. that was always a design flaw
#
[tantek]
"impedance mismatch" is a metaphor from electrical engineering: https://en.wikipedia.org/wiki/Impedance_matching
#
btrem
So you think <text/> was an unwise addition to svg?
#
[tantek]
I think doing so was leading down a deadend path
shoesNsocks and e-snail joined the channel
#
[tantek]
In the old days of SVG (20y ago), one of the "visions" for SVG was to replace HTML, which was both ill-conceived and arrogant. that's how we ended up with things like that
#
[tantek]
it was the same time that others were trying to use XML to replace HTML, or XHTML2 to replace HTML
#
btrem
I do remember those wars. Oh, the discussions on comp.web.authoring.html we had. :)
#
btrem
Perhaps you're right, the problem is inherent to svg. But I think part of the problem is aria, which also feels like an attempt to replace what we have with something brand new and shiny. Something to fix all the problems of the old system. Cue xkcd standards.
#
[tantek]
!xkcd 927
#
[tantek]
!standards
#
btrem
Whoa, didn't know you could do that.
#
[tantek]
it's a one-off I think
#
[tantek]
I don't think it works for arbitrary xkcd
#
btrem
Oh. Still, cool.
#
btrem
Funny -- considering the conversation from a couple of days ago -- that the message to post the image is very markdown-ish.
#
Loqi
Funny has -1 karma over the last year
#
[tantek]
searchengines-- for finding blog posts from 2004
#
Loqi
searchengines has -1 karma over the last year
#
btrem
oh, didn't mean to do that. Oops.
#
btrem
I guess there's no way to use a double hyphen in #indieweb*.
#
btrem
Funny++
#
[tantek]
not at the beginning after a word no
#
[tantek]
em-hyphen is your friend
#
btrem
Hmm. And I can't undo it. That's wrong, taking karma away from Funny.
#
btrem
Well, re: svg, my goal is to see if I can replicate the New York Times' wordle stats page visually, but improve the accessibility. I've gotten part way there, just using posh instead of the div soup the NYT uses. So maybe I'll just need to learn to live with how it is now.
#
[Murray]
@btrem I can see that MDN is being a bit strict around the way they're referencing aria-label, but it should largely work. I think the more "correct" way to do this is using aria-describedby and the `<desc>` SVG element. Adrian Roselli has some thoughts here: https://adrianroselli.com/2022/04/accessible-description-exposure.html
#
[Murray]
(*) that should say the `<desc>` or `<title>` (I think Adrian links to some thoughts around that)
#
[tantek]
Funny++
#
Loqi
Funny has 0 karma over the last year
#
btrem
I don't know what is different between your Funny karma text and mine, but at least it was fixed! :)
#
aaronpk
rate limiting :)
#
btrem
[Murray]++ thanks for the links. I'm reading them now.
#
Loqi
[Murray] has 2 karma in this channel over the last year (6 in all channels)
#
btrem
aaronpk :-D
#
btrem
re: alistapart I read that years ago. I have mixed feelings about the whole sordid affair, but I'd rather not get bogged down in arguments. I'm not strongly one way or the other, just skeptical of some of the author's assumptions (which were quite common at the time, iirc).
#
[Murray]
@btrem: if you're aiming for accessibility, one thing to consider is that your current implementation breaks a "golden rule": the accessible content is different to what I can see. Unless I'm missing something, the data visualisation only shows me what number of games were won on each successive number of turns. But the accessible label gives me a percentage. That feels confusing. If the visual label is "8", then the accessible label should
#
[Murray]
also just be "8".
#
btrem
but kudos for this clever remark re: xhtml 2: "It would be inaccurate to say that it was going nowhere fast. It was going nowhere very, very slowly." :-D
#
[Murray]
(though personally, I find the percentage quite useful, and would suggest including both 😄)
#
[tantek]
[Murray]++ indeed, and this is why I recommended the methodology of plain text / accessible content first design/authoring
#
Loqi
[Murray] has 3 karma in this channel over the last year (7 in all channels)
#
btrem
The visual label for the *bar* is the percentage. The adjacent text has the number. Maybe I'm thinking about this wrong, but bar charts usually don't show the percentage. That's what the bars are for. But they often include the number.
#
btrem
Ideally, I'd like for the number and bar to represent the data. But to have the percent and number for those with sight disabilities of some kind.
yewscion joined the channel
#
[Murray]
The confusion is that I wouldn't be able to look at that bar and infer 44%. All I can infer is that 8 is larger than the other numbers, and that this is the most common turn to win on as a result.
#
btrem
And it seems like labeling the bar with the percentage is both intuitive and the right thing to do.
#
[Murray]
You're right though, the "8" is in the ADOM already, so I'd say you don't need additional labels here
#
btrem
Sorry, my message crossed with yours.
#
[Murray]
No worries 😄
#
btrem
I did notice that the percentages were not entirely obvious. It's not clear that it all equals 100%.
#
btrem
So you'd just skip the percentage labeling altogether?
#
[Murray]
The problem with adding an invisible additional label is that the ADOM now results in this: "3, 44%, 8". That doesn't mean anything. The visual inference you're really making here is "8 games were won on the 3rd turn". So perhaps that would be a closer accessible label to the visual. But personally, I wouldn't even do that. Visual labels should match accessible labels 1:1, as many sighted users still use assistive technology, and a mismatch
#
[Murray]
between those two can be confusing
#
btrem
Yeah, I wasn't sure how it would work to have both the number and the percentage on the bar. I thought it might look cluttered and be a bit confusing.
#
btrem
For everyone, that is.
#
[Murray]
E.g. if I were browsing that chart with a screen reader, as someone who is (largely) sighted, I would get to the 44% and think I'd been jumped somewhere else on the page. It isn't immediately obvious where I am any more
#
btrem
That's good feedback. [Murray]++
#
[Murray]
Personally, I'd find knowing the percentage kind of interesting, and it wouldn't feel that cluttered, but that's a design choice. Right now, 44% is not something that I can infer from the design as a sighted person either, so if you want that information to be surfaced, I'd suggest a visible label of some kind
#
btrem
[Murray]++
#
btrem
Nope, my karma is not working today. ??
#
btrem
Well, thanks in any case.
#
[Murray]
One other way of handling this is a toggle or other interactive event. You could hover the bars to reveal an extra percentage label (possibly to the right of the bars, to avoid cluttering the interface on smaller ones). Or you could have a switch-like toggle somewhere to flip between "number of turns" and "percentage of turns". At least, that's the kind of suggestion I'd raise at work 😄
#
[Murray]
And no worries, happy it was useful. Really enjoying how this project is evolving, it looks really cool 👍
#
btrem
I have to decide on which is more important, replicating the NYT site, or adding the additional info.
#
btrem
I'd prefer the latter.
#
[Murray]
It's your site, that's the beauty of it, you can improve on the original 😉
#
btrem
But I sort of like the idea of "here's a pretty close copy of this other site, but better."
#
btrem
The toggle is a neat idea.
#
btrem
Left filed analogy, but back in the day, there was a form to email script in Matt's script archive that was notoriously buggy, especially regarding security. And a group called London Perl Mongers (I think that was the name) created a drop-in replacement. There were a few additional features, but they mostly constrained the project to drop-in replacement. This does what Matt's does, but avoids the bugs.
#
btrem
So I sometimes like to take that philosophy. Here, with the NYT wordle page. I did a similar thing with Open Table's awful restaurant widget. I was working for a restaurant, and also did their website, and wound up designing a far more accessible widget. And my goal was to make it look exactly like theirs, but with real html elements.
yewscion joined the channel
#
btrem
Shame I didn't know about github when I did that. Might have been a fun project to make public.
#
[KevinMarks]
The other answer for video and audio hosting is Internet Archive, as long as you give it a creative commons licence
e-snail joined the channel
#
btrem
Also, if I'm going to make wordle more accessible, the biggest hurdle is the tiles, which are emojis and therefore explain nothing. That's something I definitely want to tackle. Probably turn them into svg icons with a <title> something like, "letter not in word|letter in word but in wrong place|letter in right place".
e-snail, tPoltergeist and omz13 joined the channel
#
[tantek]
accessible wordle would be cool yes
#
[tantek]
emojis can be made accessible with <abbr>
#
[Murray]
Sort of, though `<abbr>` support is patchy at best, so I'd say there are possibly better options 😅 https://adrianroselli.com/2024/01/using-abbr-element-with-title-attribute.html
yewscion and bret joined the channel
#
btrem
Wow, I just had a serious brain malfunction. I was about to ask where I could find the emojis used for wordle results because I want to know the hex colors. And it would have to be on the web so I could use Firefox eyedropper. And I searched the web and came up empty. And, just as I was tying the question here, I realized: oh, right. On *my* site. Where I'm now posting wordle results, including the tile grids. :-/
[pfefferle] joined the channel
#
btrem
But I still have a question: in some windows, e.g., VS Code editor, the wordle tiles have a white swish in the upper left corner, almost like a shadow. On others, e.g, Firefox, they don't. Any idea why? Or how I could see a version with the swish in a context where I could try to replicate it in svg?
#
[KevinMarks]
What you see for an emoji will depend on your OS. Emojipedia have references https://emojipedia.org/large-green-square#designs
#
[KevinMarks]
You can also get SVG versions from Twitter and Google
#
[KevinMarks]
They're linked from those pages
#
btrem
Thanks!
#
btrem
[KevinMarks]++
#
Loqi
[KevinMarks] has 16 karma in this channel over the last year (31 in all channels)
#
btrem
Ah, so probably doesn't make sense to worry about the swish, since different users will see different things no matter what I do. Like I see it differently in Firefox vs. VS Code on the same OS (Ubuntu).
#
[KevinMarks]
Likely they're using different emoji fonts. You can pick one you like the look of for consistency, though with squares it's a bit moot. I had this problem with stuff for BBC as I was using emoji in ui, but some of them were running very old windows versions where the emoji were black and white.
gRegor joined the channel
#
gRegor
There's also the fun thing where MS has decided not to support flag emojis in Windows apparently
tPoltergeist and gRegorLove_ joined the channel
#
btrem
Well, I'm not entirely sold on emojis. Using them in my own-my-wordle project has made me a bit skeptical. (Though, to be fair, some of the problems appears to be the result of javascript text-encoding ignorance. Maybe.)
#
[tantek]
[Murray]++ thanks for that link, that was the sort of abbr[title] empirical information I was looking for. appreciated it. it always did feel imperfect to me so nice to see something to cite to explain the issues.
#
Loqi
[Murray] has 4 karma in this channel over the last year (8 in all channels)
#
[tantek]
that being said, I stand by my original assertion that for common symbolic (rather than in-prose) use of emojis in particular, it is quite possible to use the <abbr> element ... with an explicit 'aria-label' attribute of what you want a screen reader to say, semantically, instead of the often very verbose description of the emoji.
#
[tantek]
e.g. in the context of the Wordle example above: <abbr aria-label="letter in right place">:large_green_square:</abbr>
#
[Murray]
Agree an the aria-label, and `<abbr>` likely won't hurt, but `<span>` would be as useful. Personal preference at that point I reckon 😄
#
[tantek]
there is no harm AFAIK in *also* putting that text on the title attribute, and that way someone using a device with a pointer could also hover over the element in case they were confused, or if they had trouble seeing the difference between say the yellow and green squares in a low lighting context. e.g. <abbr aria-label="letter in right place" title="letter in right place">:large_green_square:</abbr>
#
[tantek]
span would give the same effect, however abbr feels like it is somewhat better communicating the semantic that yes, this green square emoji means more than just "green square", it is a shorthand for "letter in the right place"
#
[Murray]
hmm, I'd want to test that in a few popular combos just to check it didn't result in duplication in places. If `title` is completely ignore than yes, that makes sense to me too
#
[tantek]
and abbr is the closest element we have to convey the semantic of "x" is a shorthand for "y"
#
[Murray]
yeah, agreed
#
[tantek]
another use-case for this is the use of emojis for list item markers, where you can use <abbr> to similar express what the emoji marker in the context of the list item means
#
[tantek]
if it does mean something beyond being a decorative marker
#
[tantek]
in my recent post using emojis for list item markers, I realize I actually mixed those two. two of the list items use emojis purely decoratively (no semantic would be lost if replaced with •), and two of the emojis represent a label of a sort for the list item: https://tantek.com/2024/022/t1/indiewebcamp-brighton-planned
#
[tantek]
decorative example: 🎟 Tickets available 2024-02-01!
#
[tantek]
semantic example which could benefit from being marked up with a similar abbr: 🗓 2024-03-09…10
#
[tantek]
e.g. <abbr title="Dates:" aria-label="Dates:">🗓</abbr> 2024-03-09…10
#
[tantek]
which I should also markup with <time>
#
sknebel
(emoji have also a bunch of fun failure cases, e.g. text-styled fallbacks without color, design differences, .. (e.g. there's the colored book emoji, which on some OSes have numbers on the label and on others not...))
#
[tantek]
<abbr title="Dates:" aria-label="Dates:">🗓</abbr> <time>2024-03-09</time>…<time datetime="2024-03-10">10</time>
#
[tantek]
similarly this could be marked up better: 🏢 The Skiff, Brighton, England
#
sknebel
(ah right, was Apple where they have numbers: https://emojipedia.org/blue-book#designs )
#
[tantek]
<abbr title="Venue:" aria-label="Venue:">🏢</abbr> <span class="h-card"><span class="org p-name">The Skiff</span>, <span class="p-locality">Brighton</span>, <span class="p-country-name">England</span></span>
wagle, lazcorp and geoffo joined the channel
#
btrem
It's not the definition of abbreviation that a layperson would use. A green tile is not the same as dept. or vs.
#
btrem
So I wouldn't have thought to use <abbr> for the green tile.
#
btrem
I'm strongly leaning towards svgs, because of the problems I've encountered with multibyte emojis.
#
btrem
Even though it will increase the page weight a bit.
geoffo joined the channel