eAPD icon indicating copy to clipboard operation
eAPD copied to clipboard

Accessibility: How do we inform users when rounding occurs in the screen reader?

Open jeromeleecms opened this issue 2 years ago • 2 comments

There are multiple dollar fields in the system that automatically round decimals to a whole number. How do we make that accessible in the screen reader.

Ty notes/options to explore-

  • First verify that it's a necessity to inform that rounding is happening. As long as the rounded value is being read back that would be in parity with the visual experience. We don't communicate that rounding is happening, it just happens
  • Evaluate using a role="alert" tag to announce changes when rounding is occurring
  • Evaluate using a previously implemented strategy to announce changes

This task is done when...

  • [ ] Investigate possible solutions, select best option
  • [ ] Update behavior such that screen readers inform users when rounding happens

Add additional labels (design, dev, compliance, BUG, etc) and size before submitting.

If the issue is needed to complete prioritized work for the CURRENT SPRINT, add it to the "This Sprint" pipeline. Otherwise, all other issues will be automatically added to the unprioritized pipeline for prioritization in backlog refinement or sprint planning with Product.

jeromeleecms avatar Sep 01 '22 18:09 jeromeleecms

it doesn't look like the design system has anything for this, but we do have an aria action, you could probably create a method in there to call if the value is rounded so it's announced

thetif avatar Sep 13 '22 22:09 thetif

@jeromeleecms I updated the ticket. I had put notes somewhere else so I will look for those and add them here if I can find them.

tbolt avatar Sep 14 '22 13:09 tbolt