Skip to content
Brok UI

Loading…

No results

Lint UI-207

require-motion-guard

Animation utilities need a reduced-motion guard.

UI-207 default: warning accessibility UNGUARDED_MOTION

Configure

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

ui.json JSON
"require-motion-guard": ["warning", { "message": "...", "exclude": ["resources/views/legacy/**"] }]
terminal
php artisan ui:check --explain require-motion-guard

Suppress one line

blade
{{-- ui-lint-disable-next-line require-motion-guard: reason --}}