💅 noSvgWithoutTitle should skip if the element is visually hidden #910
Labels
A-Linter
Area: linter
good first issue
Good for newcomers
L-JavaScript
Language: JavaScript and super languages
Environment information
Rule name
noSvgWithoutTitle
Playground link
https://biomejs.dev/playground/?lintRules=all&code=ZgB1AG4AYwB0AGkAbwBuACAARQB4AGEAbQBwAGwAZQAoACkAIAB7AAoAIAAgAHIAZQB0AHUAcgBuACAAKAAKACAAIAAgACAAPABzAHYAZwAKACAAIAAgACAAIAAgAGMAbABhAHMAcwBOAGEAbQBlAD0AIgBhAGIAcwBvAGwAdQB0AGUAIABpAG4AcwBlAHQALQAwACAALQB6AC0AMQAwACAAaAAtAGYAdQBsAGwAIAB3AC0AZgB1AGwAbAAgAHMAdAByAG8AawBlAC0AZwByAGEAeQAtADIAMAAwACAAWwBtAGEAcwBrAC0AaQBtAGEAZwBlADoAcgBhAGQAaQBhAGwALQBnAHIAYQBkAGkAZQBuAHQAKAAxADAAMAAlAF8AMQAwADAAJQBfAGEAdABfAHQAbwBwAF8AcgBpAGcAaAB0ACwAdwBoAGkAdABlACwAdAByAGEAbgBzAHAAYQByAGUAbgB0ACkAXQAiAAoAIAAgACAAIAAgACAAYQByAGkAYQAtAGgAaQBkAGQAZQBuAD0AIgB0AHIAdQBlACIACgAgACAAIAAgACAAIAA%2BAAoAIAAgACAAIAAgACAAIAAgADwAZABlAGYAcwA%2BAAoAIAAgACAAIAAgACAAIAAgACAAIAA8AHAAYQB0AHQAZQByAG4ACgAgACAAIAAgACAAIAAgACAAIAAgACAAIABpAGQAPQAiADAANwA4ADcAYQA3AGMANQAtADkANwA4AGMALQA0AGYANgA2AC0AOAAzAGMANwAtADEAMQBjADIAMQAzAGYAOQA5AGMAYgA3ACIACgAgACAAIAAgACAAIAAgACAAIAAgACAAIAB3AGkAZAB0AGgAPQB7ADIAMAAwAH0ACgAgACAAIAAgACAAIAAgACAAIAAgACAAIABoAGUAaQBnAGgAdAA9AHsAMgAwADAAfQAKACAAIAAgACAAIAAgACAAIAAgACAAIAAgAHgAPQAiADUAMAAlACIACgAgACAAIAAgACAAIAAgACAAIAAgACAAIAB5AD0AewAtADEAfQAKACAAIAAgACAAIAAgACAAIAAgACAAIAAgAHAAYQB0AHQAZQByAG4AVQBuAGkAdABzAD0AIgB1AHMAZQByAFMAcABhAGMAZQBPAG4AVQBzAGUAIgAKACAAIAAgACAAIAAgACAAIAAgACAAPgAKACAAIAAgACAAIAAgACAAIAAgACAAIAAgADwAcABhAHQAaAAgAGQAPQAiAE0ALgA1ACAAMgAwADAAVgAuADUASAAyADAAMAAiACAAZgBpAGwAbAA9ACIAbgBvAG4AZQAiACAALwA%2BAAoAIAAgACAAIAAgACAAIAAgACAAIAA8AC8AcABhAHQAdABlAHIAbgA%2BAAoAIAAgACAAIAAgACAAIAAgADwALwBkAGUAZgBzAD4ACgAgACAAIAAgACAAIAAgACAAPAByAGUAYwB0ACAAdwBpAGQAdABoAD0AIgAxADAAMAAlACIAIABoAGUAaQBnAGgAdAA9ACIAMQAwADAAJQAiACAAcwB0AHIAbwBrAGUAVwBpAGQAdABoAD0AewAwAH0AIABmAGkAbABsAD0AIgB1AHIAbAAoACMAMAA3ADgANwBhADcAYwA1AC0AOQA3ADgAYwAtADQAZgA2ADYALQA4ADMAYwA3AC0AMQAxAGMAMgAxADMAZgA5ADkAYwBiADcAKQAiACAALwA%2BAAoAIAAgACAAIAAgACAAPAAvAHMAdgBnAD4ACgAgACAAKQAKAH0A
Expected result
It should not report an error, since the element is merely visual.
Code of Conduct
The text was updated successfully, but these errors were encountered: