The scope attribute defines whether a table header is a column header or row header.
Using it on non-<th> elements has no semantic meaning and may confuse assistive technologies.
This is required for WCAG 1.3.1 and 4.1.1 compliance.
Error ts(2322) ― Type '{ scope: true; }' is not assignable to type 'DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>'.
Property 'scope' does not exist on type 'DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>'.
Error ts(2322) ― Type '{ scope: string; }' is not assignable to type 'DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>'.
Property 'scope' does not exist on type 'DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>'.