- From: Krzysztof Maczyński via GitHub <sysbot+gh@w3.org>
- Date: Wed, 26 Jan 2022 05:31:50 +0000
- To: public-css-archive@w3.org
Yes! But on what element? If there is already an element encompassing exactly the fragment you want to link to, probably adding an `a` around it would be overkill in most cases. But if not, what do you use? There is the generic block-level container `div` and the generic inline-level container `span`, so they could say: use one of those, depending on how you want it treated, if the contents are all inline-level, and always `div` otherwise. But that's both a more complex set of guidelines and overloading `div` and `span` with yet more semantic roles, whereas a `href`less `a` is already perfect for the job and specified to fulfill it in earlier versions and other branches of (X)HTML. So I stick to it and hope others will too. -- GitHub Notification of comment by ByteEater-pl Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6957#issuecomment-1021882352 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 26 January 2022 05:31:51 UTC