Open williamphelps13 opened 2 months ago
Plan:
This was brought in from product backlog mid-sprint because it is a very small lift to get this started and the biggest challenge may be how long the DST bug report takes to be resolved so it is better to make this In Progress ASAP. Changed to 1pt since we will not be implementing this.
Created DST bug report (which is an issue in the vets-design-system-documentation repo): https://github.com/department-of-veterans-affairs/vets-design-system-documentation/issues/3004
Discussion is occurring in the DST bug report for which team should own this change.
This PR by Robert of #veteran-facing-forms adds the description but points out the following:
Summary
- Allow yesNoUI and radioUI to accept description
- However this is a half-solution. This won't be read out by screen readers. We need support from DST in order to allow that.
I approved this PR and inquired if we should update the bug report or create a new one to track the "support from DST in order to allow that."
Most current bug report: https://github.com/department-of-veterans-affairs/vets-design-system-documentation/issues/3059 Once this report is closed, our ticket can be closed out.
^ Asked for update in this Bug Report which has been assigned but have not received a timeline yet
@caw310 said the following:
@williamphelps13 this is tentatively scheduled to be worked on in sprint 8 which starts mid August.
@williamphelps13 I did not see this ticket come through. IF there is a Design System request or bug, please use a template from here. https://github.com/department-of-veterans-affairs/vets-design-system-documentation/issues/new/choose Tickets created from one of those templates automatically put the DST label so it appears on our board and assigns it to me so I see it.
I will transfer this ticket to our repo. Is this blocking work in progress or do you have a work around?
Hey team! Please add your planning poker estimate with Zenhub @Andrew565 @ataker @harshil1793 @it-harrison @jamigibbs @micahchiang @powellkerry @rmessina1010 @rsmithadhoc
@caw310 This is a ticket on the Accredited Representative Facing Team board to track my cross team work in getting the yes/no description working as intended. It entailed two bug reports:
The second issue is already been prioritized by your team so this ticket does not need to be prioritized. Apologies for tagging you and causing that confusion.
@williamphelps13 do you want to transfer this ticket back to you repo? I will look at 3059 and try to get it into an upcoming sprint.
@caw310 Doesn't look like my PM or myself have permissions to transfer tickets. Are you able to transfer it back?
And thank you for working to get 3059 into the next sprint!
@williamphelps13 this has been transferred back to va.gov-team repo.
Description
Problem Statement
The yesNoUI pattern should allow a key of
description
with a type ofstring | JSX.Element | React.ReactNode
. This description key is working in the textareaUI: 'condition-that-affects-representation-details'Note: there is a different issue in textareaUI here around labelHeaderLevel not being applied that is being solved in The description key is not working in yesNoUI: '/convictions'
It is not working whether description is a component like here in '/convictions' or if it is a string (`description: 'This is a test', creates the same screenshot as above.
Implementation Details
If it is straightforward to fix description for all form patterns then we should do it.
Mockups/Designs
Acceptance Criteria
Accessibility (A11y) Testing