#dev 2025-05-14

2025-05-14 UTC
aaaash, [morganm] and DenMcH joined the channel
#
mandaris
Does anyone use `toast` for notices?
#
mandaris
I'm trying to make it accessible.
geoffo, barnaby, PsyLok and [Murray] joined the channel
#
[Murray]
@mandaris are you talking about a specific library/package, or the generic design pattern? If the latter, this post is a little dated but still gives a good overview of the relevant strategies: https://adrianroselli.com/2020/01/defining-toast-messages.html
#
[Murray]
it also does a pretty good job of outlining when toasts are appropriate versus problematic
#
[Murray]
Personally, I find the key things to keep in mind are: do not auto-dismiss the toast! Let people dismiss it themselves (at best, provide a setting for auto-dismiss, but do not do it by default). ARIA alert roles and live regions are typically necessary for assistive tech to handle the toast properly. And make sure the content is semantic, clearly labelled, and doesn't overlap any interactive elements
#
[Murray]
(that last one is the trickiest, imo, because toasts are often designed to pop up relative to the viewport, not the content, but with some clever design and robust dismiss options, it should be possible)
#
[Murray]
oh, and you'll have to manage focus, but I can't actually remember what best practice there is; gut would say make sure the toast focuses immediately when it appears, and then returns the user to where they were
#
[Murray]
I'm also aware that some of the new Popover APIs may be relevant here, but I haven't had much reason to play around with them yet, given that they're hard to use as a progressive enhancement and don't have wide browser support. Might still be worth looking into
GuestZero_, gRegorLove_, barnaby, CRISPR, [jeremycherfas], shoesNsocks, grufwub, JadedBlueEyes9, roxwize, roxwize_, [manton], duanin2, DenMcH and PsyLok joined the channel
#
mandaris
Thank you, Murray[d]
#
mandaris
Murry++
#
Loqi
Murry has 1 karma over the last year
ttybitnik joined the channel
#
Loqi
[Murray] has 3 karma in this channel over the last year (9 in all channels)
#
capjamesg
[Murray]++
barnaby, gRegorLove_, gRegorLove__, thegreekgeek, balintm, jonnybarnes and DenMcH joined the channel
#
[artlung]
what is a pingback?
#
Loqi
pingback is a legacy XML-RPC based protocol for web sites to notify other web sites when they've posted a link to them (respectively) https://indieweb.org/Pingback
#
capjamesg
I have submitted PRs to eight popular open source documentation themes proposing support for rel=edit.
#
capjamesg
[tantek] What is the best way to document rel=edit on the wiki? A redirect to the microformats page?
#
[artlung]
what is rel-edit ?
#
Loqi
It looks like we don't have a page for "rel-edit" yet. Would you like to create it? (Or just say "rel-edit is ____", a sentence describing the term)
barnaby joined the channel
#
[tantek]
capjamesg I think they serve different purposes
#
[tantek]
rel-edit on the microformats wiki should be primarily a specification
#
[tantek]
rel-edit on the indieweb wiki should be primarily why, how to, and IndieWeb use and examples of rel-edit
#
[tantek]
what is rel-author
#
Loqi
rel-author is a microformat for linking a page to a URL representing an author of that page, a brief (similar to OGP) way to indicate authorship https://indieweb.org/rel-author
#
[tantek]
^ that page kinda illustrates that differentiation between a rel- page on the indieweb wiki vs on the microformats wiki and how each serves a purpose / focus
#
capjamesg
I'll stub a page tomorrow!
#
capjamesg
Or rather later today, for the metaphorical clock just struck midnight.
#
[tantek]
still got a bit under an hour for UTC midnight 🙂
#
[tantek]
and sounds good