Skip to content

Commit

Permalink
Update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
lauzadis committed Jul 1, 2024
1 parent f09bf02 commit 9ee4f5f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/dokka-presets/templates/base.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<@resources/>

<script>
<#-- Fix for accessibiliy violation: "Provide a mechanism for skipping past repetitive content" -->
// Fix for accessibiliy violation: "Provide a mechanism for skipping past repetitive content"
document.addEventListener('DOMContentLoaded', function() {
function insertSkipLink(element) {
const skipLink = document.createElement('div');
Expand Down Expand Up @@ -76,7 +76,7 @@
observer.observe(document.body, observerConfig);
});
<#-- Fix for accessibilty violation: "Ensure all interactive functionality is operable with the keyboard" -->
// Fix for accessibilty violation: "Ensure all interactive functionality is operable with the keyboard"
window.onload = function() {
const navButtons = document.querySelectorAll('.navButton');
Expand Down Expand Up @@ -113,6 +113,7 @@
</script>

<script>
// Fix for accessibility violation: "Ensure pages reflow without requiring two-dimensional scrolling without loss of content or functionality"
document.addEventListener('DOMContentLoaded', function() {
const MIN_WINDOW_SIZE = 550
Expand Down

0 comments on commit 9ee4f5f

Please sign in to comment.