observational-dev / oawiki

Repository for wiki.observational.space
https://wiki.observational.space/
Creative Commons Attribution Share Alike 4.0 International
2 stars 4 forks source link

How should we handle images? (accessibility and attribution) #51

Open peytondmurray opened 8 months ago

peytondmurray commented 8 months ago

Is your feature request related to a specific page or problem? Please describe. We need a way to make sure that

  1. Images have proper attribution
  2. Images have alt text, for reasons of accessibility

Describe the solution you'd like Automated checks for both of these would be ideal (CI). There's an alt text hook here that we could run in src/_build/html/ when a PR is made that could work. We'd probably need something custom - either something at the sphinx level (hard) or a custom pre-commit hook (easy-medium) to parse images and look for attribution metadata.

Describe alternatives you've considered If we don't have automated checks we'll probably make mistakes with respect to these things. It might sound draconian to enforce rules like this, but I'm trying to be realistic as well.

nenb commented 5 months ago

Hello 👋

Is this issue still open, and of interest? I'd be happy to pick it up if so.

Current thoughts