This is an example of how you can style and wrap regular anchor links with the href attribute to create navigation points which track progress and take you to various points in the document.
It is often desirable to provide an indication of where the user is in a long scrolling document. This can help the user navigate the table of contents giving context.
See the examples section for some example of how these may be used.
TODO: Add related content.
For a given scrolling box, one marker is determined to be the active marker.
When asked to run the scroll steps the active marker should be updated according to the eventual scroll location that the scroller will reach based on the current scrolling operation.
This pattern shows up in many real world use cases.
Some developers create tabs by having scrolling tab panels to switch the active tab.
As demonstrated in this document, a table of contents could take advantage of scroll markers to give the user an indication of progress.
In classic carousels or slide shows, the slide thumbnails / previews serve as links to those images / pages.