LG-12656 Update how to verify page#10289
Conversation
|
We found an inconsistency in the original Spanish gengo translation:
should read...
|
| <%= f.radio_button( | ||
| </div> | ||
| <% end %> | ||
| <%= simple_form_for( |
There was a problem hiding this comment.
I'm surprised this isn't triggering a form labeling accessibility test that was added in #9508, since my understanding is that if we have more than one form on a page, they need to be labelled. Does that apply here?
There was a problem hiding this comment.
added aria-labels as well as a test for the expectation in the code you linked
JackRyan1989
left a comment
There was a problem hiding this comment.
Looking good! Small comments
| </div> | ||
| <% end %> | ||
| <%= simple_form_for( | ||
| @idv_how_to_verify_form, |
There was a problem hiding this comment.
Is there a way to get these two forms to render with separate id's? The rendered HTML has them with the same id: "new_idv_how_to_verify_form"
There was a problem hiding this comment.
This sounds like a basic HTML validation thing we'd ideally be checking in some baseline checks like our expect_page_to_have_no_accessibility_violations helper. Is this page currently validated with that? Or is that helper not catching duplicate IDs?
There was a problem hiding this comment.
Seems like we're running that exact helper on line 31 here.
I guess that helper isn't catching duplicate IDs?
There was a problem hiding this comment.
Hm, yeah. Well, doesn't need to block here. We can update the IDs and follow-up separately to see about incorporating an HTML validation check.
There was a problem hiding this comment.
should we add a follow up ticket?
There was a problem hiding this comment.
Follow-up to enhance accessibility tests: #10362
| <p><%= t('doc_auth.info.verify_at_post_office_instruction') %></p> | ||
| <p><%= t('doc_auth.info.verify_at_post_office_description') %></p> | ||
| </div> | ||
| <%= f.submit t('forms.buttons.continue_ipp'), class: 'display-block margin-y-5', outline: true %> |
There was a problem hiding this comment.
Do we want the submit button inside of the label element? I don't think you want interactive elements inside of a label? MDN Link
There was a problem hiding this comment.
thanks for linking this documentation. I'm moving it into a different div, now just trying to figure out how to get the button to align with the block of text above it
There was a problem hiding this comment.
ok i was able to move the button so it aligns with the block of text...but it's not a super neat solution
| let(:in_person_proofing_opt_in_enabled) { true } | ||
|
|
||
| it 'displays expected content and requires a choice' do | ||
| it 'displays expected content and navigates to choice' do |
|
Confirmed changes in yml files will not affect other areas of the application. I requested access to see Figma but don't have access yet to confirm layout. Design will ultimately need to sign off, so not blocking. List of AC in ticket is entirely met except for "Create a follow up ticket to update with DOS translations"- but that is not blocking for this PR. Reach out after above comments are addressed for a final approval-but looks close. |
allis-green
left a comment
There was a problem hiding this comment.
Translations reviewed and approved
| dispositivo móvil o una manera fácil de tomar fotografías de su | ||
| identificación. | ||
| verify_at_post_office_description: Esta opción es mejor si no tiene un teléfono | ||
| para tomar fotografías de su identificación. |
| fotografías de su identificación. | ||
| verify_online_instruction: Tomará fotografías de su identificación para | ||
| verificar su identidad completamente en línea. La mayoría de los | ||
| usuarios finalizan este proceso de una sola vez. |
config/locales/doc_auth/fr.yml
Outdated
| upload_from_computer: Continuer sur cet ordinateur | ||
| upload_from_phone: Utilisez votre téléphone pour prendre des photos | ||
| verify_at_post_office: Confirmez votre identité un bureau de poste | ||
| verify_at_post_office: Vérifiez votre identité en ligne |
| quelqu’un qui se fait passer pour vous. %{link_html}' | ||
| getting_started_learn_more: Pour plus d’informations sur la vérification de votre identité | ||
| how_to_verify: Vous avez la possibilité de confirmer votre identité en ligne ou | ||
| how_to_verify: Vous avez la possibilité de vérifier votre identité en ligne ou |

🎫 Ticket
Link to the relevant ticket:
LG-12656
🛠 Summary of changes
Content updates to the how to verify page as well as removal of the radio buttons to be in line with the new design.
📜 Testing Plan
Provide a checklist of steps to confirm the changes.
how_to_verifypage👀 Screenshots
If relevant, include a screenshot or screen capture of the changes.
en:
es:
fr:
mobile: