Last active
February 7, 2018 07:38
-
-
Save monoblaine/f2209997aa45734cd09e4efd91002af4 to your computer and use it in GitHub Desktop.
Gitlab accessibility improvement tool
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Gitlab accessibility improvement tool | |
// @namespace https://gitlab.com/ | |
// @description Makes gitlab more accessible. | |
// @include https://gitlab.com/* | |
// @version 1 | |
// @grant none | |
// ==/UserScript== | |
(function () { | |
const elements = document.querySelectorAll('.toolbar-button, .js-md-write-button, .js-md-preview-button, .button-attach-file'); | |
for (let el of elements) { | |
el.removeAttribute('tabindex'); | |
} | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment