hide-if-labelled-by
The hide-if-labelled-by snippet hides any HTML element that uses an aria-labelledby, or one of its ancestors, if the related aria element contains the targeted text.
Parameters
|
Name |
Description |
Mandatory |
|---|---|---|
|
search |
The string to look for in HTML elements. Enclose in |
Yes |
|
selector |
The CSS selector of an HTML element that uses an |
Yes |
|
|
CSS selector of an ancestor of the element using |
No |
Filter examples
|
Filter |
Result |
|---|---|
|
|
Hides any |
|
|
Hides any |