-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
In the explainer for markers, these are built as buttons with invokers. What keeps us from using simple anchor links in conjunction with scroll-behavior: smooth on the scroll container, to reach the same goal of a target element smoothly scrolling into view? Is it just because without JavaScript layer it shows up in the address bar?
<ul class="toc" focusgroup="invoke">
<li><a tabindex="-1" href="#section-1">Section 1</a></li>
<li><a tabindex="-1" href="#section-2">Section 2</a></li>
<li><a tabindex="-1" href="#section-3">Section 3</a></li>
<li><a tabindex="-1" href="#section-4">Section 4</a></li>
</ul>
<section id="section-1">...</section>
<section id="section-2">...</section>
<section id="section-3">...</section>
<section id="section-4">...</section>Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels