mantine icon indicating copy to clipboard operation
mantine copied to clipboard

Fix switch accessibility

Open rilrom opened this issue 1 year ago • 0 comments

Fixes #5699.

Things to note:

  • Due to the implementation of role="switch", some tests needed to be adjusted.
  • Screen readers no longer read out the onLabel and offLabel values, however I consider this to be appropriate as the label or aria-label should be used to provide enough context that these values are not needed.
  • Screen reader testing was conducted across macOS VoiceOver and Windows NVDA.
  • Open to suggestions on types for bodyElement and labelElement.

rilrom avatar Feb 09 '24 05:02 rilrom