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.

Runs in your browser v1.0.0

1. What does it do?

most common first

2. Configure

The words people see and screen readers announce.

Appearance & state

Live preview

button

Copyable code

HTML

                    
CSS

                    

Accessibility review

checked automatically

      How 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.