Skip to content

Commit d1965bf

Browse files
committed
GitHub: Remove aria-description from things with hovercards.
1 parent a9dfb6e commit d1965bf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

GitHubA11yFixes.user.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,9 @@ const DYNAMIC_TWEAKS = [
157157
cell.setAttribute("role", "cell");
158158
}
159159
}},
160+
// Remove aria-description from things with hovercards.
161+
{selector: '[data-hovercard-url][aria-description]',
162+
tweak: el => el.removeAttribute("aria-description")},
160163
];
161164

162165
/*** Lights, camera, action! ***/

0 commit comments

Comments
 (0)