v133 · miscellaneous

Expose attributionsrc attribute on <area>

For Attribution Reporting, the attributionsrc attribute was already unintentionally processed on <area> elements due to code shared with <a>, which intentionally supported that attribute. For completeness, we expose the attribute on <area> with identical syntax and semantics to <a> and without changing the previous processing: When an <area> tag with an attr

concepts

  1. <area attributionsrc>

    Image-map <area> elements honour attributionsrc, mirroring <a>. Click attribution for legacy image-map UIs.

  2. Image-map banner

    Three-region banner with per-area attribution URLs, plus the IDL exposure probe that this feature is really about — the chromestatus is candid that the behaviour worked but the IDL didn't.

  3. area vs anchor parity probe

    Live IDL probe comparing .attributionSrc on <a> and <area>. Before 133 the property was undefined on the area element; analytics SDKs couldn't read it back.

  4. Click attribution debugger

    Click any zone of an SVG-simulated image map. The debugger reads .attributionSrc from the hidden <area> element via IDL, shows the full IDL parity table vs <a>, and logs what the Attribution Reporting ping would contain.

why it shipped

This aligns exposure of the attribute on <area> with the existing processing behavior of the attribute, even when it wasn't exposed.

references