Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No need to add href="./#NOP" to anchor tags without href attribute. #7413

Closed
kizashi1122 opened this issue Jun 3, 2020 · 1 comment
Closed

Comments

@kizashi1122
Copy link
Contributor

I don't think it is necessary to add href="./#NOP" to anchor tags without href attribute.

if added href="./#NOP" , it looks clickable (actually nothing happens).

https://github.com/roundcube/roundcubemail/blob/release-1.4/program/steps/mail/func.inc#L1246-L1249

An element without an [href] attribute is still valid.

https://www.w3.org/TR/2011/WD-html5-20110525/text-level-semantics.html#the-a-element

FYI, Gmail does nothing for that element.

@alecpl
Copy link
Member

alecpl commented Jun 6, 2020

Fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants