Mandatory Alternative Text on Media Assets

System Information
  • Strapi Version: 3.6.5:

Hi there Strapi,

I’m currently using the great media library plugin for an e-commerce site. We’re trying to put a11y at the forefront of the site and make the ‘alternative text’ field of any image or video uploaded using the admin portal mandatory.

After browsing the internet and the configuration section of the upload plugin docs, I haven’t been able to see any documentation for making this field mandatory. I’m assuming that it should be possible to overwrite the media model to force this change but would anyone be able to point me to either some docs explaining this process or a code snippet showcasing this change?


1 Like

i am facing same issue and didn’t find any solution on internet

We would like to request this as well :frowning: