Game development · Accessibility · WCAG

WCAG and game accessibility: how to make an accessible web game

More and more clients ask us for games that meet WCAG. It happens most often with educational games for schools and institutions, projects for the public sector, games financed from EU funds and training games for large companies. This guide explains what WCAG means for a browser game, which parts of a game need the most attention, how to deal with the canvas problem, how to test and document accessibility, and what the law in the EU and Poland actually says. At the end we look at when it makes sense to bring in a team that has done this before.

· Practical guide

By

Czytaj wersję polską →

A browser game with large readable buttons, captions and a keyboard focus outline

What is WCAG and why does it matter for games?

WCAG (Web Content Accessibility Guidelines) is the W3C standard for accessible web content. The current version, WCAG 2.2, was published on 5 October 2023. Most requirements in tenders and laws refer to level AA. If you build to WCAG 2.2 AA, you also cover almost everything from WCAG 2.1 AA, which is still the version named in European standards and Polish law. One old criterion about parsing was removed in 2.2, as the W3C notes on its What's new in WCAG 2.2 page.

WCAG was written for websites and apps, so some criteria fit games well and some need careful interpretation. That is why game teams also use game-specific guidelines, which we cover later.

When does a game have to meet WCAG?

Public bodies in Poland

Under the Polish act on digital accessibility of public bodies' websites and mobile apps, a public body has to make its website, its mobile app and the elements it manages accessible according to the annex to the act, which is based on WCAG 2.1. The requirements are considered met when the body follows points 9, 10 and 11 of the Polish standard that introduces EN 301 549 V3.2.1. A browser game published by a school, a museum, a ministry or a municipality is part of its website, so in practice the same rules apply.

In 2023 the government proposed excluding browser games from the act. The amendment that came into force on 17 April 2023 added an exclusion for complex technical diagrams, but the current list of exclusions does not mention games. A public body can still decide, after an analysis described in the act, that full accessibility of a given element would mean disproportionate costs. Even then it has to make that element as accessible as possible. Public bodies also publish an accessibility statement (deklaracja dostępności) for each website and app.

Public sector in the EU

With this act Poland implemented the EU Web Accessibility Directive (2016/2102), which applies to public sector websites and apps in every EU country. The harmonised standard for it is EN 301 549 V3.2.1, which draws on WCAG 2.1.

European Accessibility Act

The European Accessibility Act (Directive 2019/882) has applied since 28 June 2025. In Poland it was implemented by the act of 26 April 2024 on accessibility of certain products and services. Its scope is a closed list of products and services, such as computers, smartphones, e-books, banking, passenger transport and e-commerce. Games are not a category on that list. Lawyers point out that some parts of a game can still fall within scope, for example in-game purchases or subscriptions sold to consumers as e-commerce, or player chat that works as a communication service. Microenterprises that provide services are exempt in the Polish act. If your game sells something to consumers, ask a lawyer how this applies to you.

EU funds, tenders and company policies

Projects financed from EU funds in Poland follow accessibility standards that include a digital standard based on WCAG 2.1. Public tenders and grant programmes often add WCAG 2.1 or 2.2 AA to the requirements. Many large companies also expect WCAG for internal tools, e-learning and training games. Read the exact wording in your tender or contract, because that is what you will be checked against.

What WCAG 2.2 AA means in a game

Here are the criteria that matter most in browser games, with practical examples:

  • Contrast. Normal text needs a contrast ratio of at least 4.5:1, large text 3:1. Buttons, icons and other important graphics need at least 3:1 against the background.
  • Text size and zoom. Players should be able to enlarge text to 200% without losing content. In a game that usually means a text size option and a UI that can scale.
  • Keyboard and switch control. Every function should work with a keyboard, without traps, and with a visible focus. People who use switch devices that send key presses also benefit from it.
  • Drag and gestures. If the game uses dragging, offer a simple alternative such as tapping the item and then the target. WCAG 2.2 added a criterion for this.
  • Target size. Clickable targets should be at least 24 by 24 CSS pixels or have enough space around them. Bigger is better in games.
  • Time limits. Players should be able to turn off, adjust or extend time limits. WCAG has an exception for cases when the time limit is essential, but in learning games a mode without a timer is usually the right choice.
  • Pause. Moving, blinking or auto-updating content that lasts longer than five seconds should have a way to pause, stop or hide it. In a game this is a pause button that really stops everything.
  • Flashing. Nothing should flash more than three times in any one second unless the flashes stay below the thresholds. Be careful with explosions, damage effects and screen shakes.
  • Captions and sound. Dialogue and important sounds need captions or subtitles. If sound starts on its own and lasts longer than three seconds, players need a way to pause it or change its volume.
  • Colour. Do not rely on colour alone. Add shapes, icons or text, so colour blind players can tell teams, correct answers and dangers apart.
  • Clear language and instructions. Short sentences, consistent names for actions and a tutorial that players can repeat.
  • Status messages. Important changes such as a score, a correct answer or the end of a level should reach screen reader users. This is the WCAG criterion on status messages.

Some useful options go beyond level AA but help many players: reduced motion that follows the system setting, remappable controls, difficulty and speed settings, and a high contrast mode.

The canvas problem: why screen readers do not see your game

Most browser games, made in Unity, Godot, Defold or other engines, draw everything inside one canvas element. To a screen reader the canvas is a picture with no buttons, no text and no structure. Automated checkers also cannot look inside it. So a game that looks great can be completely silent for a blind player.

There are a few ways to solve this, and we often combine them:

  • HTML layer for menus and dialogs. Menus, settings, instructions, quizzes and results are real HTML buttons and text placed over the canvas. Screen readers, keyboards and zoom then work as on any website.
  • Accessible mirror of the game state. A set of hidden but focusable HTML elements that describes what is happening in the game, for example the current question, the available answers or the player's position.
  • ARIA live regions. With a live region you can announce short messages like "Correct answer, 3 points" or "Level complete" without moving focus.
  • Text alternatives. Images that carry meaning get a text description, and the canvas gets a label and fallback content that explains what it is.

Planning this layer from the start is much easier than adding it to a finished game. We build browser games in Defold and other engines, and in accessible projects we design the HTML layer together with the game screens.

Some game types, such as fast action games, are very hard to make fully accessible. In that case agree with the client which parts must meet WCAG (menus, instructions, learning content) and offer an accessible alternative for the rest, for example a text based mode or a quiz version of the same content.

Game accessibility guidelines worth knowing

WCAG tells you what web content needs. Game teams also use two practical references:

  • Game Accessibility Guidelines. A free set of guidelines split into basic, intermediate and advanced levels, with examples from real games.
  • Xbox Accessibility Guidelines. Microsoft's guidelines for game developers, covering text, contrast, audio, input, difficulty and more.

A well known example from big games is The Last of Us Part II. Naughty Dog shipped it with more than 60 accessibility settings, including full control remapping, high contrast display, text to speech and navigation assistance. A small web game needs far fewer options, but the approach is the same: give players control.

How to test an accessible game

  1. Automated checks. With tools like axe and Lighthouse you can catch many problems in the HTML parts of the game. You will not find problems drawn on the canvas this way, because these tools check only the page structure.
  2. Keyboard only. Unplug the mouse and play the whole game. Check focus order, visible focus and that nothing traps the player.
  3. Screen readers. Test with NVDA on Windows, VoiceOver on Mac and iPhone and TalkBack on Android.
  4. Contrast and zoom. Check colours with a contrast checker and play at 200% zoom and with large text settings.
  5. Flashing and motion. Review effects frame by frame where needed, and test with reduced motion turned on.
  6. Players with disabilities. Feedback from real users is the most valuable. After even a few sessions you will see problems that no checklist finds.

Documentation: accessibility statement and conformance report

Public bodies in Poland publish an accessibility statement for their website or app, using an EU template explained on gov.pl. In the statement the body lists what is accessible, what is not and why, and how users can report problems. Companies and tenders outside the public sector often ask for a conformance report instead, for example a VPAT based on WCAG or EN 301 549. In both cases the studio should give you a list of tested criteria, known limitations and the planned fixes.

When is it worth going to a specialist?

