548 B
548 B
content-property-no-static-value
Disallow CSS generated content except aria-label attribute content and empty strings.
Sources:
Options
true
The following pattern are considered violations:
.foo::before {
content: 'Price: $50';
}
The following patterns are not considered violations:
.foo {
content: '';
}
.foo {
content: attr(aria-label);
}