In This Article
Open the settings of a browser game in Chrome on an Android phone and you may find a button that looks perfectly clear but is never announced by Android’s built-in TalkBack screen reader. When a game draws its menu straight onto a canvas, the label and the shape are only pixels. The screen reader hears about a control only if the browser knows those pixels are one.
Chrome 157 gives developers another way to build those screens. Google’s launch post calls Chrome 157 the stable release of HTML-in-Canvas, and the Chrome Releases blog lists the first Chrome 157 build for Android on November 3. That post says builds reach Google Play over the next few days, so your phone may update a little later.
Why a canvas menu can stay silent in TalkBack

A canvas is an area of a web page that a script draws graphics onto. Games use it for moving scenes because the code decides what appears in each frame, from where every object sits to which one is in front. At 60 frames per second, a new frame is due about every 16.7 ms.
The trouble starts when the game draws a button into that same image. To a screen reader, a rectangle labelled “Settings” is just part of the picture. Chrome’s launch post says assistive tools can’t read canvas pixels unless the developer builds and maintains an invisible fallback made of real HTML elements.
The button beside the reels

Browser-based slot games show the split clearly. The reels spin as part of an animated scene, but the button that opens the paytable has to work as a control. A player using TalkBack needs to hear what that button does, read the rules it opens and get back to the game screen afterwards. Not every game is built this way; this is only an illustration.
The usual workaround is to lay real HTML controls over the canvas. The launch post lists the costs. Overlays can drift or jitter against moving content, they always sit on top of the whole canvas, so they can’t go behind an object in the scene, and the developer has to recalculate their position on every frame. The other workaround, a hidden copy of the menu in plain HTML, has to be kept in step with what the game shows.
What HTML-in-Canvas gives developers
A developer puts real HTML elements inside the canvas element and marks the ones to draw. Chrome then paints them into a Canvas 2D, WebGL or WebGPU scene. According to Chrome’s developer guide for HTML-in-Canvas, the drawn elements are exposed to the accessibility tree, so screen readers can reach them, and translation and find-in-page work on that content too.
In a 2D scene, Chrome keeps each element’s position in step with its drawn pixels automatically. In WebGL and WebGPU, the developer has to pass that position along with a method called updateElementGeometry(). The guide says an element whose position is not updated is still exposed to the accessibility tree, but without position information.
Each approach moves the accessibility work somewhere different.
| Approach | What TalkBack gets | Where it gets hard |
|---|---|---|
| Controls drawn as pixels only | Nothing to announce unless the team adds hidden controls | Every label and focus stop has to be built and kept in sync by hand |
| HTML overlay on the canvas | Real buttons with roles and labels | Keeping controls aligned with moving objects, and no way to sit behind objects in the scene |
| HTML-in-Canvas | Real buttons drawn inside the scene | Browser support, plus the same label and focus work as any HTML |
Which parts still need careful design?
A screen reader can only read the label it is given, so the developer has to write a good one. A gear icon is obvious to someone looking at the screen, but its spoken label should say “Settings” so a TalkBack user knows what it does.
Focus needs attention whenever a panel opens or closes. A sensible pattern is to move focus into the panel when it opens and back to the button that opened it when it closes, so the player always knows where they are. India’s government web accessibility guidelines include a checkpoint on a related problem: if keyboard focus can move to a component, it must be possible to move it away again using only the keyboard. The W3C’s focus order success criterion adds that when the order of focus affects meaning, components should receive focus in an order that preserves it.
Before a canvas menu ships
- Spoken labels say what happens, such as “Open paytable” rather than “Icon 3”.
- Focus moves to the panel when it opens and back to the button that opened it when it closes.
- No focus traps: a keyboard or TalkBack user can always move on from any control.
- Controls stay reachable in both portrait and landscape.
A practical check on an Android phone
You can try this on any browser game, whether or not it uses HTML-in-Canvas. If TalkBack is not on yet, Google’s TalkBack setup guide links to pages on turning it on, using its gestures and browsing the web with Chrome, and TalkBack’s tutorial opens the first time you switch it on. Then work through one short task you can repeat.
- Open the game’s settings and listen for whether the button is announced as a button, with a name that matches what it does.
- Find one control inside, such as a sound toggle, and check that you can change it and hear the new state.
- Close the panel and note where focus lands. Back on the settings button is a good sign; the top of the page is not.
- If the game works in both orientations, rotate the phone and repeat. The layout may shift and leave a control out of reach.
If you have a keyboard connected, try the same steps with it, since some games support keyboard input. Notice whether the order of the controls matches the order you would use them in. Chrome supplies the API, but what you hear still depends on the game.
Why browser support still matters
Chrome’s developer guide says HTML-in-Canvas is supported from Chrome 157. The launch post tells developers to check for support before using it, and to fall back to another interface, such as a floating HTML overlay, when it is missing. A game that adopts the API needs a plan for players whose browser lacks it.
A plain HTML menu is the simplest fallback. It will not blend into the artwork as neatly, but it needs no new browser feature, and standard HTML controls are built to work with screen readers such as TalkBack.
For players
- If a game’s menus stay silent under TalkBack, updating Chrome will not fix it by itself. The studio has to adopt HTML-in-Canvas or build an accessible overlay. If you can, tell the studio which control failed and what TalkBack said.
Frequently asked questions
What is HTML-in-Canvas?
A Chrome API that lets developers draw real HTML elements, such as buttons and text, into a canvas scene built with Canvas 2D, WebGL or WebGPU. Chrome’s documentation says the elements are exposed to the accessibility tree, and translation and find-in-page work on them.
Does HTML-in-Canvas make every browser game work with TalkBack?
No. It gives developers a tool. A game only improves if its studio uses the API, writes clear labels and manages focus when panels open and close.
Which Chrome version added it?
Chrome 157. Google’s launch post calls it the stable release, and the Chrome Releases blog lists the first Chrome 157 build for Android on November 3.
How can I tell if a game supports TalkBack properly?
Turn on TalkBack, open the settings, change one control and close the panel again. If every button is announced with a sensible name and focus returns to where you started, the game handles the basics. It is a quick check, not a full accessibility audit.
Responsible gaming
Real-money games such as the slots mentioned above can cost you money, and gambling is never risk-free. Set a budget and a time limit before you play, never borrow to play, do not chase losses, and talk to someone if it stops being fun.
Where to get help
- Philippines: the PAGCOR responsible gaming page lists the regulator’s reminders for players and covers player exclusion.
- United States: call or text 1-800-MY-RESET, or chat online, through the National Problem Gambling Helpline.
What to take away
HTML-in-Canvas fixes one specific problem: canvas-drawn controls that the browser cannot expose to TalkBack. It does not write labels, order focus or cover browsers that lack it. For a player, a good result is simple. You find a button, hear what it does and keep your place after using it.
Key takeaways
- Canvas-drawn buttons are just pixels to TalkBack unless the browser exposes them as controls.
- HTML-in-Canvas, stable in Chrome 157, lets real HTML controls live inside 2D, WebGL and WebGPU scenes.
- Labels, focus order and focus return are still the developer’s job.
- To test a game, turn on TalkBack, open a panel, use one control, close it and rotate the phone.
- Keep a plain HTML menu as a fallback for browsers without support.











