Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.

Fixes #5179 - Alt text for homepage img tags #5180

Merged
merged 1 commit into from
Nov 14, 2018

Conversation

punamdahiya
Copy link
Contributor

No description provided.

@punamdahiya punamdahiya changed the title Fixes #5179 - Alt text for homepage img tags [Hold] Fixes #5179 - Alt text for homepage img tags Nov 14, 2018
@punamdahiya
Copy link
Contributor Author

punamdahiya commented Nov 14, 2018

Hold as we need to localize alt texts once test passes

@punamdahiya
Copy link
Contributor Author

punamdahiya commented Nov 14, 2018

@6a68 With axe extension analyze , no errors shows up for img-alt

@kimberlythegeek thoughts why npm run test:accessibility is failing for img-alt on home page

@punamdahiya punamdahiya changed the title [Hold] Fixes #5179 - Alt text for homepage img tags Fixes #5179 - Alt text for homepage img tags Nov 14, 2018
@punamdahiya
Copy link
Contributor Author

@6a68 PR fixes accessibility tests on homepage. Thanks!

Copy link
Member

@jaredhirsch jaredhirsch left a comment

Choose a reason for hiding this comment

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

👍 Nice work

@jaredhirsch jaredhirsch merged commit 1720237 into mozilla-services:master Nov 14, 2018
imgSettings =
.alt = Settings Icon
imgSignIn =
.alt = Sign In Icon
Copy link
Collaborator

Choose a reason for hiding this comment

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

"Sign In" is a verb, "sign-in" is the noun, and I believe you want the latter in this context

Copy link
Contributor

Choose a reason for hiding this comment

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

I think we should have empty alt strings here anyway since we have it on a the parent anchor

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Created #5181 to use empty alt text

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

Successfully merging this pull request may close these issues.

4 participants