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

A11y shrine: missing alts attributes #361

Closed
wants to merge 2 commits into from

Conversation

felixzapata
Copy link
Contributor

Fix #356.

@@ -4,8 +4,10 @@
"title": "Green comfort chair",
"quote": "Leave the tunnel and the rain is fallin amazing things happen when you wait",
"imageUrl": "https://www.gstatic.com/angular/material-adaptive/shrine/chair.png",
"imageAlt": "foobar",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could just use title as the alt text for imageUrl.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know but I would like to show it with different values. Because if you don´t do that (my opinion), maybe people missunderstand what should be the correct value of an alt attribute (the context is important) and they think that it allways is valid with a title value you write in the page.

"storeName": "Ali’s shop",
"storeAvatarUrl": "https://www.gstatic.com/angular/material-adaptive/shrine/ali-connors.png",
"storeAvatarAlt": "foobar",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similarly, we could just use storeName as the alt text for storeAvatarUrl.

@blasten
Copy link
Contributor

blasten commented Jan 5, 2017

Closing this PR, for now!

@blasten blasten closed this Jan 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants