diff --git a/aria-practices-DeletedSectionsArchive.html b/aria-practices-DeletedSectionsArchive.html index bc44a85114..45c2fb5e93 100644 --- a/aria-practices-DeletedSectionsArchive.html +++ b/aria-practices-DeletedSectionsArchive.html @@ -739,7 +739,7 @@

Keyboard Interaction

diff --git a/common/css/slices.css b/common/css/slices.css index 2f84a2753b..6b6a53d7e2 100644 --- a/common/css/slices.css +++ b/common/css/slices.css @@ -76,10 +76,10 @@ div.slices_footer { } * html .slices_skipnav { display: block -} /*Switch on for IE6 and below*/ +} *+html .slices_skipnav { display: block -} /*Switch on for IE7*/ +} :root .slices_skipnav { display: block } /*Switch on for Moz, FF and Safari*/ @@ -111,7 +111,7 @@ div.slices_footer { border: solid #777 2px; color: #fff; background: #333 !important -} /*Note IE bug that requires use of :active to mimic effect of :focus*/ +} .slices_skipnav a:hover { cursor: default } diff --git a/examples/treegrid/js/treegrid-1.js b/examples/treegrid/js/treegrid-1.js index 8a10a1d903..e973bb74ba 100644 --- a/examples/treegrid/js/treegrid-1.js +++ b/examples/treegrid/js/treegrid-1.js @@ -7,7 +7,6 @@ function TreeGrid(treegridElem, doAllowRowFocus, doStartRowFocus) { // Add tabindex="0" to first row, "-1" to other rows // We will use the roving tabindex method since aria-activedescendant - // does not work in IE var rows = getAllRows(); var index = rows.length; var startRowIndex = doStartRowFocus ? 0 : -1; diff --git a/examples/treeview/treeview-1/js/treeitem.js b/examples/treeview/treeview-1/js/treeitem.js index be5a1ec52e..1f1a348b65 100644 --- a/examples/treeview/treeview-1/js/treeitem.js +++ b/examples/treeview/treeview-1/js/treeitem.js @@ -135,19 +135,11 @@ Treeitem.prototype.handleKeydown = function (event) { case this.keyCode.RETURN: // Create simulated mouse event to mimic the behavior of ATs // and let the event handler handleClick do the housekeeping. - try { - clickEvent = new MouseEvent('click', { - view: window, - bubbles: true, - cancelable: true, - }); - } catch (err) { - if (document.createEvent) { - // DOM Level 3 for IE 9+ - clickEvent = document.createEvent('MouseEvents'); - clickEvent.initEvent('click', true, true); - } - } + clickEvent = new MouseEvent('click', { + view: window, + bubbles: true, + cancelable: true, + }); tgt.dispatchEvent(clickEvent); flag = true; break;