I'm trying to enforce alt text for images in AEM. I've used a metadata schema to make the "description" field required, but authors can still drag and drop images without alt texts and upload them.
Is there a way to strictly enforce alt text before an image is uploaded or used? Any guidance would be appreciated!
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Hi @aa_w ,
You can always use a HTL level render condition like
Hi @aa_w ,
Along with solution suggested by @anupampat , I'd suggest to trigger new workflow with participant step to asset creator. This workflow will put an item to inbox with title "Configure asset title/description".
Best regards,
Kostiantyn Diachenko.
@aa_w i would suggest you to not to solution it from sites perspective but solution it from assets perspective.
I would request you to introduce an asset approval process during which you need to check all mandatory fields validation, compliance checks etc and then approve.
Only approved assets should be made available for sites author to be used in page authoring.
Please check this thread - https://medium.com/@bsaravanaprakash/aem-assets-post-processing-workflows-a-savior-to-resource-chang...
@aa_w Did you find the suggestions helpful? If you need more information, please let us know. If a response resolved your issue, kindly mark it as correct to help others in the future. Alternatively, if you discovered a solution on your own, we'd appreciate it if you could share it with the community. Thank you !
Views
Replies
Total Likes