What it flags
A native button has no direct text and all its literal child elements are hidden. A button with an explicit name or a potentially naming component remains quiet. A button also stays quiet when a directive or library attribute can render its text at runtime: PrimeNGlabel, ngx-translate translate or [translate] with a key, custom Vue directives such as v-t, Svelte actions, Thymeleaf th:text and th:utext, AngularJS ng-bind, Knockout data-bind, data-i18n* and data-l10n-id. The native translate="yes" and translate="no" supply no text.
The rule skips buttons hidden by inline styles, in statically inert subtrees or initially closed dialogs and popovers, and outside the first summary of collapsed details. Astro buttons are outside this check because the Astro parser does not establish whether they have direct text, including text supplied by set:text.
How to review or fix
Give the button visible text or an accessible label that describes what it does.Configuration
Set the rule to"off" in loadwise.config.json to drop its findings: