Hello,
This markup is used in different cases:
- links that are really buttons handled with javascript, which should not use a or not use href=#
- bona fide back to top links; decades ago we used to use
#top (with a custom ID on body or worse <a name="top">), but browsers standardized # to mean top of page.
I think the warning is too strong when there is a valid and widely used use case.
Hello,
This markup is used in different cases:
#top(with a custom ID on body or worse<a name="top">), but browsers standardized#to mean top of page.I think the warning is too strong when there is a valid and widely used use case.