Closed juancstlm-a6 closed 1 month ago
@juancstlm-a6 cool, looks like you made the change. I don't mind changing the tests slightly, because we get the benefit of a simpler component. Looks clean 👍
One other thing that would be useful to include in this PR is a video with the screen reader so we can hear that the announcements are still correct after the change. The video doesn't have to include all the modified components, just one is enough to get a sense.
Added video of the accessibility helper reading out the text
Seems there is document built failiure due to the ChevronDown.svg
and ChevronUp.svg
being removed. Didn't find a ticket that mentions this issue but we should create one and remove the outdated link from the documentation as for the Up and Down chevrons are now being used from the design system library
@narin @TimRoe does the documentation build error Juan mentions fall into your area?
@juancstlm-a6 looks good! I approved and moved this to With QA
@narin @TimRoe does the documentation build error Juan mentions fall into your area?
Nope, we don't directly have any icons in the design system section of the doc site.
Just to document: seems it was related to Dylan's icon work transitioning over to design system icons and removing the icons without cleaning up the section referencing them in the doc site.
@TimRoe I went ahead and created a ticket and a small PR to address the Documentation build check here https://github.com/department-of-veterans-affairs/va-mobile-app/pull/9754
Description of Change
accessibilityLabel
is only set whena11yLabel
is specified otherwise it is automatically created from traversing the children elements. (although not the case in tests)a11yLabel
a11yLabel
whena11yLabelVA()
is used to maintain accesibilityaccessibilityLabel
not being generated and changing some usages ofgetByLabelText
togetByText
Screenshots/Video
https://github.com/user-attachments/assets/851437b8-fa6d-49d2-af3d-2720f5c38605
Testing
Tested a single instance of the change
LoaGate
. All affected pages need to be checked.Remaining
Dev Test Plan
Reviewer Validations
PR Checklist
Reviewer: Confirm the items below as you review
For QA
Run a build for this branch