Skip to content

Commit f59a9fa

Browse files
committed
Update ElPais Accessibility Fixes to 2017.1.1: Use .textContent instead of. innerHTML for labelling controls
1 parent 4c53916 commit f59a9fa

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

ElPaisA11yFixes.user.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66
// @author Noelia Ruiz Martínez <nrm1977@gmail.com>
77
// @copyright 2017 Noelia Ruiz Martínez
88
// @license GNU General Public License version 2.0
9-
// @version 2017.1
9+
// @version 2017.1.1
1010
// @grant none
1111
// @include http://*elpais.com/*
1212
// ==/UserScript==
1313

1414
function labelControls() {
1515
for (element of document.querySelectorAll(".boton-nombre")) {
16-
label = element.innerHTML;
16+
label = element.textContent;
1717
element.parentNode.setAttribute("aria-label", label);
1818
}
1919
}

KillWindowlessFlash.user.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// @name Kill Windowless Flash
33
// @namespace http://www.jantrid.net/axSGrease/
44
// @description Makes windowless (transparent or opaque) Adobe Flash objects windowed so they have a chance of being accessible.
5+
// @description:es Incluye en una ventana los objetos Adobe Flash (transparentes u opacos) que no tienen ventana, de modo que eventualmente puedan ser accesibles.
56
// @author James Teh <jamie@jantrid.net>
67
// @copyright 2011-2012 James Teh
78
// @license GNU General Public License version 2.0

TelegramA11yFixes.user.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// @name Telegram Accessibility Fixes
33
// @namespace http://axSGrease.nvaccess.org/
44
// @description Improves the accessibility of Telegram.
5+
// @description:es Mejora la accesibilidad de Telegram.
56
// @author Michael Curran <mick@nvaccess.org>
67
// @copyright 2017 NV Access Limited
78
// @license GNU General Public License version 2.0

0 commit comments

Comments
 (0)