Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion GitHubA11yFixes.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ function onNodeAdded(target) {
} else if (res[1] == "compare") {
// Branch selector buttons.
// These have an aria-label which masks the name of the branch, so kill it.
for (elem of target.querySelectorAll("button.branch"))
for (elem of target.querySelectorAll("button.js-menu-target"))
elem.removeAttribute("aria-label");
}
if (["pull", "commit"].indexOf(res[1]) >= 0 && res[2]) {
Expand Down