In short and in plain language
Many people give a gift card for Christmas. You buy it in an online shop. You pick a picture, an amount and a short note.
This must also work with a keyboard and a screen reader. Each picture has a name in text. A counter tells you how long the note can still be.
Next to the date, the page shows how to write it. A calendar can help. But you can also type the date.
The gift card comes as a file. The file has an order that a screen reader can follow. The code is in the file as text.
When you use the code, the shop says clearly what is wrong. It also says how to fix it.
Once the last shipping date has passed, an online shop often has only one gift left that still arrives on time: the gift card. It is bought late, often on a smartphone, and it has two customers. One picks the design and the amount, writes a personal message and decides when the email goes out. The other opens a PDF days or weeks later, reads the code and types it in at checkout. People who shop with a screen reader, keyboard, voice control or strong magnification get stuck at small points along this flow: design tiles that exist only as images, a character counter that speaks on every keystroke or not at all, a calendar that does not work by keyboard, a PDF without tags and an error saying “invalid” with no hint at all. This article walks through the purchase step by step and assigns each step the WCAG 2.2 success criterion it is measured against in an audit: the design to 1.1.1, the amount to 1.3.1 and 3.3.2, the message to 4.1.3, the delivery date to 3.3.2, the PDF to clause 10 of EN 301 549 and redemption to 3.3.1 and 3.3.3.
Key takeaways
- 30 percent of respondents plan to buy gift cards for Christmas, more than for any other product category (HDE consumer barometer); the gift card flow therefore belongs in every seasonal shop audit.
- Design tiles are a real radio group with fieldset and legend: arrow keys change the selection, and each tile carries the name of its design as text (W3C, WCAG 2.2, SC 1.1.1).
- The character counter on the personal message is a status message under 4.1.3: role=status, announced after a typing pause, and overlong text is reported instead of silently cut off (GOV.UK Design System).
- The delivery date needs the expected format, such as MM/DD/YYYY, in the hint (W3C, Understanding 3.3.2); a calendar dialog is an extra, and typing the date remains possible.
- The PDF gift card is a document under clause 10 of EN 301 549: heading, amount, code and validity as tagged text, the design with alt text, the document language set (ETSI, EN 301 549 V4.1.1).
- At redemption, the message names the field, the cause and the fix in text (W3C, WCAG 2.2, SC 3.3.1 and 3.3.3); the deducted amount is announced via role=status without moving focus.
Why the gift card has two customers
No other product category is planned as a Christmas gift as often as the gift card. In a survey by the Handelsblatt Research Institute commissioned by the German Retail Federation HDE and carried out by YouGov among 2,098 people from October 13 to 15, 2026, 30 percent said they plan to buy gift cards, more than for any other category asked about (HDE consumer barometer). People buy late: 74 percent only start buying most of their Christmas gifts in November or December, and 12 percent not until mid-December (HDE consumer barometer). For these late purchases, the gift card is often the only choice that still arrives in time, because it travels by email instead of by parcel. HDE expects online sales in November and December to reach 23.1 billion euros (HDE, forecast 2026).
What makes the gift card special: it is used twice, by two people, in two formats. The buyer works through a configurator in the shop. The recipient gets an email with a PDF and redeems the code later at checkout, often on a different device and without knowing the shop beforehand. At the end of 2025, a good 7.8 million people with severe disabilities lived in Germany (Destatis), and a good third of them (34 percent) were 75 or older (Destatis). Whether a barrier hits the buyer or the recipient is something the shop cannot know in advance. The flow therefore has to work at both ends: in the configurator and in the document that arrives at the end.
Legally, selling gift cards in an online shop is an e-commerce service. The German Accessibility Act applies to such services when they are provided to consumers after June 28, 2025 (Section 1 BFSG). This means digital services offered via websites and apps that are provided at the individual request of a consumer with a view to concluding a consumer contract (Section 2 BFSG). They are accessible when people with disabilities can find, access and use them in the generally customary way, without particular difficulty and, in principle, without outside help (Section 3 BFSG). For e-commerce, the ordinance also requires payment functions to be perceivable, operable, understandable and robust (Section 19 BFSGV). In our reading, the field in which a gift card is redeemed as a means of payment is part of this; we are not aware of any court ruling on the question.
Micro-enterprises that offer or provide services are exempt (Section 3 BFSG). These are businesses with fewer than ten employees and an annual turnover or balance sheet total of no more than 2 million euros (Section 2 BFSG). What the reform of the Disability Equality Act may mean for businesses outside the BFSG is covered in our article on reasonable accommodation. Who exactly falls under the Act and which evidence it requires is summarized under BFSG requirements.
The flow in six steps
Gift card configurators look different from shop to shop, but almost all of them follow the same sequence. For an audit, we split it into six steps, each with the criterion it fails most often in practice:
- Choose a design: tiles as a radio group, each with the name of the design as text (1.1.1 and 1.3.1, level A).
- Set the amount: fixed amounts plus a free field with a visible range (3.3.2, level A).
- Write the message: a text field with a character counter that is announced as a status message (4.1.3, level AA).
- Pick the delivery date: a date field with a stated format, the calendar as an extra (3.3.2, level A).
- Receive the PDF: a gift card with tags, alt text and document language (EN 301 549, clause 10).
- Redeem the code: a labeled field at checkout with an error message and a suggested fix (3.3.1, level A, and 3.3.3, level AA).
Focus and target size run across all steps. Any keyboard-operable interface needs a mode of operation in which the focus indicator is visible (W3C, WCAG 2.2, SC 2.4.7), and targets for pointer input are at least 24 by 24 CSS pixels or have enough spacing from the next target (W3C, WCAG 2.2, SC 2.5.8). If a session expires while someone is writing the message, the rules on adjustable time limits apply, which we covered in our article on countdowns, timers and pop-ups.
Choosing a design: a radio group with a text alternative
The design picker is usually a row of image tiles: winter forest, stars, gift box. Technically it is a choice where exactly one option applies, in other words a radio group. The W3C describes a radio group as a set of checkable buttons of which no more than one can be checked at a time (W3C, ARIA Authoring Practices Guide). If the shop builds the tiles as clickable div elements, everything that makes a radio group is missing: role, name, state and arrow-key operation. A screen reader user then hears three images or nothing at all, and only finds out which design was chosen in the PDF.
The most robust solution is a native input type="radio" for each tile, grouped in a fieldset with a legend. The image sits inside the label, with the design name as visible text below it. For WCAG, the tile is a control: if non-text content is a control or accepts user input, it needs a name that describes its purpose (W3C, WCAG 2.2, SC 1.1.1). If the name is already present as text in the label, the image gets an empty alt attribute; otherwise the screen reader reads “Winter forest, Winter forest”. If there is no visible name, the alt attribute carries it. How often this goes wrong is shown by an analysis of the most visited home pages: 16.2 percent of all images there had no alternative text (WebAIM Million 2026). In a configurator, that turns into a choice without names. This is what the group looks like in code:
<fieldset class="motif-picker">
<legend>Choose a design</legend>
<input type="radio" id="motif-forest" name="motif" value="forest">
<label for="motif-forest">
<img src="/img/gift-forest.webp" alt="">
<span>Winter forest</span>
</label>
<input type="radio" id="motif-stars" name="motif" value="stars" checked>
<label for="motif-stars">
<img src="/img/gift-stars.webp" alt="">
<span>Stars</span>
</label>
<input type="radio" id="motif-box" name="motif" value="box">
<label for="motif-box">
<img src="/img/gift-box.webp" alt="">
<span>Gift box</span>
</label>
</fieldset>The radio inputs may disappear visually as long as they stay reachable by keyboard. They are hidden with a technique that keeps them available to screen readers, not with display:none. Focus then needs a visible substitute on the tile, such as an outline with a little offset. The selected tile must not be recognizable by a different color alone, because color is not to be the only visual means of conveying information (W3C, WCAG 2.2, SC 1.4.1). A dot in the circle, a check mark or a thicker border is added. Borders and check marks need a contrast of at least 3:1 against their surroundings (W3C, WCAG 2.2, SC 1.4.11). Our article on accessible star ratings shows the same technique applied to rating stars.
Amount: fixed values and a free field
For the amount, many shops offer fixed levels plus a field for a custom value. The levels are again a radio group with its own legend, and the free field is one more option, “Other amount”. When it is selected, an input field appears below it. For WCAG this is unproblematic as long as focus stays where it is and no new page loads: changing the setting of a control must not automatically cause a change of context unless users were advised of it beforehand (W3C, WCAG 2.2, SC 3.2.2). The new field follows the option directly in the code, so the Tab key reaches it next.
What the field accepts is shown before input, not only in the error message: range, increments, currency. Labels or instructions have to be provided when content requires user input (W3C, WCAG 2.2, SC 3.3.2). In practice, that means a hint such as “Amount in euros, 10 to 300, whole euros only”, connected to the field via aria-describedby. The attribute inputmode="decimal" opens the number keypad on a smartphone, and the shop accepts a comma as the decimal separator instead of treating it as an error. Someone who types “50,–” or “50 €” means 50 euros; a tolerant field reads it that way and writes the value back in one consistent format.
If the value is outside the range, the message names the error and the way out: “The amount must be between 10 and 300 euros.” A red border without text is not enough. If an input error is automatically detected, the item in error is identified and the error is described in text (W3C, WCAG 2.2, SC 3.3.1). How the message, aria-invalid and focus work together after submission is explained in our article on forms and validation.
Personal message: the character counter as a status message
The personal message is the most personal part of the gift card and also the field with the most pitfalls. Its length is usually limited because it has to fit into the PDF. Sighted users see a counter such as “112 of 200 characters” below the field. Screen reader users only learn about it if the counter is marked up as a status message: status messages must be programmatically determinable through role or properties so that assistive technologies can present them without them receiving focus (W3C, WCAG 2.2, SC 4.1.3). How role=status and role=alert differ is explained in our article on error and status messages.
The obvious implementation, a counter with aria-live that changes on every keystroke, overshoots the goal. The W3C notes that modifying a persistent status text is usually equivalent to a new status message (W3C, Understanding 4.1.3). The screen reader then starts over with every letter and drowns out the user’s own typing. The stated intent of the criterion is to make users aware of changes without unnecessarily interrupting their work (W3C, Understanding 4.1.3). A split counter has proven itself: the visible text follows every character, and the announcement only comes when the person pauses briefly. This is also how the UK government’s design system describes it: screen reader users hear the count announcement when they stop typing (GOV.UK Design System).
<label for="gift-message">Personal message (optional)</label>
<p id="gift-message-hint">Up to 200 characters. The gift card cannot print emojis.</p>
<textarea id="gift-message" name="message" rows="4"
aria-describedby="gift-message-hint gift-message-count"></textarea>
<p id="gift-message-count">0 of 200 characters</p>
<p id="gift-message-status" class="visually-hidden" role="status"></p>
<script>
const field = document.getElementById('gift-message');
const count = document.getElementById('gift-message-count');
const status = document.getElementById('gift-message-status');
let pause;
field.addEventListener('input', () => {
const text = `${field.value.length} of 200 characters`;
count.textContent = text; // visible, on every character
clearTimeout(pause);
pause = setTimeout(() => { // announced only after a typing pause
status.textContent = text;
}, 1000);
});
</script>The second rule concerns the end of the field: overlong text is reported, not silently cut off. A hard maxlength truncates pasted text without saying so. Someone who pastes a prepared greeting from a message loses the end without noticing and only sees it in the PDF. The GOV.UK pattern allows longer input and then says that too many characters have been entered, so users can paste first and shorten afterwards (GOV.UK Design System). Only on submission does this become an error at the field. Which characters the PDF cannot display, such as emojis or characters outside the font, is stated in the hint before input, not only in an error message.
Delivery date: state the format, offer the calendar
Many shops let buyers choose whether the gift card is emailed immediately or on a specific day. The choice itself is another small radio group (“now” or “on a date”), and the date is a separate field. The W3C names exactly this case as an example for 3.3.2: a single form field for a date has instructions that state the expected format (W3C, Understanding 3.3.2). In a German shop, the hint therefore says “TT.MM.JJJJ”, the local equivalent of DD.MM.YYYY, and the shop also accepts 24.12.26 or 24.12.2026 instead of insisting on exactly one notation.
A calendar is an extra, not a replacement for the field. Custom date dialogs are demanding: they need keyboard operation within a grid, focus that moves in when the dialog opens and back when it closes, and understandable announcements for day, month and weekday. If any of this fails, the order depends on a control that only works with a mouse. The native input type="date" takes over part of this work, but it displays the date differently depending on browser and language settings. In both cases, typing remains the reliable route. The button next to the field gets a name such as “Open calendar” instead of just an icon.
Limits belong in the hint and in the message: tomorrow at the earliest, the end of the validity period at the latest, or whatever the shop provides for. If the date is in the past, the message names the earliest possible day instead of just saying “invalid date”. And the shop states when the email goes out on the chosen day. Someone who wants the gift card to reach their mother at breakfast needs to know whether it arrives at midnight or in the afternoon.
The PDF gift card: tags instead of an image
At the end of the purchase, the shop generates a PDF that goes to the buyer or directly to the recipient. For accessibility, this is a separate document and not part of the web page. EN 301 549 covers downloadable documents in clause 10 (ETSI, EN 301 549 V4.1.1) and applies the WCAG 2.2 criteria to non-web documents there, for example 1.1.1 on non-text content (ETSI, EN 301 549 V4.1.1). As technical standards for accessible PDF it names ISO 14289-1 and ISO 14289-2, better known as PDF/UA (ETSI, EN 301 549 V4.1.1). A gift card PDF is small but dense. For a screen reader to read it in the right order, it needs a tag tree that names exactly the parts the recipient is looking for:
| Part of the gift card | Tag in the PDF | What matters |
|---|---|---|
| Heading “Gift card” | H1 | marked up as a heading, not just set in large type (W3C, technique PDF9) |
| Amount | P | as text with the currency, not inside the design image |
| Code | P or Span | as real text that can be selected and copied, not as a graphic or outlines |
| Validity | P | date written out, not just as a stamp in the image |
| Personal message | P | carried over as text, in reading order after the amount |
| Design | Figure with Alt | short alt text, or an artifact if purely decorative (W3C, techniques PDF1 and PDF4) |
| Document | Lang and title | language set (W3C, technique PDF16) and a title such as “Gift card for 50 euros” |
The code is what gets lost most often. Some templates set it as a graphic, as a barcode without plain text or converted to outlines, because that seems harder to forge. To a screen reader it is then invisible, and it cannot be copied either. A barcode or QR code may stay as long as the code is also printed next to it as text. The W3C describes alt text in PDF as human-readable text that text-to-speech technology can read out for users with vision disabilities (W3C, technique PDF1). Purely decorative frames, snowflakes and lines are marked as artifacts so assistive technology skips them (W3C, technique PDF4). The document language makes sure the screen reader loads the correct pronunciation rules (W3C, technique PDF16).
Because the template is built once and filled for every gift card, one fix applies to all future PDFs. How we test templates and exports is described in our article on accessible PDF documents; the work on the template itself is handled by our PDF accessibility service. The PDF usually arrives by email. The email itself should carry the code, the amount and the validity again as text, so nobody has to open an attachment for three pieces of information. What makes an email accessible, from the lang attribute to avoiding image-only emails, is covered in our article on accessible newsletters.
Redeeming the code: an error message that helps
Weeks later, the recipient is at checkout looking for the gift card field. It is often hidden behind an “Add gift card” link that expands a field. The trigger should then be a button with aria-expanded, and the field has a visible label “Gift card code” instead of a placeholder that disappears while typing. On the most visited home pages, one third of form inputs, 33.1 percent, were not properly labeled (WebAIM Million 2026). We have already covered the basics of coupon fields in the accessible checkout; here the focus is on what happens after clicking “Redeem”.
The input itself should be as tolerant as possible. Codes are typed, read aloud, dictated by voice control or copied from the PDF. Ideally the shop itself removes or normalizes spaces, hyphens and lower case before checking. If the connected gift card system cannot do that, the message has to name the reason. WCAG requires two things here. If an input error is automatically detected, the item in error is identified and the error is described in text (W3C, WCAG 2.2, SC 3.3.1). If suggestions for correction are known, they are provided, unless this would jeopardize the security or purpose of the content (W3C, WCAG 2.2, SC 3.3.3).
The security exception matters for gift cards. A shop does not have to reveal whether a code exists, and it may limit attempts so nobody can try codes systematically. What it can say without giving anything away are format errors: “Code not found: please enter it without spaces”, “The code has 12 characters, you entered 11” or, for a recognized code, “This gift card has already been fully redeemed”. The message sits directly at the field, is connected to it via aria-describedby, and the field carries aria-invalid="true" as long as the error persists. In code it looks like this:
<label for="voucher-code">Gift card code</label>
<input id="voucher-code" name="voucher" autocomplete="off"
autocapitalize="characters" spellcheck="false"
aria-describedby="voucher-error" aria-invalid="true">
<button type="submit">Redeem</button>
<p id="voucher-error" class="field-error">
Code not found: please enter it without spaces.
</p>
<!-- sits empty in the DOM and is filled after redemption -->
<p id="voucher-status" role="status">
Gift card redeemed: 50.00 euros deducted. Still to pay: 24.90 euros.
</p>After redemption, the total changes. This change is a status message: it is announced without taking focus away from the field or the button (W3C, WCAG 2.2, SC 4.1.3). If the checkout reloads the whole page for this, focus lands at the top and the confirmation gets lost while the header is read out. If a balance remains on the card, it belongs as text in the order summary and in the confirmation email. How the summary reports changes without moving focus and catches input errors before the purchase is covered in our article on Section 312i BGB and WCAG 3.3.4. If the code comes from a promotional pop-up that disappears after a few seconds, the advice from our article on Christmas promotions with countdowns applies.
How we test the gift card flow
In an audit, we work through buying a gift card from the design picker to redemption and assess each stop on its own:
- Keyboard only: switch the design with the arrow keys, choose the amount, write the message, type the date, complete the purchase. Is focus visible at every point, and does it stay where it belongs after each action?
- Screen reader output: Are the design name, amount, counter and error message marked up as a name, role, state or status message, and is the counter announcement only updated after the typing pause rather than on every character?
- Magnification: test the configurator at a width of 320 CSS pixels, which corresponds to 400 percent zoom (W3C, WCAG 2.2, SC 1.4.10). Do tiles, counter and calendar button stay visible and usable?
- PDF: check the tag tree, reading order, alt text, document language and title; then copy the code from the PDF and paste it into the checkout.
- Redemption: enter a valid code, an already redeemed code and a mistyped code. Is every message shown as text at the field, and is the deducted amount marked up as a status message?
Every finding gets the step, the success criterion, a severity and the way to fix it. Barriers that block the purchase or the redemption come first. The test report for the whole shop comes from our WCAG audit, and the screen reader test checks what individual flows pass on to screen readers. Fixes are made in the existing template code as part of our accessible development. So that an update to the configurator does not introduce new barriers unnoticed, accessibility monitoring reports new findings that can be detected automatically. Whether names, messages and reading order make sense in context remains a manual check.
Before the shipping deadline: what can still change now
This article is published on Cyber Monday. There are only a few weeks left until the last parcels ship before Christmas, and after that the gift card is, for many customers, the only gift that still arrives in time. For 2 percent of respondents, buying most of their gifts does not start until December 23 or 24 anyway (HDE consumer barometer). A major rebuild is rarely possible in this period. Four changes can usually be made without one:
- Set names: design images with an empty alt attribute and a visible name in the label, the gift card field with a visible label instead of a placeholder.
- Calm the counter: switch the character counter announcement to a status message after a typing pause.
- Write the messages: phrase every error message for the amount, the date and the code so that it names the cause and the fix.
- Repair the template: tag the PDF template once and set the code as text; every gift card generated afterwards benefits.
Larger changes, such as a custom date dialog or a new gift card system, are better planned for January, once returns and exchanges have been handled. Anyone who wants to test the gift card flow together with the whole shop will find the process and services on our page on the accessible online shop. If you want to build forms and documents accessibly yourself in the future, our training covers development, design and editorial work.
Sources
Related Articles
Accessible returns portal: sending items back with ease
Accessible returns portal: order lookup without retyping, the address copied from the order under WCAG 3.3.7, time limits, plus QR code and label as text.
Select Menus Without Surprises: WCAG 3.2.2 On Input
WCAG 3.2.2 in online stores: why sort, language and variant menus must not reload on the first arrow key, and how an Apply button and a keyboard test fix that.
Accessible Withdrawal and Cancellation Buttons for Shops
Since 19 June 2026, § 356a BGB requires a withdrawal function. How it and the cancellation button work with keyboard, screen reader and zoom.