- From: Lea Verou via GitHub <sysbot+gh@w3.org>
- Date: Thu, 07 Dec 2017 00:34:32 +0000
- To: public-css-archive@w3.org
> I believe it's considered bad practice to link a page to itself, so a:not([href]) should suffice in that case. We tend to value reality over philosophical purity. Pretty much every website does this at some point, usually via navigation menus. Forcing them to add more templating logic or JS to detect which page is the current one and remove the `href` there is exactly what I'm trying to avoid with this proposal. > Intra-page links can be addressed with a[href^="#"] or a[href*="#"]. If they are part of a navigation menu, they also include a path to the current page, see above re: that. -- GitHub Notification of comment by LeaVerou Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2010#issuecomment-349821861 using your GitHub account
Received on Thursday, 7 December 2017 00:34:36 UTC