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

Accompanying alt text for multiple file uploads #2639

Open
dvodvo opened this issue Nov 20, 2022 · 0 comments
Open

Accompanying alt text for multiple file uploads #2639

dvodvo opened this issue Nov 20, 2022 · 0 comments

Comments

@dvodvo
Copy link

dvodvo commented Nov 20, 2022

While carrierwave allows the uploading of mutiple files using a JSON data type (postgresql and mysql), AFAIK the rails file_field does not have an accessor in order to set the alt attribute for the tag in order to support accessibility.

With a json column, it would make sense to create a has with the image data and atl_text as distinct elements.

Is there any way to achieve this?

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

No branches or pull requests

1 participant