Skip to content

Instantly share code, notes, and snippets.

Last active May 30, 2018
What would you like to do?
window.onload = function() {
.with-css {
pointer-events: none;
user-select: none;
-webkit-touch-callout: none;
<div class='with-css'>With CSS</div>
<div aria-hidden="true">HIDDEN</div>
<div role="none">none</div>
<div role="presentation">presentation</div>
<div role="none" aria-disabled="true">disabled</div>
<div role="none" aria-label="other label">init label</div>
<div class='with-css' role='none'>Mixed CSS</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment