remove focus set as it nullifies the selection change as selection moves with focus in a listbox
authorRichard Schwerdtfeger <schwer@us.ibm.com>
Tue, 25 Jun 2013 10:14:15 -0500
changeset 262 de76609fc870
parent 261 14f742e992d1
child 263 ec619e351b1d
child 264 f5b464087423
remove focus set as it nullifies the selection change as selection moves with focus in a listbox
ARIA/1.0/tests/test-files/testcases-multiselectable/testcase-listbox-multiselectable-A.html
ARIA/1.0/tests/test-files/testcases-multiselectable/testcase-listbox-multiselectable-B.html
ARIA/1.0/tests/test-files/testcases-multiselectable/testcase-listbox-multiselectable-C.html
ARIA/1.0/tests/test-files/testcases-multiselectable/testcase-multiselectable-D.html
--- a/ARIA/1.0/tests/test-files/testcases-multiselectable/testcase-listbox-multiselectable-A.html	Tue Jun 25 10:10:09 2013 -0500
+++ b/ARIA/1.0/tests/test-files/testcases-multiselectable/testcase-listbox-multiselectable-A.html	Tue Jun 25 10:14:15 2013 -0500
@@ -39,7 +39,6 @@
       
      function setFocus() {
        var node = document.getElementById('ID_TARGET');  
-       node.focus();
        node.setAttribute("aria-selected","true");
      }
      
--- a/ARIA/1.0/tests/test-files/testcases-multiselectable/testcase-listbox-multiselectable-B.html	Tue Jun 25 10:10:09 2013 -0500
+++ b/ARIA/1.0/tests/test-files/testcases-multiselectable/testcase-listbox-multiselectable-B.html	Tue Jun 25 10:14:15 2013 -0500
@@ -39,7 +39,6 @@
       
      function setFocus() {
        var node = document.getElementById('ID_TARGET');  
-       node.focus();
        node.setAttribute("aria-selected","false");
      }
      
--- a/ARIA/1.0/tests/test-files/testcases-multiselectable/testcase-listbox-multiselectable-C.html	Tue Jun 25 10:10:09 2013 -0500
+++ b/ARIA/1.0/tests/test-files/testcases-multiselectable/testcase-listbox-multiselectable-C.html	Tue Jun 25 10:14:15 2013 -0500
@@ -39,8 +39,6 @@
       
      function setFocus() {
        var node = document.getElementById('ID_TARGET');  
-//       node.setAttribute("aria-selected","true");
-  //     node.focus();
        node.setAttribute("aria-selected","true");
      }
      
--- a/ARIA/1.0/tests/test-files/testcases-multiselectable/testcase-multiselectable-D.html	Tue Jun 25 10:10:09 2013 -0500
+++ b/ARIA/1.0/tests/test-files/testcases-multiselectable/testcase-multiselectable-D.html	Tue Jun 25 10:14:15 2013 -0500
@@ -28,7 +28,6 @@
            node=document.getElementById('ID2');
            node.setAttribute("aria-selected", "true");
            node=document.getElementById('ID3');
-           node.focus();
            node.setAttribute("aria-selected", "true");
         }
         e.stopPropagation();