hide-if-labelled-bysnippet hides any HTML element that uses an
aria-labelledby, or one of its ancestors, if the related aria element contains the targeted text.
Use this snippet to hide elements based on searched text.
The string to look for in HTML elements. If the string begins and ends with a slash (/), the text in between is treated as a regular expression.
The CSS selector of an HTML element that uses an
The CSS selector of an ancestor of the HTML element that uses an
The following table lists examples that use the