We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 00b6288 commit ab7bdb8Copy full SHA for ab7bdb8
1 file changed
MonorailA11yFixes.user.js
@@ -10,9 +10,7 @@
10
// ==/UserScript==
11
12
function fixStar(node) {
13
- node.setAttribute("role", "checkbox");
14
- node.setAttribute("aria-checked",
15
- (node.src.indexOf("star_on.gif") == -1) ? "false" : "true");
+ node.setAttribute("aria-label", node.getAttribute("title"));
16
}
17
18
function makeHeading(elem, level) {
0 commit comments