Quickstart

Quickstart: Make your finance widget accessible

A funding widget must be usable by everyone — semantic HTML, keyboard support and a live region for the quote result get you to WCAG. This recipe gives you the exact code, uses only the unauthenticated public ring, and links to the endpoints and the application flow so the reader always has a next step.

2 min read

semanticReal buttons and links
keyboardFully operable
live regionAnnounce the quote

Build it semantically

<form aria-label="Business finance quote">
  <label for="amt">Amount</label>
  <input id="amt" type="number" min="1000" max="150000" />
  <button type="submit">Get quote</button>
  <output id="result" aria-live="polite"></output>
</form>

Use a real <form>, <label>, <button> and <output>. The aria-live="polite" region announces the quote to screen readers when it updates.

Focus and contrast

Keep a visible focus ring, ensure text meets contrast ratios, and never trap keyboard focus. The apply link must be a real <a href> to apply so it works without JavaScript.

Frequently asked questions

What's the most-missed accessibility issue?

Announcing the quote result. Put it in an aria-live region so screen-reader users hear the figure update, not just sighted users.

Does the widget need JavaScript to be accessible?

The apply link should work without it. Progressive enhancement means the core action degrades gracefully if scripts fail.

Funding for UK limited companies

Credicorp lends to your company, not to you personally — short-term working capital with no personal guarantee. See what your business could access.