Comments on Parenthetical Asidenotes Things that Eric A. Meyer, CSS expert, writes about on his personal Web site; it's largely Web standards and Web technology, but also various bits of culture, politics, personal observations, and other miscellaneous stuff 2025-10-29T00:20:29Z https://meyerweb.com/eric/thoughts/2025/10/28/parenthetical-asidenotes/feed/atom/ By: Eric Meyer Eric Meyer http://www.meyerweb.com/ https://meyerweb.com/eric/thoughts/?p=5657#comment-4144777 2025-10-29T00:20:29Z 2025-10-29T00:20:29Z John, that gets back to this bit from the post:

My thinking is, the parenthetical text should be the base state, with some HTML to flag the bit that’s an asidenote, and then CSS is applied in supporting browsers to lay out the text as an asidenote.

What I was perhaps not sufficiently clear about is that when I say “parenthetical text”, I mean the text with its associated parentheses.

That way, if the CSS doesn’t load for some reason, or in browsers sufficiently old or limited to not understand generated content (both still roam Sir Tim’s Web!), or in search engine crawlers that don’t execute CSS, the parentheses will still be present.

]]>
By: John John https://meyerweb.com/eric/thoughts/?p=5657#comment-4144638 2025-10-28T20:53:30Z 2025-10-28T20:53:30Z Rather than trying to remove the parens from the inline note when shown as as an aside note, why not use css to add parens when it’s an inline note?

So the markup is:

<span class="asidenote">by which I mean a utility role, not an ARIA role</span><sup></sup>

with css like:

@supports not (anchor-name: --main) {
    #thoughts article .asidenote + sup {
        display: none;
    }
        #thoughts article .asidenote::before{
            content: "("
        }
        #thoughts article .asidenote::after {
            content: ")"
        }
}
]]>
By: Parenthetical Asidenotes – Hubert Souchaud Parenthetical Asidenotes – Hubert Souchaud https://hubertsouchaud.wordpress.com/2025/10/28/parenthetical-asidenotes/ https://meyerweb.com/eric/thoughts/?p=5657#comment-4144528 2025-10-28T18:12:38Z 2025-10-28T18:12:38Z […] « Parenthetical Asidenotes » via Eric Meyer [en] […]

]]>