-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtest.html
19 lines (16 loc) · 949 Bytes
/
test.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!doctype html>
<html>
<head>
<title>Test Page</title>
</head>
<body>
<div class="markup">
<input name="a" tabindex="3" value="has tabindex">
<button name="b" tabindex="0">Button with tabindex 0</button>
<textarea name="noindex">No tabindex here</textarea>
</div>
<div role="tooltip"><p>This div has ARIA role "tooltip"</p></div>
<a href="javascript:(function(c){var a='[tabindex=\'0\']{background:yellow}[tabindex]:before{content:attr(tabindex);color:red;font-weight:bold}[role]{background:pink}[role]:before{content:attr(role);color:green;font-weight:bold}',b=c.getElementById('a11y-css-highlight');if(b){b.disabled=!b.disabled;}else{b=c.createElement('style');b.id='a11y-css-highlight';b.type='text/css';if(b.styleSheet){b.styleSheet.cssText=a;}else{b.appendChild(c.createTextNode(a));}c.getElementsByTagName('head')[0].appendChild(b);}})(document);">Bookmarklet</a>
<!--script src="js/a11y-css.js"></script-->
</body>
</html>