Skip to content

Commit 97be411

Browse files
derekriemerjcsteh
authored andcommitted
GitHub: Fix table lists in issue listings, etc. broken by yet another GitHub update. (#7)
1 parent 46967fb commit 97be411

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

GitHubA11yFixes.user.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,9 @@ function onNodeAdded(target) {
104104
onSelectMenuItemChanged(elem);
105105
}
106106
// Table lists; e.g. in issue and commit listings.
107-
for (elem of target.querySelectorAll(".table-list,.Box-body"))
107+
for (elem of target.querySelectorAll(".table-list,.Box-body,ul.js-navigation-container"))
108108
elem.setAttribute("role", "table");
109-
for (elem of target.querySelectorAll(".table-list-item,.Box-body-row"))
109+
for (elem of target.querySelectorAll(".table-list-item,.Box-body-row,.Box-row"))
110110
elem.setAttribute("role", "row");
111111
for (elem of target.querySelectorAll(".d-table")) {
112112
// There's one of these inside every .Box-body-row.

0 commit comments

Comments
 (0)