Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add alt-tag field to image content type #700

Open
jackahl opened this issue Sep 23, 2024 · 4 comments
Open

Add alt-tag field to image content type #700

jackahl opened this issue Sep 23, 2024 · 4 comments

Comments

@jackahl
Copy link
Member

jackahl commented Sep 23, 2024

Currently in many cases in Volto there is no alt text displayed for images(like plone/volto#6302), cause there is no real way to add a proper alt text. We could use the description field as suggested in #605, but this should probably be its own field, as they serve different purposes in some cases.

@jackahl
Copy link
Member Author

jackahl commented Sep 25, 2024

So I had a chat with @MrTango and he agrees that there would be indeed use for this in Classic as well. We should just make it very clear in the field description that this field is only for use in automated cases like listings/collections and still force people to add an alt tag manually when using the image explicitly. I would like to hear some opinions on this @sneridagh @tisto @davisagli @JeffersonBledsoe

@jackahl
Copy link
Member Author

jackahl commented Sep 25, 2024

I also noticed part of this was also addressed 5 years ago in #518 :D

@yurj
Copy link
Contributor

yurj commented Sep 26, 2024

Actually, in Classic-UI, Plone fill the title attribute using the alt value. I think this is wrong, title should not be filled in images which uses the alt attribute. For other content or links, it is ok to use title.

@thet
Copy link
Member

thet commented Oct 9, 2024

Related: plone/plone.namedfile#162

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants