We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6da7e3f commit b3d57fdCopy full SHA for b3d57fd
docs/dokka-presets/scripts/accessibility.js
@@ -71,6 +71,10 @@ function ensureNavButtonInteractable() {
71
const navButtons = document.querySelectorAll('.navButton');
72
73
navButtons.forEach(function(navButton) {
74
+ if (navButton.hasAttribute('aria-expanded')) {
75
+ return;
76
+ }
77
+
78
// Make the navButton focusable, add accessibility information
79
navButton.setAttribute('tabindex', '0');
80
navButton.setAttribute('role', 'button');
0 commit comments