stefan,
@stefan@stefanbohacek.online avatar

Hm. I wonder if I can get any fediverse admins onboard to disable all images on their instance on the World Sight Day in October, so that only alt text shows up.

https://en.wikipedia.org/wiki/World_Sight_Day

stefan,
@stefan@stefanbohacek.online avatar

Huge thanks to everyone sharing this!

I wrote up a proposal on my blog: https://stefanbohacek.com/blog/fediverse-world-sight-day-global-accessibility-awareness-day/

stefan,
@stefan@stefanbohacek.online avatar

Nice to see this idea getting shared, and people responding positively, thank you all!

I'd love to hear from #FediAdmins #MastoAdmins on what the best way to achieve this is, for various platforms.

Even if you don't want to participate, I'd like to write up a blog post for those who are interested.

#devops #nginx

ErikUden,
@ErikUden@mastodon.de avatar

@stefan yes! How can one do this?

stefan,
@stefan@stefanbohacek.online avatar

@ErikUden Great, thank you!

Still looking into this. @luca had a great suggestion to modify the nginx config file, but I'm having trouble getting this to work.

I modified /etc/nginx/nginx.conf and added the following block inside the http directive:

https://gist.github.com/stefanbohacek/ca85adc8a22311094c9f219e3b899583

Still able to see images. Any ideas?

ErikUden,
@ErikUden@mastodon.de avatar

@stefan @luca we had an error this morning that caused just that!

I don't exactly know how it was caused, but it worked on every platform, both the app and website.

I think we activated a stateless firewall in Hetzner. However, this messed something with the media cache or packets sent as foreign media. It's very hard to discern.

I hope this helps in finding the solution to your noble cause!

A screenshot of a post with alt text.

stefan,
@stefan@stefanbohacek.online avatar

@ErikUden @luca Hah, funny. I just have to find a way to break a bunch of fediverse servers.

Either way, thank you!

luca,
@luca@social.luca.run avatar

@stefan @ErikUden I used your code slightly modified because it didn't work and I figured it could have to to with priority: location ^~ /system/media_attachments/ {
return 503*;*}. But it's probably a server caching issue because older images aren't displayed.

stefan,
@stefan@stefanbohacek.online avatar

@luca @ErikUden Ah, still no luck. But at least I know I'm on the right path, I'll keep poking around. Thank you!

stefan,
@stefan@stefanbohacek.online avatar

One idea shared here is to make the attachments directory write-only, pretty clever!

Would this break anything?

https://s.basspistol.org/notes/9rzbaesci1

chris,
@chris@mstdn.chrisalemany.ca avatar

@stefan count me in too. I'm interested to see what you come up with on a technical implementation level. Write-only access would at least be a simple switch.

stefan,
@stefan@stefanbohacek.online avatar

@chris Thank you, and thank you for sharing this!

I'll be setting up a new Mastodon instance to try out a few things, thank you for the suggestion!

luca,
@luca@social.luca.run avatar

@stefan 503 response in nginx.conf for /media_attachment/ ? Maybe even with the datetime when images will be delivered again.

Prevents error logs from being written with "can't access" messages.

stefan,
@stefan@stefanbohacek.online avatar

@luca That makes a lot of sense, thank you!

stefan,
@stefan@stefanbohacek.online avatar

I think I figured out the folder permissions to pull this off?

Not much luck with the nginx config though, would really appreciate some help.

https://gist.github.com/stefanbohacek/ca85adc8a22311094c9f219e3b899583

stefan,
@stefan@stefanbohacek.online avatar

And of course, if you run a , , , or any other server, I'd love to hear how you'd go about this.

imalcolm,
@imalcolm@mastodon.social avatar

@stefan

As a semi-obsessive alt text-er, I endorse this message.

(Partly cos it's part of my current day job anyway, and partly as my mother is now legally blind and I understand the real-world ramifications of online accessibility more directly.)

stefan,
@stefan@stefanbohacek.online avatar

@imalcolm I'm glad your mom has someone like you in her life. Wishing you both all the best!

setto,

@stefan
2nd Thursday of October is 10th of October in 2024. I took note! During that day i will remove read permission for attachements.

stefan,
@stefan@stefanbohacek.online avatar

@setto Nice, thank you for taking part in this!

3wordchant,
@3wordchant@social.coop avatar

@stefan any advice for servers (like social.coop) using S3 storage for uploaded media? Do you know if there's a way to get the same write-only functionality?

stefan,
@stefan@stefanbohacek.online avatar

@3wordchant Great question!

One advice I received on that was to set S3_ALIAS_HOST to any random text, see https://stefanbohacek.com/blog/fediverse-world-sight-day-global-accessibility-awareness-day/#participate-mastodon

I'd imagine this should work as the URL won't be valid, but haven't really tested it myself.

3wordchant,
@3wordchant@social.coop avatar

@stefan ah thanks, one of the other social.coop co-admins just found that. Do you know if that would have the same behaviour where uploads would keep working?

stefan,
@stefan@stefanbohacek.online avatar

@3wordchant Really can't confirm, sorry, I don't have S3 set up on my server.

Maybe some can help test this?

shadow,
@shadow@everythingbagel.social avatar

@stefan So I was playing around with nginx.conf this morning but no luck, errors here and there. (Tried various locations inside http directive)

You have already provided folder permissions and S3_ALIAS_HOST option for Mastodon which isn't exactly feasible but doable. I host multiple fediverse platforms on a server so I'm not sure how to achieve this on server level properly.

We have until October so hopefully someone with coding knowledge can chip in by then.

Maybe @kkarhan may have an idea?

stefan,
@stefan@stefanbohacek.online avatar

@shadow @kkarhan Thank you, really appreciate you looking into this!

der_istvan,
@der_istvan@chaos.social avatar

@stefan I would support that!

stefan,
@stefan@stefanbohacek.online avatar

@der_istvan Right on!

shadow,
@shadow@everythingbagel.social avatar

@stefan Thankful I was able to bookmark this yesterday so I can get back to it 😅

So I made a simple HTML today for awareness or blackout events (lost the file and the codes used for Reddit blackout)

https://everythingbagel.me/blackout-demo.html

I'm sure any admins with some coding knowledge can do it. Problem was, I didn't like modifying files or permissions, so I opted for nginx.conf one-liner, include /etc/nginx/sites-available/blackout.conf; and uncomment the other, created another nginx with wildcard domain.

shadow,
@shadow@everythingbagel.social avatar

@stefan As for alt-text no images day, I'm sure it can be achieved via nginx, I'll look into it as someone already posted w github link here, which serves a different purpose by just disabling images with read permission and still have website running online.

stefan,
@stefan@stefanbohacek.online avatar

@shadow Thank you, really appreciate it!

LaurenCeleste,

@stefan I'd do it

stefan,
@stefan@stefanbohacek.online avatar

@LaurenCeleste Nice, thank you!

I'm working on a blog post, or a dedicate page, with more details on how this would be achieved on a technical level.

LaurenCeleste,

@stefan Be sure to let me know when it's completed and I'll share it on all my mastodon accounts

stefan,
@stefan@stefanbohacek.online avatar

@LaurenCeleste Will do, thank you!

Crazypedia,
@Crazypedia@pagan.plus avatar

@stefan I think I can get pagan.plus involved 👍

stefan,
@stefan@stefanbohacek.online avatar

@Crazypedia That would be awesome!

NaturaArtisMagistra,
@NaturaArtisMagistra@mastodon.world avatar

@stefan

Hmmmm do the same thing for the deaf. No text only captions

stefan,
@stefan@stefanbohacek.online avatar

@NaturaArtisMagistra Not actually too sure how that would work.

HistoPol,
@HistoPol@mastodon.social avatar

@stefan

We fully support this idea for on Oct. 10, 2024, Stefan, though we're not admins:

https://mastodon.social/@HistoPol/111896775669087073

My friend Mina
@mina came up with this similar idea some time ago, and we plan to promote it regularly until October.
Doing it through the admins would be much more effective.👍😁

Also:
We should contact journalists and NPO's around the globe about this action.
It would be a powerful symbol and the right kind of PR for the .

@Gargron @tchambers

stefan,
@stefan@stefanbohacek.online avatar

@HistoPol @mina @Gargron @tchambers Great minds!

I'm thinking about putting together a guide on how to best achieve this on a server level, need to do some research.

HistoPol,
@HistoPol@mastodon.social avatar

@stefan

(1/2)
Excellent. 🤗
We could emulate what the initiated with or in 2007.* People jointly turn off the lights.

When many people(s) join in a visible action, it can become a beacon of hope.
Due to the fact, that impacts only a fraction of the population and, as @hspmauli, pointed out today, voluntary "temperance/abstinence is always the problem,"..

https://www.wwf.org.pe/en/our_work/campaigns/earth_hour/

@mina @Gargron @tchambers

HistoPol,
@HistoPol@mastodon.social avatar

@stefan @hspmauli @mina @Gargron @tchambers

(2/2)

...I really ❤️ your idea to make it "automatic" for people, aka users.

This way, we "only" need to convince a "couple of thousands" instance , instead of 15 million .
Brilliant 👏
Once we have a critical mass, we should involve the press.
This is a good thing on several fronts. 👍

//

stefan,
@stefan@stefanbohacek.online avatar

@HistoPol @hspmauli @mina @Gargron @tchambers Thank you!

Yeah, I like your idea too, it's interesting to consider two approaches, one where people do this voluntarily to raise awareness, and one where everyone is sort of forced to get a small taste of the experience.

I still have to do a lot of research on this, but there will definitely be cases where an instance can't or is not interested in participating, so a combination of these ideas would work really well.

HistoPol,
@HistoPol@mastodon.social avatar

@stefan
Just to be clear:
Due to the 's decentralized structure, I would never expect every instance to participate (and let's not forget about the deferated instances either.)
However, if a critical mass of, say, Mastodon.social + a majority of the instances took part, this could constitute a "critical mass" and capture the interest of the press (aka free marcom for the Fediverse and a promotion of awareness for the plights of the vision-impaired)
@hspmauli @mina @Gargron @tchambers

