I would like to update skipto.js to use the standard distribution. Right now I created a customized version of skipto.js for the APG that sets the default colorTheme to use the aria option and for displayOption the 'popup` option.
The data-skipto attribute can be put on thescript element referencing skipto.js, for example:
<script data-skipto="colorTheme:aria; displayOption:popup; containerElement:div" src="../../shared/js/skipto.js"></script>
I have created a PR 2807 in the aria-practices repository for the current production version of skipto.js.
It can also be downloaded or referenced from:
https://github.com/skipto-landmarks-headings/page-script-5/tree/main/dist