Inspectopedia
 
2024.3

Element filter shadowed by ancestors

Warning
New
Last modified: 03 December 2024

Detects content filters that are shadowed by filters of parent elements.

Example:

<p instance="foo">Click <control instance="bar">OK</control>.</p>

In this example, bar is shadowed by foo, meaning that it will never be included in any instance. Make sure that all parent elements include filters that you expect for the child elements. So in this case, you should add bar to the parent paragraph.