Skip to content

LG-6120 SSN alt image#6390

Merged
nprimak merged 2 commits intomainfrom
lg-6120/nprimak-ssn-alt-text
May 23, 2022
Merged

LG-6120 SSN alt image#6390
nprimak merged 2 commits intomainfrom
lg-6120/nprimak-ssn-alt-text

Conversation

@nprimak
Copy link
Contributor

@nprimak nprimak commented May 20, 2022

One tweak for LG-6120 found during acceptance, we were missing an alt tag for ssn key image even though alt tags were added for all images next to it. Since image is the same as one above, I used the same yaml translation reference See slack thread here.

<%= image_tag(
asset_url('get-started/personal-details.svg'),
size: '40', alt: '', class: 'margin-top-05 grid-col-auto',
size: '40', alt: t('devise.registrations.start.bullet_3_img'), class: 'margin-top-05 grid-col-auto',
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 it's correct as-is, but just to double-check, this is meant to be 3, and not 4? Since the sequence here is bullet_3_img, bullet_3_img, bullet_5_img. I guess since it's the same image as the previous bullet point, it's sensible for it to also have the same alt text?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yeah I was on the fence about whether to change the name to something like "bullet_3_4_img" to make it clearer but ultimately thought that was still a little weird and it would be redundant to have it written in the translation doc twice

Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah and as mentioned in the previous pull request, it'd be good to move away from the "bullet_#" convention anyways, so wouldn't want to make that harder.

All good then 👍

changelog: Accessibility, alt tags, add ssn alt tag (acceptance for LG-5774)
@nprimak nprimak merged commit b39ae5b into main May 23, 2022
@nprimak nprimak deleted the lg-6120/nprimak-ssn-alt-text branch May 23, 2022 15:17
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

Successfully merging this pull request may close these issues.

2 participants