# Gift Card Balance Checks: The Result Nobody Announces

Source: https://cartcomply.com/blog/2026-11-18-gift-card-balance-check-accessible-status.html

The shopper has a card, a PIN under a scratch panel, and a balance check box in the cart. She enters both numbers, activates check balance, and the page quietly prints the amount under the form. On screen, it worked. Through a screen reader, nothing happened, no announcement, no focus move, no confirmation the button did anything. She activates it twice more, then gives up and pays by card, and the gift card goes back in a drawer.

## Label the PIN like you mean it

Gift card forms collect two fields and routinely label neither properly, relying on placeholder text that vanishes as soon as typing starts. WCAG 3.3.2 Labels or Instructions and 1.3.1 Info and Relationships both bite here: each field needs a persistent visible label tied with the for attribute or an equivalent accessible name, plus an instruction for the PIN format, four digits, under the scratch panel, stated before the field rather than in an error afterwards.

The WebAIM Million 2025 analysis found missing form input labels on a large share of home pages tested, and cart drawers and checkout adjunct forms like gift cards are where the problem concentrates, because they are built late and tested least. A balance check is a financial interaction. It deserves the same rigour as the payment form next to it.

## The balance is a status message, so treat it as one

WCAG 4.1.3 Status Messages exists for exactly this: content that changes as a result of an action, where the change does not warrant moving focus. Put the result in a container with role status present in the DOM before the check runs, then write the balance into it. The screen reader announces the amount, focus stays on the button, and the shopper can proceed to apply the card. Writing a brand new node into the page after the click is the version that often announces nothing.

This is the same build pattern as the live region work in our [checkout address autocomplete announcements](2026-11-16-checkout-address-autocomplete-screen-reader-announcements.md) post, and it pairs with the focus discipline in [the cart drawer focus trap check](2026-11-16-cart-drawer-focus-trap-keyboard-checkout.md): announce results, move focus only when the task itself moves.

## Errors here are security shaped, write them carefully

A failed balance check should say the card details were not recognised and invite a recheck of both numbers, without confirming which field was wrong. That is not an accessibility dodge, it is standard practice for credential shaped inputs, and it still satisfies 3.3.1 because the error is described in text and both fields are identified as the items to check. Locking or throttling repeated attempts is a fraud control; tell the shopper it exists before it triggers, in the instructions, not after the third failure.

Keep reading: [checkout address autocomplete announcements](2026-11-16-checkout-address-autocomplete-screen-reader-announcements.md), [the cart drawer focus trap check](2026-11-16-cart-drawer-focus-trap-keyboard-checkout.md).

## Frequently asked questions

### Why does a screen reader not announce a gift card balance?

Usually because the balance is written into the page as plain text with no live region, so nothing tells the screen reader the content changed. Put a role status container in the page before the check runs and write the result into it, and the amount is announced without moving focus.

### What labels does a gift card form need?

A persistent visible label for the card number and one for the PIN, each programmatically tied to its field, plus format instructions stated up front, such as where the PIN is printed and how many digits it has. Placeholder text alone is not a label.

### Should a balance check move focus to the result?

No. A balance result is a status message under WCAG 4.1.3, which is designed for updates that do not move focus. Announce it through a live region and leave focus on the control the shopper just used, so they can continue to apply the card.

### How do I write a gift card error without helping fraud?

Say the card details were not recognised and ask the shopper to recheck both numbers, without stating which one failed. That describes the error in text, identifies the fields to check, and avoids confirming valid card numbers to someone guessing.
