zpao / qrcode.react

A <QRCode/> component for use with React.

Home Page:https://zpao.github.io/qrcode.react/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NVDA screen reader does not detect QR code SVG

ultrapabs opened this issue · comments

The NVDA screen reader for Windows does not detect the QR code SVG when moving through objects on the screen. When moving across elements it, NVDA skips the SVG entirely. See attached video for example (QR code in example is expired one time link).

Forgot to add - putting a <title> within the svg resolves the issue and allows NVDA to detect the element. Working on a fix.

PR added - other possible solution could be to add a new attribute such as accessibleName that converts to a <title> for svg and aria-label for canvas, but the canvas case is already handled by otherProps forwarding aria-label.