Skip to content

LG-1957 Remove decorative image alt tags#3350

Merged
stevegsa merged 7 commits intomasterfrom
stevegsa-add-alt-tags
Oct 18, 2019
Merged

LG-1957 Remove decorative image alt tags#3350
stevegsa merged 7 commits intomasterfrom
stevegsa-add-alt-tags

Conversation

@stevegsa
Copy link
Contributor

@stevegsa stevegsa commented Oct 18, 2019

Why: So users with screenreaders can follow the page
How: When no alt tag is provided rails defaults to putting the image base name in the alt tag. Patch AssetTagHelper to default to an empty alt instead.

@stevegsa stevegsa marked this pull request as ready for review October 18, 2019 03:57
@stevegsa stevegsa merged commit 304e78b into master Oct 18, 2019
@stevegsa stevegsa deleted the stevegsa-add-alt-tags branch October 18, 2019 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants