C2LC-492: Improve screenreader experience for keyboard shortcut switch

Metadata

Source
C2LC-492
Type
Task
Priority
N/A
Status
Done
Resolution
N/A
Assignee
N/A
Reporter
Created
2021-09-29T16:47:09.576-0400
Updated
2022-02-09T10:15:56.562-0500
Versions
N/A
Fixed Versions
  1. Coding Env 1.2
Component
N/A

Description

we could make 2 improvements:

  • Remove (or annotate with aria-hidden) the “Off” and “On” as it initially sounds like keyboard shortcuts are off, when they are actually on
  • Use the existing “Keyboard Shortcuts” text as the label for the switch, rather than having an extra aria-label