Make Alternative text (optional) mandatory in media picker in RTF
When adding image using media picker to a rich text field, there is a filed to add alt text called Alternative text (optional). Has anyone made this a mandatory field, or know a way to do this?
I am actually trying to solve this at the moment, too late for you I'm sure, but I will share it in case it's helpful to anyone else and if they can help me solve the related issue I am experiencing…
I can make it mandatory by editing the view file /Umbraco/Views/common/overlays/mediaPicker/mediapicker.html and adding the required attribute to the input. The problem is that whilst it prevents the dialog from being submitted it does not offer any sort of visual feedback and seems to be somehow suppressing the standard browser feedback for required fields. If anyone knows of a way to rectify this or another approach I'd be grateful.
Make Alternative text (optional) mandatory in media picker in RTF
When adding image using media picker to a rich text field, there is a filed to add alt text called Alternative text (optional). Has anyone made this a mandatory field, or know a way to do this?
Thanks a lot,
I am actually trying to solve this at the moment, too late for you I'm sure, but I will share it in case it's helpful to anyone else and if they can help me solve the related issue I am experiencing…
I can make it mandatory by editing the view file
/Umbraco/Views/common/overlays/mediaPicker/mediapicker.html
and adding therequired
attribute to the input. The problem is that whilst it prevents the dialog from being submitted it does not offer any sort of visual feedback and seems to be somehow suppressing the standard browser feedback for required fields. If anyone knows of a way to rectify this or another approach I'd be grateful.is working on a reply...