Tealk,
@Tealk@rollenspiel.social avatar

@stefan what is the technical solution for this?

stefan, (edited )
@stefan@stefanbohacek.online avatar

@Tealk Great question, and something I am going to be looking into!

One suggestion I saw was to make the upload folder write-only. Pretty clever, as this would ensure people can still upload the images, and have them display the following day.

Tealk,
@Tealk@rollenspiel.social avatar

@stefan That's not clever, because then no pictures are uploaded but only an error is displayed. if so, then the delivery should be prevented, not the upload, because the pictures should be displayed after the event.
I think preventing the upload is too much of an intrusion into user behavior.

stefan,
@stefan@stefanbohacek.online avatar

@Tealk Sorry, I misspoke there, I meant to say write-only.

Tealk,
@Tealk@rollenspiel.social avatar

@stefan I'm not sure right now whether write is even possible without read

stefan,
@stefan@stefanbohacek.online avatar

@Tealk Yeah, I'm going to have to do some research on this.

Hoping to have a blog post, or maybe even a dedicated site up soon with instructions.

christianp,
@christianp@mathstodon.xyz avatar

@stefan ooh, I like this! How about global accessibility awareness day on 16th may, as well?

stefan,
@stefan@stefanbohacek.online avatar

@christianp I'd definitely love to do this sooner! Definitely wouldn't hurt to do something like this more than once a year.

For now, I have to do a bit of research into how to best achieve this on a technical level.

djsundog,
@djsundog@toot-lab.reclaim.technology avatar

@stefan I'm in. linernotes.club as well.

stefan,
@stefan@stefanbohacek.online avatar

@djsundog That's awesome, thank you!

kristinHenry,
@kristinHenry@vis.social avatar

@stefan Didn't we have some CSS script for this last year? Or some other time? My memory is fuzzy on this. Maybe it was something else?

@oliphant

cubeofcheese,
@cubeofcheese@mstdn.social avatar

@stefan that sounds awesome

stefan,
@stefan@stefanbohacek.online avatar

@cubeofcheese Glad you like the idea!

HistoPol,
@HistoPol@mastodon.social avatar
  • All
  • Subscribed
  • Moderated
  • Favorites
  • accessibility
  • rosin
  • cisconetworking
  • thenastyranch
  • magazineikmin
  • hgfsjryuu7
  • DreamBathrooms
  • InstantRegret
  • Youngstown
  • slotface
  • PowerRangers
  • Durango
  • everett
  • kavyap
  • vwfavf
  • anitta
  • modclub
  • ethstaker
  • khanakhh
  • tacticalgear
  • ngwrru68w68
  • osvaldo12
  • mdbf
  • tester
  • cubers
  • Leos
  • GTA5RPClips
  • normalnudes
  • provamag3
  • All magazines