dequelabs / dequelabs/axe-core

Rule idea: Should SVG text without an SVG background fail?

Open
#2,446 0 comments 0 reactions 0 assignees View on GitHub
rules
Dominant language
JavaScript
Stars
7.5k
Forks
933
Avg merge
2d 23h
Merged PRs (30d)
17

Description

Noticed this when we were researching if SVG text should be treated as an "image of text" (SC 1.4.5). If you use windows high contrast mode you can change the colors of the page, but you can't change the colors of SVG that way. If you have an SVG text on an HTML background, the HTML background color will be modified in high contrast mode, but the SVG text color will not, thus creating something akin to the issue you get when you specify the text color without setting the background color.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.