-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
27 changed files
with
568 additions
and
336 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
15 changes: 15 additions & 0 deletions
15
docs/articles/eQTL_outline_files/accessible-code-block-0.0.1/empty-anchor.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// Hide empty <a> tag within highlighted CodeBlock for screen reader accessibility (see https://github.com/jgm/pandoc/issues/6352#issuecomment-626106786) --> | ||
// v0.0.1 | ||
// Written by JooYoung Seo ([email protected]) and Atsushi Yasumoto on June 1st, 2020. | ||
|
||
document.addEventListener('DOMContentLoaded', function() { | ||
const codeList = document.getElementsByClassName("sourceCode"); | ||
for (var i = 0; i < codeList.length; i++) { | ||
var linkList = codeList[i].getElementsByTagName('a'); | ||
for (var j = 0; j < linkList.length; j++) { | ||
if (linkList[j].innerHTML === "") { | ||
linkList[j].setAttribute('aria-hidden', 'true'); | ||
} | ||
} | ||
} | ||
}); |
Large diffs are not rendered by default.
Oops, something went wrong.
15 changes: 15 additions & 0 deletions
15
docs/articles/flash_mash_files/accessible-code-block-0.0.1/empty-anchor.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// Hide empty <a> tag within highlighted CodeBlock for screen reader accessibility (see https://github.com/jgm/pandoc/issues/6352#issuecomment-626106786) --> | ||
// v0.0.1 | ||
// Written by JooYoung Seo ([email protected]) and Atsushi Yasumoto on June 1st, 2020. | ||
|
||
document.addEventListener('DOMContentLoaded', function() { | ||
const codeList = document.getElementsByClassName("sourceCode"); | ||
for (var i = 0; i < codeList.length; i++) { | ||
var linkList = codeList[i].getElementsByTagName('a'); | ||
for (var j = 0; j < linkList.length; j++) { | ||
if (linkList[j].innerHTML === "") { | ||
linkList[j].setAttribute('aria-hidden', 'true'); | ||
} | ||
} | ||
} | ||
}); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.