ARIA attributes allow for that.
https://developer.mozilla.org/en-US/docs/Web/Accessibility/A...
Example code.
https://stackoverflow.com/questions/26032089/in-html-how-can...
Note that the very SO thread you linked to goes immediately to doing position/clipping tricks right after mentioning aria-label.
[1] https://www.tpgi.com/short-note-on-aria-label-aria-labelledb...
I wonder if a whitespace <div> with a right aria-label could fit the bill.
Further point, in case you still disagree whether it makes sense for CSS to include the ability or not: CSS supports pseudo-elements but that doesn't mean tags in your page should be turned into pseudo-elements just because you can.
Aria-label only works on interactive elements. I believe except the div has a `role`, screenreaders will ignore the label.
Everything I've seen still does clip, or positions the content off the side of the page, or something like that. How is this not just an alternative "display" value, or an additional property?
There's been a "speak" property floating around in one of those theoretical CSS modules that would accomplish this but as far as I know it has zero uptake among implementers.