You can apply many of these tips yourself. It pays to work with a studio or an auditor that has done accessible games before when:

  • a tender or grant requires WCAG 2.1 or 2.2 AA, or EN 301 549, and someone will check it,
  • the game is for a school, a public institution or an EU funded project,
  • you need an accessibility statement or a conformance report,
  • the game is complex, with timing, drag and drop, animation or a lot of audio,
  • the client plans an external audit before acceptance.

The most important tip: plan accessibility before the first screens are designed. Fixing contrast, controls and the HTML layer in a finished game takes much more work than building them in from the start. In the brief, write the exact standard and level, who will play and how you will test. In our guide on how to outsource game development you will find help with the rest of the brief.

If you are planning a game for learning, see also our guides to educational game development and corporate training games.

Working with Codeward

Codeward is a game studio from Kraków with many client projects behind it. We have made games that had to meet accessibility requirements, and we know how to combine a canvas game with an accessible HTML layer, captions, keyboard control and clear documentation. If your game has to meet WCAG, send us the requirements and we will suggest how to approach it.

FAQ

Questions about WCAG and accessible games

Can a game meet WCAG?

Yes, especially browser games with menus, quizzes, puzzles and turn based play. The key is to plan accessibility from the start: contrast, keyboard control, adjustable timing, captions and an HTML layer that screen readers can read. Fast action games are harder, so agree with the client which parts must conform and offer an accessible alternative for the rest.

Which version of WCAG should a game meet?

Check your tender or contract first. European standards and Polish law for public bodies still refer to WCAG 2.1 AA. WCAG 2.2 AA is the newest version and covers almost everything from 2.1, so building to 2.2 AA is a safe choice.

Do games on public websites in Poland have to be accessible?

The act on digital accessibility covers public bodies' websites, mobile apps and the elements they manage, and the current list of exclusions does not mention games. In 2023 the government proposed excluding browser games, but the amendment that came into force did not include that change. A public body can rely on disproportionate costs after an analysis, but it still has to make the element as accessible as possible.

Does the European Accessibility Act apply to games?

Games are not one of the product or service categories in the European Accessibility Act. Some parts of a game can still be covered, for example in-game purchases sold to consumers as e-commerce or player chat. Ask a lawyer if your game sells anything to consumers in the EU.

Why can't screen readers read my HTML5 game?

Most HTML5 games draw everything on a canvas element, which is a picture to a screen reader. To fix this, put menus and text in real HTML over the canvas, add an accessible description of the game state and announce important events with ARIA live regions.

Are time limits allowed in an accessible game?

Players should be able to turn off, adjust or extend time limits. WCAG has an exception for cases when the time limit is essential to the activity, but in learning and training games a mode without a timer is usually the best solution.

How do you test game accessibility?

Combine automated tools like axe or Lighthouse for the HTML parts with manual tests: keyboard only, screen readers such as NVDA and VoiceOver, contrast checks, 200% zoom and review of flashing effects. Players with disabilities give the most valuable feedback in test sessions.

What are the Game Accessibility Guidelines?

They are free, game-specific guidelines split into basic, intermediate and advanced levels. Teams use them together with the Xbox Accessibility Guidelines for things WCAG does not describe in detail, such as difficulty options, remappable controls and subtitles in games.

Is it more expensive to make a game accessible later?

Usually yes. Changing colours, controls, timing and the HTML layer in a finished game means redoing work. Planning accessibility in the brief and the first designs is much easier.

About the author

Paweł Jarosz is a game developer in Kraków with over 13 years of experience, the founder of Codeward and Community & Content Manager at the Defold Foundation. He builds games and shares practical tutorials on the Unfolding Gamedev YouTube channel.

Does your game have to meet WCAG?

Codeward is a game development studio in Kraków. We build browser games that have to meet accessibility requirements, for public institutions, education and companies. Send us the requirements from your tender or brief, and we will reply as soon as we can.

What should you send us?

  • The accessibility requirement: WCAG 2.1 or 2.2, level AA, EN 301 549.
  • Who will play and on which devices.
  • Whether you need an accessibility statement or a conformance report.
  • The deadline and any audit planned by the client.