Skip to content
Brok UI

Loading…

No results

Lint UI-203

no-modal-bypass

Use <brok:dialog> instead of a raw <dialog> or a hand-rolled modal.

UI-203 default: warning accessibility MODAL_BYPASS

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-modal-bypass": ["warning", { "message": "...", "exclude": ["resources/views/legacy/**"] }]
terminal
php artisan ui:check --explain no-modal-bypass

Suppress one line

blade
{{-- ui-lint-disable-next-line no-modal-bypass: reason --}}