Skip to content
Brok UI

Loading…

No results

Lint UI-206

no-invalid-interactive-element

Clickable markup must be a native button or link.

UI-206 default: error accessibility INVALID_INTERACTIVE_ELEMENT

Configure

In the lint.rules block of ui.json. It accepts message, exclude; see the policy for what the entries match.

ui.json JSON
"no-invalid-interactive-element": ["error", { "message": "...", "exclude": ["resources/views/legacy/**"] }]
terminal
php artisan ui:check --explain no-invalid-interactive-element

Suppress one line

blade
{{-- ui-lint-disable-next-line no-invalid-interactive-element: reason --}}