DEV Community

Discussion on: What can a backend dev do to improve Accessibility?

Collapse
 
mattpopovich profile image
Matt Popovich • Edited

One danger that I don't think has been mentioned yet is seizure-inducing media. In the past, malicious users have been able to trigger seizures in users with epilepsy by uploading animated images designed to trigger them. This is a potential danger with any service that allows users to upload images, since even static images with certain dangerous patterns can potentially trigger seizures.

Detecting and removing seizure-inducing media could be one way backend devs can mitigate a major accessibility hazard outlined in WCAG 2.1 Guideline 2.3 – Seizures and Physical Reactions. For example, here's a Python project that aims to detect seizure-inducing media using TensorFlow.

Collapse
 
vickilanger profile image
Vicki Langer

That's awesome! I've definitely thought about the hazards of some images, but I never expected there would be a project to detect them. I've starred it for future reference.

Collapse
 
andersclark profile image
Anders Clark

This is eye opening. I wonder how the algorithm for detecting these images would look? I did a quick search and couldn't see anything obvious in the results.

Collapse
 
pclundaahl profile image
Patrick Charles-Lundaahl

TensorFlow implies neural networks, right?

Thread Thread
 
vickilanger profile image
Vicki Langer

TensorFlow may imply neural networks, but only if you're aware of it. There are so many languages, frameworks, and libraries that you really can't assume that everyone would know what a certain language-specific library does. Even if it's a popular one, we can't know everything.

Thread Thread
 
pclundaahl profile image
Patrick Charles-Lundaahl

Ah! Right, of course. Solid point.

Collapse
 
pclundaahl profile image
Patrick Charles-Lundaahl

That is a brilliant point! Thank you for sharing!!!

Collapse
 
rhymes profile image
rhymes

Woah I knew nothing about this, I'm going to do some research. Thank you very much Matt!

This community is so awesome 😭❤️