#dev 2020-09-05

2020-09-05 UTC
jonnybarnes and [Murray] joined the channel
#
[Murray]
!tell [LewisCowles] I've only ever needed the vanilla `window.matchMedia("(prefers-reduced-motion: reduce)")` if that would work for you?
#
Loqi
Ok, I'll tell them that when I see them next
geoffo, pschmehl, [chrisaldrich], jonnybarnes, gxt__, [chrisaldrich]1, nickodd and [tw2113] joined the channel
#
hirusi[m]
Uff. I give up. Why isn't this working?
#
hirusi[m]
Still getting a 500. I've borrowed the markup from https://www.jvt.me/mf2/2019/05/mqkcl/
#
Loqi
[Jamie Tanna] Unfortunately this clashes https://www.meetup.com/Nottingham-Cyber-Capital-One/events/260280774/ so I'll be attending that instead.
#
hirusi[m]
Success! It was the h-feed as pointed by sknebel yesterday
#
hirusi[m]
sknebel++
#
Loqi
sknebel has 16 karma in this channel over the last year (48 in all channels)
#
hirusi[m]
Is this supposed to also show up as a "Blog post"?
jonnybarnes, KartikPrabhu, dckc, moppy, [James_Gallaghe] and [LewisCowles] joined the channel
#
[LewisCowles]
Thanks. I think StackOverflow had that one. I'll try it and stop looking for some holy grail. like navigator.preferences (which likely won't ever exist). I was thinking for older machines, but likely the API's are not there. Maybe I need to flip it on it's head and scan for no preference using that. already went to the bother to make all the typeouts exist in html, which is removed and typed out.
#
[LewisCowles]
!tell Murray,
#
[LewisCowles]
`return window.matchMedia("(prefers-reduced-motion: no-preference)").matches` -> those who have not indicated they have a preference on motion.
#
[LewisCowles]
I've set myself the unenviable goal of trying to make this thing I'm putting out into the world, with an artist, who is supplying only video, audio and images as thoughtful as possible. Accessibility is hard for a video experience though.
KartikPrabhu and [Murray] joined the channel
#
[Murray]
LewisCowles: yep, if you want to support the widest array possible then that's exactly what I'd do. Flip the logic so that it defaults to no motion/limited motion on browsers that don't support the modern APIs, then enhance to use those to provide animation where you are happy the user has actual control. You could always provide a visible toggle on the page for older browsers as well, so that they can turn it on if wanted 🙂
#
[Murray]
FYI Sarah Drasner's writeup for Netlify's 1 Million Devs page has some useful ideas on accessibility with SVG animations (https://css-tricks.com/the-making-of-netlifys-million-devs-svg-animation-site/). Not sure if that's relevant to your needs but might have some tips
jonnybarnes, [Chaitanya], dhanesh95 and [LewisCowles] joined the channel
#
Loqi
Murray has 3 karma in this channel over the last year (5 in all channels)
dhanesh95_, jonnybarnes, [jgmac1106], dhanesh95, nickodd, [James_Gallaghe], KartikPrabhu and [chrisaldrich] joined the channel
#
[chrisaldrich]
hirusi[m] I think(?? someone correct me if I'm wrong) it shows up as a blogpost because you've got an h1 with a p-name so the post type discovery may think it has a title and is thus an article.
#
[chrisaldrich]
What is post type discovery?
#
Loqi
Post Type Discovery specifies an algorithm for consuming code to determine the type of a post by its content properties and their values rather than an explicit “post type” property, thus better matched to modern post creation UIs that allow combining text, media, etc in a variety of ways without burdening users with any notion of what kind of post they are creating https://indieweb.org/post-type-discovery
jonnybarnes joined the channel
#
hirusi[m]
What is a domain of one's own?
#
sknebel
What is DoOO?
#
Loqi
A Domain of One's Own (or DoOO) started as a project at University of Mary Washington that allows students, faculty, and staff to register their own domain name and associate it with a hosted web space, free of charge https://indieweb.org/DoOO
#
sknebel
hirusi[m]: ^^^
#
sknebel
for more ask [chrisaldrich] :D
KartikPrabhu, jonnybarnes, swentel, geoffo, [tantek], [fluffy] and [Rose] joined the channel; nickodd left the channel
#
GWG
Been working on redoing my presentation logic
#
GWG
In the new version, if there is a local photo, video, or audio file linked in e-content it won't try to display whatever is in photo, audio, or video
#
GWG
I then have to cover featured image logic vs photo property