elinks icon indicating copy to clipboard operation
elinks copied to clipboard

Missing fragment error for HTML5 tags

Open veraldo opened this issue 1 year ago • 4 comments

Hi! I've noticed some "skip to content" links might throw a "The requested fragment '#id' doesn't exist" for sites using HTML5

I found the problem happening with the "main" and "article" tags but there might be others

P.s.: by the way, unrelated to the fragment issue but still about HTML5, a suggestion would be to support landmarks, either in a selection list or shortcuts, like this extension https://addons.mozilla.org/en-US/firefox/addon/landmarks/ dunno if something similar is already achievable by a configuration option

Thanks!

veraldo avatar Jan 07 '24 01:01 veraldo

Could you create minimal sample html page, which demonstrate error?

rkd77 avatar Jan 07 '24 09:01 rkd77

@rkd77 here's a sample document

https://veraldo.github.io/html5example.github.io/

Thank you for the attention

veraldo avatar Jan 07 '24 18:01 veraldo

Thanks. With these ^ two commits fragments are clickable.

rkd77 avatar Jan 07 '24 19:01 rkd77

I can confirm, this issue affected internal links browsing Python online documentation, and these commits fix it.

smemsh avatar Mar 07 '24 08:03 smemsh