How to Test Accessible Names in HTML5 Display Ads
Check the computed accessible name of the main link or button in the approved preview of your interactive display ad. It should identify the action and include the words the customer sees on the control, when it has a text label. Hold the version if the name is missing, misleading or left over from old copy.
By FroggyAds, November 25, 2026
Decide what the main control should say
An accessible name identifies the control in the information the browser exposes to assistive technology. A role identifies the kind of control, such as link or button. If your ad shows View delivery areas, check whether its main action has a name that conveys that request. A screen reader reading a list of links has less surrounding context than someone looking at the full creative.
Write one line in the brief with the actual words on the control, what activating it does and the expected role. For an ordinary link that takes the visitor to a page or a part of the current document, look for a link role. For an ordinary button that opens or closes an in-ad panel, look for a button role. Ask the designer or developer to show you the main action before the export, especially when the whole banner responds to a click and a smaller painted area looks like a separate button.
For a control with a text label, WCAG 2.2 calls for the accessible name to contain the text that is presented visually. Beginning the name with those words is the standard's recommended practice. A name that adds useful context can meet this particular requirement. The Name, Role, Value criterion also calls for a name and role that software can determine for each user interface control. If the control says View fabric colors, for example, View fabric colors for the desk chair retains the words a visitor sees and can say to speech input software. The adjacent campaign headline usually serves a different purpose from the control label.
Read the label together with the action in the creative brief. A name may match the screen and still describe the wrong action if the visible copy is wrong too. Get the claim, the action and the expected wording settled before you ask anyone to debug the markup. Our display ad design guide covers how to make that broader creative decision.
Inspect the control inside the supported preview
Find the preview your placement provider supports for reviewing the actual interactive file. Interactive HTML5 ads vary by buying route. Display & Video 360, for example, distinguishes HTML5 display ads from rich media with more advanced interaction. Confirm which controls and preview methods apply to the placement you plan to buy, including whether a static fallback or a different rendering serves in any part of the plan.
For a preview you own or are authorized to inspect in Chrome, select the actual control in the Elements panel and open the Accessibility tab. Use Computed Properties to read the current name and role. Look at its position in the accessibility tree if there is any doubt about which element you selected. A colored rectangle, a path that draws an arrow or a span wrapping the words can be a child of the real link. Select the link that performs the action to read its name.
Write down the visible wording and the computed name, then record the role, language, creative size, version and the state you opened. If the named node is a wrapper, check which actual action the wrapper performs. In an ad with an image gallery and a separate offer link, the gallery's current heading can be meaningful and still tell you very little about the role or name of the main offer control.
A basic source check can point you to the attribute a designer meant to use. The computed name tells you what the browser exposed in that rendering. If the hosted preview offers only an image or a video, use an authorized interactive preview or ask the creative owner for evidence from the affected rendering. We leave that review pending until the source of the evidence matches the version under consideration.
Find which text actually supplies the name
Start with the creative's actual link or button and note where its name comes from. In a simple link with ordinary words inside it, the content can supply the name. An author-supplied label can change this. A nonempty aria-label can take precedence over the text inside the link. If a valid aria-labelledby reference supplies the name, the browser uses the referenced text ahead of the direct label in the simple cases here. The W3C computation also accounts for the element's role and other ways that HTML can supply names.
If the name is wrong, inspect the sources for that node before asking a designer to rewrite the visible copy. Follow the reference to its target if the markup uses aria-labelledby. Look for text inherited from a shared component, an ID that still points to the old panel or an override copied from a concept that used different words. When there are several referenced IDs, their order affects the result. Record the name the browser exposed, then show the source that explains it.
Keep the accessible description separate in your notes. An ad control can have a clear name and a separate description with extra information. If the name field is empty or says something different from the visible label, finding the desired phrase in the description field leaves the naming issue open. Review the name first and decide separately whether the extra description helps explain the action.
When a permitted control has only an icon, identify its function in words. Close dimensions is a more useful name for a close button than Cross. Check that the icon is actually the control a customer can use, since a decorative arrow next to a text link may belong to that link. If a whole static fallback has a separate platform-provided click treatment, review that treatment through its supported path. Obtain that treatment's name from its own rendering.
Check the affected language and state again
Copy changes often come late. The visible link may change from View desks to See desk dimensions while the older label remains in the template. A correction in one locale can leave an override untouched in another. Read the words and the computed value together after a translation, a campaign message change or a rebuild, even when the art and the destination were approved earlier.
For an ad with a selectable configuration, identify the states where the main action is present. The first view may say See options. In the second view it may say Back to options. Those words express different directions. Inspect the actual control in each present state and check that the browser name changes with the label and action. If the main action stays the same while a nearby panel changes, see whether a reference to that panel inadvertently changes the name.
Do this at the sizes you plan to submit when the size changes the control, label or component. A wide layout can use an ordinary text link and a compact export may use an icon or a separate template. Test each that contains its own primary control. If only the position of a shared component changes, start with the versions that use different code or different words and confirm what was actually shared.
Our interactive ad keyboard guide covers focus order and the cue that shows where focus is. The ClickTag and exit guide covers the path a customer takes on activation. Keep the results next to the name check. When the name is the only thing that changed, the earlier results give your reviewer a specific place to begin the retest.
Work out the names for three shelf ad versions
Consider a hypothetical shelf seller whose interactive ad offers the assembled dimensions. The small example uses an ordinary HTML link in an owned test document and a local details section. We applied the relevant steps of the W3C name computation to the three versions. In each one, the link shows See shelf dimensions and has the role link and the same href="#shelf-details". Check the actual browser's computed value when you use this method on a supported preview.
The first version has a leftover aria-label="Browse offers". The visible label still reads See shelf dimensions. The name from the direct attribute is Browse offers. You could miss this in paired art proofs because the displayed words were already right. Inspect the attribute if your own browser preview shows the same mismatch.
In the second version the direct aria-label reads See shelf dimensions and the link also has aria-labelledby="offer-label". The paragraph with ID offer-label reads Browse offers. The name from that reference is still Browse offers. The naming source is now another element. Editing the direct label again leaves the result unchanged in this example.
In the third version the link with ID primary still reads See shelf dimensions and uses href="#shelf-details". The same paragraph and destination are present and neither naming override is on the link. The computed name under the reference method is See shelf dimensions and comes from the link text. All three versions use the same ordinary link element.
| Link in the markup example | Visible words | Expected name | Naming verdict |
|---|---|---|---|
| Old direct label | See shelf dimensions | Browse offers | Hold. The old attribute supplies the wrong name. |
| Revised direct label with a reference | See shelf dimensions | Browse offers | Hold. The referenced paragraph supplies the name. |
| Ordinary link text | See shelf dimensions | See shelf dimensions | Pass the reference check. The link text supplies the name. |
The same visible words and route can hide two different naming defects. The worked example points the creative owner to a different edit for each defect. For a live buying decision, open the supported rendering of the exact creative and confirm the name, role and visible words. Record the activation result separately. The local fragment in this example keeps the comparison independent of an advertiser's website.
Choose which creative to hold or release
For a version you plan to pay to serve, hold the affected version when the name is blank, conveys a different action or omits the words that appear on the labeled control. Give the creative owner the exact node and current source. Ask for the smallest change that restores a clear name while preserving the intended action and role. A renamed link that now describes the right action still needs to lead where those words promise.
If the campaign has several permitted creative versions and only one fails, identify the affected size, locale or state before changing your media plan. A single export with a separate broken template may be isolated. A shared label reference can affect every export. Retest the known failure and another version that shares the component. Use the output from the exact corrected version to decide which variants you can submit.
When the computed name reads well but does not start with the visible words, look for the actual visible text in the name before choosing a verdict. Additional words may already be useful where there are several similar controls. Putting the visible phrase first is often a cleaner revision if it preserves the action and context. If the name is correct but the role is missing or describes a different kind of control, send that back as a separate defect with its own evidence.
Put the approved link wording and locale beside the exact filename in your buying brief. Create your free FroggyAds account when that brief is ready to use, and give those details to the person submitting the ad.
Send the naming change back with evidence
Take one screenshot that shows the primary control at the size you reviewed, and record the name and role from the same state. Pair those with the ad version, locale and precise steps to return to the control. Add the attribute or reference you traced if you can verify it. This lets someone check the issue on the same version, control and state even when several exports share almost identical artwork.
A repair note can say that the visible label was See shelf dimensions, the name was Browse offers and the active source was the paragraph with ID offer-label. Ask the owner to correct the way that link is named, then record what the repaired version exposes. If an edit affects the link or its container, repeat the relevant focus and activation checks before handing it to the buyer.
Have a second reviewer find the control and collect the name independently when there is a choice between several visually similar interactive versions. If you also try a screen reader or speech input, record the software, browser and action you used. A browser inspection establishes the computed value in that browser. A separate assistive technology test tells you how the tested combination presented or used it.
For an agency handoff, send the final name, the visible words and the preview steps together. Check submission details in our campaign approval FAQ and set up your FroggyAds account when the version in that review is the one you are ready to submit.
Frequently asked questions
What is an accessible name in a display ad?
It is the label the browser exposes for a particular control. For the main ad link it might be See shelf dimensions. The name lets someone identify the action through assistive technology. The role is a separate value that identifies it as a link or a button.
Where do I see the computed name in Chrome?
Open the approved interactive preview you are authorized to inspect. In Chrome DevTools, select the actual link or button in Elements and open the Accessibility tab. Read Computed Properties for the current name and role. Inspect the same visible control and state that you recorded in your brief.
Does the name have to be exactly the same as the visible text?
For a control with a visible text label, WCAG 2.2 requires the name to contain the presented words and recommends putting them first. Add context when it improves understanding. If the link says View fabric colors, View fabric colors for the desk chair retains the words the visitor sees.
Can aria-label replace the words inside a link?
A nonempty aria-label can supply the computed name in place of the link text, depending on the other naming sources. In the shelf example the old offer copy supplied the name. Select the specific control and read the result after the template changes.
Why did changing aria-label leave the old name in place?
Check whether a valid aria-labelledby reference is supplying the name from another element. If it is, changing the lower priority direct label may leave the computed result unchanged. Check the referenced element and repeat the browser inspection after the owner repairs the source.
Do controls with just an icon need a name?
Give an interactive icon control a name that describes what it does, such as Close dimensions for a button that closes the details panel. A decorative icon inside an already named link serves a different purpose. Inspect the actual button or link to distinguish those cases.
Does a successful click prove the control name is correct?
A click test proves what activation did in that test. The same link can open the correct route while exposing an outdated name. A computed name check gives you the words associated with the control before activation, so record both results for the same export.
What if the preview only shows a screenshot?
Use the screenshot to record the intended visible words. Obtain a supported interactive preview or a naming readback from the creative owner for the exact requested version. Leave the name check pending until you have evidence from the rendered control.
Should I test every language?
Check each language you are preparing to serve if it changes the visible label or the template that supplies the name. The first version of a translation can inherit an older label or a reference to the original language. Record the result with the size and creative file.
Does this test establish that the entire ad is accessible?
A passing name check establishes the computed name of the selected control in the tested rendering. Test the role and behavior, focus, other controls and any relevant alternate presentations separately. Record the provider review and assistive technology checks with the exact version when those are part of your campaign requirements.
Sources
- W3C defines the Label in Name and Name, Role, Value success criteria. Web Content Accessibility Guidelines 2.2
- W3C's Recommendation describes how browsers determine accessible names and descriptions, including the simple reference and attribute cases used here. Accessible Name and Description Computation 1.1
- Chrome documents the accessibility tree and the computed properties for a selected page element. Chrome DevTools accessibility features
- Google distinguishes Display & Video 360 HTML5 display ads and rich media creatives and describes the formats within that product. Display & Video 360 HTML5 creatives