|
|
|
|
|
by vivegi
1092 days ago
|
|
Name Anchors has been a thing in HTML for a very long time (at least since HTML 2.0 spec [1], if not earlier). <a name="myanchor"><h3>Things to do</h3></a>
If the CMS supports name anchors, you can just bookmark it as https://example.com/foo.html#myanchor
Of course, authors are not mandated to follow named anchors for their document fragments, so this is just a best practice.[1]: https://www.w3.org/MarkUp/html-spec/html-spec_7.html#SEC7.4 |
|
Sadly most web devs don't give a damn about accessibility anymore :(
Especially not in the React and Angular based ecosystems and toolchains. Server-side rendering was popular for a while, but even then the generated HTML codes were pretty useless for A11y focussed products.