Closed briandeconinck closed 6 months ago
@loripusey I'm going to add the specifics into the design file. So, feel free to leave this ticket open and assigned to FE. Close it when FE completes the work.
Added annotations for fieldset
and label
to 2 pages
Closing based on conversation with @brianseek and @benbrasso-agile6 , we've added a overarching summary title to the checkbox group which is read. This should cover the necessary description of the checkboxes
Next Steps for the VFS team
@platform-governance-team-members
.Thoughts/questions
-
Feedback
Practice areas will document their feedback on the VFS-provided artifacts following the Must, Should, and Consider Framework. Platform Governance reviewers may also provide additional notes that don’t comment on the artifacts themselves but are important for implementation (eg. engineering/coding notes).
[ ] Engineering/Coding notes: My only concern here is around some of the helper text that's not clearly part of an input label or a heading that would receive focus. Example: On "Select the appointments you want to file for today," I'm looking at the helper text "If you’re filing only mileage and no other expenses, you can file all your claims right now for today’s appointments. You’ll need to file separate claims for any appointments that you don’t select." That helper text seems important (provides context for deciding what to claim when), so we want to make sure it's passed along to screen reader users.
With a mobile screen reader you use gesture controls to move through the page, swiping through both interactive and non-interactive elements. Mobile screen reader users are likely to hear the helper text as they swipe through, so no problem there. On desktop, screen reader users might go through this workflow using forms mode or just pressing [tab] to move through interactive elements --- skipping over any non-interactive helper text that's not programmatically associated with the inputs.
Since this is only something you'll reach from a text message link, it's unlikely that someone will be viewing the page with a desktop screen reader, but it's not impossible! You might have their laptop configured to receive text messages, for example.
There are a few ways to associate the helper text with the inputs, but here are the options that other teams have had the most success with:
hint
prop for the input component. Thehint
text will be associated with the input viaaria-describedby
and available to screen reader users when they tab to the input.hint
isn't an option for some other reason), present the hint text as part of afieldset
/legend
pattern, eg.:The helper text inside the
legend
can be styled to look like regular text, but when you tab into the first input in thefieldset
, your screen reader will announce everything in thelegend
(heading and helper text), then the input label.No preference from me on what approach you take.
Governance team actions