PetalComponentsWeb.A11yLive (petal_components v3.0.0)

View Source

A LiveView to test the accessibility of Petal Components using :a11y_audit.

It's worth noting that this view is ugly because classes defined with @apply are not able to be processed for Phoenix Playground at this time (as far as I can tell).

To run locally: $ iex -S mix iex> Run.playground()

Summary

Functions

mount(params, session, socket)

Callback implementation for Phoenix.LiveView.mount/3.

render(assigns)

Callback implementation for Phoenix.LiveView.render/1.