Accessibility
Accessible Button Generator
Pick the interaction, describe the control, and get accessible markup, matching CSS and a plain-language review. The live preview updates as you type and nothing leaves your browser.
1. What does it do?
most common first2. Configure
The words people see and screen readers announce.
Use a real address, not #, for meaningful links.
Icon-only controls have no visible text, so this is announced instead.
Live preview
buttonCopyable code
Accessibility review
checked automaticallyHow it works
The generator picks the element that matches the task: <button> for
actions and toggles, <a href> for navigation. It adds the right
type, aria-pressed, aria-busy, target
and rel values, keeps icon-only controls named, and includes a keyboard
focus style. The preview renders the exact snippet below it, and everything stays in the
browser — the optional share link only encodes the settings in the URL fragment.