Currently, the QR code image_factory is SvgPathImage. This produces a black QR code with a transparent background. For users using dark mode on the Django admin panel, this presents an accessibility issue, shown below:
This demo QR code is not being reused in any production environment.
I propose changing the SvgPathImage to the SvgPathFillImage, which, according to qrcode documentation, "work the same, but also fill the background of the SVG with white." This makes the QR code visible to folks with vision impairments working in dark mode.
Currently, the QR code image_factory is
SvgPathImage
. This produces a black QR code with a transparent background. For users using dark mode on the Django admin panel, this presents an accessibility issue, shown below:I propose changing the SvgPathImage to the SvgPathFillImage, which, according to qrcode documentation, "work the same, but also fill the background of the SVG with white." This makes the QR code visible to folks with vision impairments working in dark mode.