Table of contents
Since 2 August 2026, Article 50 of the AI Act has applied, and a realistic AI image on a company website needs a visible label. When an image needs one at all, and how the companies already labelling images handle it, we cover in our piece on how to label AI-generated images. For the labelling itself, the European Commission has released three icons.
Downloading them takes a minute, and then come the questions that neither the press release nor a LinkedIn post answers. Which icon for a photo where AI added furniture? How big, so the word GENERATED is legible on a phone? Will the 50% transparent variant pass contrast? And what do you tell a screen reader?
The three EU AI Act icons and what each one means
The Commission publishes the set on its page with the EU icons for labelling AI-generated content. Three icons, each in four variants: black, white and both at 50% transparency. The icons are part of Section 2 of the Code of Practice on Transparency of AI-generated Content, the section for deployers of AI rather than for tool providers.
All twelve files in the Commission’s set. The 50% variants only work on a flat background
| Icon | When, according to the Commission | Commission example | On a company website |
|---|---|---|---|
| AI (basic) | AI was involved in creating a deepfake or text; also when your own text label or an interactive second layer sits next to it | a video with the text “voices generated with” followed by the icon | icon plus the caption “Furniture added with AI” |
| AI GENERATED | the whole content is AI-generated, with no human-made elements or human editorial control apart from the prompt | deepfake videos with politicians or fictional events | a production hall or office visualisation straight from a generator |
| AI MODIFIED | existing human-made content partially modified with AI so that it became a deepfake | a politician’s face swapped into an authentic photo, an empty flat furnished by AI | a real team photo to which AI added a person |
The Commission also reports that the icons were user-tested, and performance improved across all measures when the icon came with a text label, such as “modified”. That is why two of the icons carry a word inside. For the same reason, an icon works best with a caption next to it.
AI GENERATED or AI MODIFIED
One question settles it: is there anything in the frame that a person made before AI touched it?
- A photo of an empty living room that AI furnished: AI MODIFIED. This is the Commission’s own example.
- A real team photo in which AI added a missing person or swapped a face: AI MODIFIED.
- An interior visualisation, a project shot or a “photo” of people who do not exist, generated from a description alone: AI GENERATED.
- A photo after colour correction, cropping or a dust spot removed: usually not a deepfake at all, so it gets no icon.
And the in-between cases? A generator given a real product photo as reference that drew a whole scene around it. The Commission gives no percentage threshold here. We ask whether the viewer is mainly looking at what a person made or at what AI added. A real product in an invented interior, where the interior passes for a place that exists? More likely MODIFIED. A scene where little of the original is left? GENERATED. If you would rather not settle it with a word on the icon, you can use the basic icon with your own caption.
Four questions in this order. The first is answered by the piece on labelling images, the other three by this one
The basic icon and your own text
The round icon with just “AI” is for those who want to describe the change in their own words. Measure 1.1 of the Code encourages saying, next to the icon or in a second layer, whether the content is generated or modified, and what exactly AI changed, for example that a face was altered. On a website in a language other than English this is often the best option: the icon plus a caption in that language. Readers then do not have to know what “modified” means.
The letters “AI” stay in English. The Code allows the national language only where national law on the use of languages in commercial or administrative matters requires it. The caption next to the icon can be in any language.
Where to place the icon on an image
Article 50(5) of the AI Act only says that the information must be provided “in a clear and distinguishable manner at the latest at the time of the first interaction or exposure” and must meet accessibility requirements. The specifics come from Measure 1.2 of the Code, which the Commission’s page summarises:
- Straight away, with no action needed. The icon must be recognisable without clicking, hovering or sustained attention (1.2.1 a).
- On the content or in an overlay that looks like part of it. Embedded in the file or placed over the image in HTML (1.2.1 c).
- Where there are no other overlays, for example in the top right corner of the image (1.2.2 a), with spacing from other elements and visible against any background (1.2.1 d).
- When downloaded and reshared. The Commission’s page says the icon must remain visible when the content is downloaded or reshared.
On a company website, then, slider arrows, a zoom button, a “New” badge and a “save to favourites” heart cannot share the corner with the icon. If the image first appears as a thumbnail in a list of posts, offers or products, that is the first exposure, so the thumbnail needs the icon too. The same goes for an image shared as a link preview on social media (og:image): it is a separate file, and the icon has to be in its pixels, because an HTML overlay does not travel to a social network. An icon that shows for three seconds and then fades also fails the rule that it must stay visible long enough. The Commission’s page adds that the time must be enough for people with cognitive or processing difficulties.
Icon size
The Commission gives no number. The icons page speaks of “a clearly visible size”, and Measure 1.1 of the Code allows different sizes as long as the label is clear and distinguishable and the proportions of the letters are preserved when resized.
The files have a built-in margin. Measured on the files from the Commission’s archive (3 December 2026), in the AI GENERATED SVG the pill itself takes up 77% of the file’s width and 47% of its height, in AI MODIFIED 72% of the width, and the circle of the basic icon 64% of the side. Set the file to 96 pixels wide in CSS, and the visible pill is 74 pixels, with the word GENERATED about 5 pixels tall in capitals. On a phone, a word that size cannot be read.
With a pill 24 pixels tall, the word GENERATED has a cap height of 8.6 pixels
That is why we size from the pill, not the file. The word GENERATED or MODIFIED has a cap height of 36% of the pill height, and the letters “AI” 48.2%. Our minimum is 24 pixels of pill height, which gives a word of about 8.6 pixels and “AI” of about 11.6 pixels. The AI GENERATED pill is then about 125 pixels wide. The same number meets the 24 by 24 pixel pointer target threshold of criterion 2.5.8 in WCAG 2.2, which comes in handy when the icon opens a second layer. On large images you can go up to 36-40 pixels.
The simplest fix for the margin is to change the viewBox in the file once, to the outline of the pill. Shape and letter proportions stay exactly the same, and letter proportions on resizing are what the Code cares about:
| File | Original viewBox |
viewBox without the margin |
|---|---|---|
| AI GENERATED | 0 0 1789.84 566.93 |
207.3 144.36 1384.24 266.41 |
| AI MODIFIED | 0 0 1700.79 566.93 |
231.11 144.36 1230.56 266.41 |
| AI (basic) | 0 0 566.93 566.93 |
89.28 100.72 365.49 365.49 |
Rename the files while you are at it. In the Commission’s ZIP they are called things like LABEL_AI GENERATED_white transparent.svg, with spaces that turn into %20 in a URL. eu-ai-generated-white-50.svg will live more comfortably in a repository.
Contrast and the variants - black, white and 50% transparency
The Code allows different styles, colour and contrast included, but among its accessibility measures it names high-contrast icons explicitly. The solid variants have contrast to spare: the black icon is white on black, 21:1, and the white one is graphite #1d1d1b on white, 16.9:1.
The transparent ones fare worse, and precisely where they seem most natural. Their letters stay solid, but the pill has 50% opacity, so its colour blends with the background.
Both 50% variants drop below 4.5:1 on exactly the background they look made for
- Black 50% on a white background: the pill turns grey, and the white letters have 3.95:1 against it.
- White 50% on a black background: the pill greys from the other side, and the dark letters have 4.27:1.
- Both on a mid grey (
#808080): the letters have 10.4:1 with black 50% and 9.3:1 with white 50%, but the pill itself stands out from the background at only 2.2-2.6:1, so the shape of the icon almost disappears.
Criterion 1.4.3 of WCAG 2.2 requires 4.5:1 for text and images of text, and 3:1 only for large text. WCAG defines large text as at least 18 point, or 14 point bold. The word GENERATED in a pill 24 pixels tall has a cap height of 8.6 pixels, so it is small text and 4.5:1 applies. And these are the figures for a flat background. On a photo, texture, leaves, sky and noise show through the semi-transparent pill, and the figure drops further.
On a website, use the solid variants: black on light scenes, white on dark ones. Keep the 50% versions for flat backgrounds where the contrast can be calculated, and do not use them on photos. And when the white icon lands on a very bright part of the image, its pill merges with the background (only the letters remain). Swap it for the black one then.
Alt text and ARIA label
The Commission’s page encourages making the icon readable by assistive technologies through alt text or an ARIA label stating that the content is AI-generated or manipulated. Measure 1.1 of the Code lists detectability of the icon by assistive technologies among its accessibility measures. In practice there are three cases.
The icon as a separate <img> over the image. It gets its own alt text in the language of the page: “AI-generated” or “Modified with AI”. The image underneath keeps its usual alt text describing the content. A screen reader reads both, one after the other. An icon set as a CSS background or embedded only in the image pixels tells a screen reader nothing, so the information then has to go into the image’s alt text or the caption.
The icon pasted inline as SVG. Then role="img" and aria-label on the <svg> element. Every file in the ZIP, however, contains a <style> block with the classes .cls-1 and .cls-2, and each variant gives them different colours. Paste the white and the black icon inline on one page, and the styles override each other: in Chromium both icons turn into blank white pills, with no letters. The conflict can also come from an entirely different SVG on the page, if it uses the same class names inside. It is safer to insert the icons as <img>, and if inline, then with renamed classes or colours written into the fill attribute.
The icon as a button for a second layer. The Commission writes that the icon should then indicate that more information is available, and the second layer itself should be navigable with assistive technologies. That means a real <button> with aria-expanded, keyboard support and a panel that does not vanish when the pointer moves away. There is also a detail from WCAG 2.2: criterion 2.5.3 requires the accessible name of a button to contain the text visible on its label. The icon shows “AI MODIFIED”, so the button name starts with “AI modified”, and your explanation follows it.
The first layer is visible without a click, the second opens with a button, the caption says the same in words
The Commission’s page also advises writing the caption and the description of changes in plain language, without jargon and without abbreviations other than “AI”. So “Photo modified with AI”, not “Content AI-manipulated (GenAI)”.
HTML and CSS code
The component assumes files with the viewBox cropped to the pill. Size and distance from the edge are calculated from the width of the image frame (the cqi unit with container-type: inline-size), so on a narrow image the icon keeps a height of 24 pixels and on a wide one grows to 40.
The basic version, an icon with no interaction:
<figure class="ai-image"> <div class="ai-image__frame"> <img src="/img/office.webp" alt="Open-plan office by the windows" width="1600" height="900"> <img class="ai-image__icon" src="/img/eu-ai-generated-white.svg" alt="AI-generated"> </div> <figcaption>Visualisation generated with AI</figcaption></figure>The version with a second layer, when you want to say what exactly AI changed:
<figure class="ai-image"> <div class="ai-image__frame"> <img src="/img/living-room.webp" alt="Living room with a grey sofa, a lamp and a bookcase" width="1600" height="900"> <button class="ai-image__badge" type="button" aria-expanded="false" aria-controls="ai-info-living-room"> <img src="/img/eu-ai-modified-black.svg" alt="AI modified"> <span class="visually-hidden"> - show what AI changed</span> </button> <p class="ai-image__info" id="ai-info-living-room" hidden>Sofa, lamp and bookcase added with AI to a photo of an empty living room.</p> </div> <figcaption>Photo modified with AI</figcaption></figure>.ai-image__frame { position: relative; container-type: inline-size;}.ai-image__frame > img:first-child { display: block; width: 100%; height: auto;}.ai-image__icon,.ai-image__badge { position: absolute; top: clamp(8px, 2.5cqi, 24px); right: clamp(8px, 2.5cqi, 24px);}.ai-image__icon,.ai-image__badge img { display: block; height: clamp(24px, 3.5cqi, 40px); width: auto;}.ai-image__badge { padding: 0; border: 0; background: none; border-radius: 999px; cursor: pointer;}.ai-image__badge:focus-visible { outline: 2px solid #0a62ff; outline-offset: 3px;}.ai-image__info { position: absolute; top: calc(clamp(8px, 2.5cqi, 24px) + clamp(24px, 3.5cqi, 40px) + 8px); right: clamp(8px, 2.5cqi, 24px); max-width: min(22rem, 80cqi); margin: 0; padding: 12px 16px; background: #fff; color: #1d1d1b;}.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;}document.querySelectorAll('.ai-image__badge').forEach((button) => { const info = document.getElementById(button.getAttribute('aria-controls')); button.addEventListener('click', () => { const open = button.getAttribute('aria-expanded') === 'true'; button.setAttribute('aria-expanded', String(!open)); info.hidden = open; }); button.addEventListener('keydown', (event) => { if (event.key === 'Escape') { button.setAttribute('aria-expanded', 'false'); info.hidden = true; } });});The button has the accessible name “AI modified - show what AI changed”, opens with a click, Enter or Space, and closes the same way or with Escape. On an image 358 pixels wide the icon is 24 pixels tall and 9 pixels from the edge, on 1200 pixels 40 and 24.
The icon in the file’s pixels
An HTML overlay survives any cropping by object-fit, but it does not leave the page. For a file someone downloads, and for the link preview image (og:image), the icon has to go into the pixels. In Node, sharp is enough:
import sharp from 'sharp';
const photo = sharp('living-room.jpg');const { width, height } = await photo.metadata();const iconHeight = Math.round(height * 0.05);const margin = Math.round(width * 0.025);const icon = await sharp('eu-ai-modified-black.svg', { density: 600 }) .resize({ height: iconHeight }) .png() .toBuffer();const { width: iconWidth } = await sharp(icon).metadata();await photo .composite([{ input: icon, top: margin, left: width - iconWidth - margin }]) .toFile('living-room-ai-modified.jpg');A height of 5% of the image gives a pill 32 pixels tall on a 1200 by 630 link preview. Keep the generator’s provenance metadata while you are at it, if you have it. In its FAQ on Article 50 of the AI Act, the Commission states clearly that the provider’s machine-readable marking does not replace a visible label, but it costs nothing either.
The icon as a component, not a discipline
Labels usually disappear because someone forgot them. That is why in a design system the AI icon is a variant of the image component: an “AI label” field with the values generated, modified, no label, and the component picks the file, alt text, caption and size on its own. The editor chooses one value when uploading the file. The rest happens by itself, including on the thumbnail and in the link preview. If you do not know how many images on your website today have an icon without alt text or no icon at all, an accessibility check of the website will surface them along the way.
Licence and download
The Commission’s page has two archives: a ZIP with 12 SVG files (1.3 to 6.5 kB) and a ZIP with 12 PNG files (7459 or 7087 by 2363 pixels for the pills, 2363 by 2363 for the circle). Use the SVGs on a website, and keep the PNGs for presentations and documents.
The licence is short. Anyone can use the icons, freely and without attribution to the Commission or the AI Office. Two caveats:
- Signatories of the Code should use the icon in line with the placement specifications in Section 2. By the end of July 2026, about 190 companies and organisations had signed the Code.
- Use of the icon by someone who has not signed the Code should not be read as adherence to it. An icon on your website is therefore not a statement that you follow the Code, nor, as the Commission writes, does it establish compliance with Article 50 by itself.
The Code also encourages publishing a short description of your labelling: which icon you use and what each variant means (Measure 2.1). With the official icons, pointing to the Commission’s description is enough. With your own mark, it is worth adding a sentence to the privacy policy or a page about your content, because a reader does not have to know what an orange star in the corner means.
We lay out the wider picture of Article 50, with chatbots, machine-readable marking in products and supervision in Poland, in our piece on what Article 50 of the AI Act changes in a product interface.
This is information, not legal advice. Legal status as of 3 December 2026: Article 50 of the AI Act has applied since 2 August 2026, and on 2 December 2026 the transitional period ended that gave providers of tools placed on the market before 2 August time for machine-readable marking under Article 50(2). The visible labelling obligation under Article 50(4) had no transitional period. In borderline cases, it is worth confirming how specific content should be classified with a lawyer.
Sources
Legislation
- European Parliament and Council of the EU Regulation (EU) 2024/1689 laying down harmonised rules on artificial intelligence (AI Act)
Authorities and institutions
- European Commission EU Icons for labelling AI-generated content
- European Commission Code of Practice on Transparency of AI-generated Content
- European Commission Transparency obligations under Article 50 of the AI Act
- W3C Web Content Accessibility Guidelines (WCAG) 2.2