diff options
Diffstat (limited to 'docs/public/make-scrollable-code-focusable.js')
-rw-r--r-- | docs/public/make-scrollable-code-focusable.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/public/make-scrollable-code-focusable.js b/docs/public/make-scrollable-code-focusable.js new file mode 100644 index 000000000..6fbf1eebe --- /dev/null +++ b/docs/public/make-scrollable-code-focusable.js @@ -0,0 +1,3 @@ +Array.from(document.getElementsByTagName("pre")).forEach((element) => { + element.setAttribute("tabindex", "0"); +}); |