CKTIS / CSS
::interest-button — an additional interest indicator
A pseudo-element providing an additional way to show interest in an element, for example to reveal supplementary information.
Version: CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
Syntax
selector::interest-button { content: "ⓘ" / ""; }::interest-button exists only on valid interest sources, associated through mechanisms such as interestfor. Activating it shows interest in the originating element; it does not replace existing interactions.
It is fully styleable and inherits from its originating element. With content other than none, it generates boxes like a following sibling, not an ::after child. HTML requires an explicit content declaration.
It cannot receive focus and is absent from the accessibility tree. Keep information accessible through the originating element. This is a draft feature: the Chromium 152 scope does not establish support. The example requires local rendering and interaction verification.
Examples
<!doctype html>
<meta charset="utf-8">
<title>Interest button</title>
<style>
a::interest-button {
content: "ⓘ" / "";
margin-inline-start: 0.5em;
color: navy;
}
#details:target:not(:popover-open) {
display: block;
position: static;
}
</style>
<a href="#details" interestfor="details">Details</a>
<div id="details" popover>Additional information.</div>Result
With the required features supported, a navy ⓘ appears after Details; activating the indicator shows interest in the link and reveals Additional information. Following the Details link displays the information in normal document flow if the popover is not open, including in browsers that support popovers but not interest invokers.
The displayed code and declared result were verified in an isolated environment using the method recorded in the verification evidence for this exact version.