1. Government Frontend Component Guide
  2. Button
  3. With aria label
Button example

With aria label

How it looks

How to call this example

<%= render "govuk_publishing_components/components/button", {
  text: "Button",
  aria_label: "Button with custom label"
} %>