We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 320383f commit 83deaccCopy full SHA for 83deacc
GitHubA11yFixes.user.js
@@ -43,6 +43,11 @@ function onNodeAdded(target) {
43
// Single commit.
44
if (elem = target.querySelector(".commit-title"))
45
makeHeading(elem, 2);
46
+ } else if (res[1] == "blob") {
47
+ // Viewing a single file.
48
+ // Ensure the table never gets treated as a layout table.
49
+ if (elem = target.querySelector(".js-file-line-container"))
50
+ elem.setAttribute("role", "table");
51
}
52
if (["pull", "commit"].indexOf(res[1]) >= 0 && res[2] == "/") {
53
// Pull request or commit.
0 commit comments