Closed joshkimux closed 2 years ago
@joshkimux I'd like to downstep this one to a severity 2 from a 1. There's room for improvement as you've outlined, but the critical path functionality is working. LMK if you'd like to chat more about this.
@1Copenut I've updated it accordingly! ✌️
We see that this would be an improvement but we are not able to adjust these at this time since this is a Form System issue. Leaving in Icebox for now.
Info from @k80bowman: This sounds like a review page issue. I know there are review page re-design things going on, so I'm not sure if we want to tackle this or not. I did not re-test myself, but I'm pretty confident this is still an issue. - Katy
@taylorkaren , this was another item we discussed as belonging in the FLT backlog.
The only thing we can feasibly update here IMO is the aria-describedby attribute on the Continue button, which I have created a PR for here: https://github.com/department-of-veterans-affairs/vets-website/pull/21490
The reason we cannot add a legend is because we already have a heading outside of the form that is associated with the form elements:
Adding fieldset and legend elements will change how the form looks. cc @taylorkaren
@obliviga: Let's get input from @joshkimux on the fieldset and legend inputs. If those still need to be addressed, let's create a new ticket with the specific details around that request.
@obliviga and @taylorkaren , hey folks! Thanks for tagging me here and taking the initiative to work on this.
I agree with @obliviga that fixing the issue at its root will likely require changing how the form looks (adding specific legends and headings to better break up the content and using one thing per page).
Also agree with @k80bowman that it may be wiser to wait for the review page changes to address this.
If we do want to look into immediate, short-term fixes, we may be interested in working with the benefits team to see if there are any IA/content fixes we can do in the meantime like:
legend
h3
s to contextualize these for the review page (if we're able to work around some things locally)... I think Robin and I have done this beforeIf we can do the above (or if other possible upstream approaches aren't strictly a form system issue), we could potentially bump this back to the benefits team for review.
Let's go ahead and put through the PR for the aria-describedby attribute on the Continue button. We will move Josh's last comment to a separate ticket and may address it in Q3 2022 if we work with the Benefits team on piloting the VAFSC.
Just pushed up feedback to the PR. Awaiting review.
Merged the PR, now waiting for successful deployment to production.
Verified in production:
508-defect-2
Feedback framework
Definition of done
Point of Contact
VFS Point of Contact: Josh Kim
User Story or Problem Statement
As a screen reader user, I need to know that a range of form inputs are grouped together, so that I may understand the scope of the use case. As a user with cognitive considerations, I want to know which page of the form I am editing so that I can update the right information.
Details
Upon clicking "edit" on any of the pages within the applicant information accordion, the heading element that indicates the page disappears leaving only the form inputs behind. This may cause several issues:
These issues are further compounded by a lack of groupings for the form itself. Groups of form elements MUST have group labels to meet Section 508 requirements.
Acceptance Criteria
Environment
Steps to Recreate
Solution
Add a fieldset around each group along with a legend that contains the formerly deleted heading. This enhancement will provide multiple methods of navigation to screen reader users through headings and form groupings. It will also help sighted users on mobile understand which pages they are editing as they scroll.
It should be noted that this may be a sitewide issue that may need to be addressed in the form/design system itself. Alternative, more optimal patterns should be explored. I strongly recommend considering gov.uk's check answers pattern which would alleviate many of the technical issues the existing pattern creates.
❗️ Please reference the ticket on headings for this page before addressing this. This ticket requests that headings be added to the accordions, which consequentially bumps down headings for the rest of the page.
Before
After
WCAG or Vendor Guidance (optional)
Screenshots or Trace Logs
Before
Note the missing title for this form group.
After
Note the reinstated heading.