no-duplicate-sibling-attr
Warns when an attribute the content model marks as sibling-unique (uniqueAttrs) appears on more than one element of the same type within the same parent, according to the HTML Living Standard. It has settings in @markuplint/html-spec.
❌ Examples of incorrect code for this rule
<video>
<track default src="a.vtt" />
<track default src="b.vtt" />
</video>
✅ Examples of correct code for this rule
<video>
<track default src="a.vtt" />
<track src="b.vtt" />
</video>
Interface
{
"no-duplicate-sibling-attr": boolean
}
Default Severity
error