tabindex=-1 on h2s

This commit is contained in:
Heydon Pickering 2017-08-28 12:09:59 +01:00
parent 5c64a6b161
commit a8909fe90a
3 changed files with 3 additions and 1 deletions

View File

@ -59,6 +59,7 @@
if (id) {
var newHeading = heading.cloneNode(true);
newHeading.setAttribute('tabindex', '-1');
var container = document.createElement('div');
container.setAttribute('class', 'h2-container');

File diff suppressed because one or more lines are too long

View File

@ -59,6 +59,7 @@
if (id) {
var newHeading = heading.cloneNode(true);
newHeading.setAttribute('tabindex', '-1');
var container = document.createElement('div');
container.setAttribute('class', 'h2-container');