Description
Attribute tabindex gets overwritten in ModalDialog, when using IE 8,9,10.. It works fine in FF, Chrome.
This breaks chances of creating accessability by using tab.
See attachment for testproject, which works in ff,chrome, fails in ie 8,9,10.
1) Open modallink (lightbox)
2) use tabbutton - in ff, chrome you'll tab between closebutton and content, in ie this fails cause tabindex gets overwritten by -1.
I suspect it's this codepart in modal.js that does it.
if (Wicket.Browser.isIE()) {
this.disabledTabsRevertList = [];
for (var j = 0; j < this.tabbableTags.length; j++) {
var tagElements = doc.getElementsByTagName(this.tabbableTags[j]);
for (var k = 0 ; k < tagElements.length; k++) {
// if this is not an iframe window and the element is child of window content,
// don't disable tab on it
if (win.isIframe() === true || this.isParent(tagElements[k], win.content) === false)
}
}
}