Propose new functionalities for Decidim software
#DecidimRoadmap Designing Decidim together
Change attachment photo image alt texts to the title
Currently the alt texts for the attachment photos are defined by the photo's description as defined by:
https://github.com/decidim/decidim/blob/372d1114e364ac1a0553fcf758514487b49cb2d7/decidim-core/app/views/decidim/application/_photos.html.erb#L9
I suggest changing this to the photo titles instead because for example the proposal attachments do not have the alt texts defined currently because they don't have any description.
This would improve:
- The meta information of the images for them to be better discoverable by search engines
- Usability for blind users
List of Endorsements
Report inappropriate content
Is this content inappropriate?
1 comment
I agree, at least the title should be used as an alt-text when description is not available (as is the case with all images attached to the proposals, for example). I guess this is required also to be compatible with the EU accessibility directive.
Add your comment
Sign in with your account or sign up to add your comment.
Loading comments ...