demo · v133

Three-region banner with per-area attribution

A classic image-map banner with three click regions — book / film / album. Each <area> declares its own attributionsrc URL, so the Attribution Reporting API fetches the source per region. The behaviour mirrors <a attributionsrc> exactly: 133 is when the IDL exposure finally caught up to the long-shipping shared code.

Book click region Film click region Album click region
each region has a different attributionsrc URL

the IDL exposure check

The chromestatus entry is unusually candid: Chrome's renderer had been processing attributionsrc on <area> for a long time as a side effect of shared code with <a>, but the property wasn't visible on HTMLAreaElement's IDL. That meant any JS doing area.attributionSrc = "…" silently failed. 133 exposes it. The check below proves it.

checking…

see also