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 the possibility to flag svg's as being decorative #99

Open
laurent-b4y opened this issue Apr 29, 2020 · 0 comments
Open

Add the possibility to flag svg's as being decorative #99

laurent-b4y opened this issue Apr 29, 2020 · 0 comments
Assignees
Milestone

Comments

@laurent-b4y
Copy link

laurent-b4y commented Apr 29, 2020

When adding svg's to a site, this is always mainly going to be decorative, in which case having an alt text isn't required, nor a good idea. The svg image module should provide an option to flag the svg as being decorative and thus having the possibility to have a null alt text. This module does it the right way, https://www.drupal.org/project/accessible_media_embed.

Drupal core does this for the image embed in the ckeditor as well, where entering "" double quotes in the alt field output's an empty alt tag.

Now I had to add + 80 alt tags to icons, just to remove them afterwards using js... doesn't make much sense

@rutiolma rutiolma self-assigned this May 22, 2020
@rutiolma rutiolma added this to the Openfed8 9.0 milestone Oct 27, 2020
@rutiolma rutiolma modified the milestones: Openfed8 9.0, Openfed8 10.0 Dec 8, 2020
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

2 participants