Difference between revisions of "ARIA Listbox"

From Level Access Web Labs
Jump to navigation Jump to search
Line 83: Line 83:
 
             document.getElementById(newActive).setAttribute('aria-selected','true');
 
             document.getElementById(newActive).setAttribute('aria-selected','true');
 
           }
 
           }
 +
        }
 
           evt.preventDefault();
 
           evt.preventDefault();
        }
 
 
       }
 
       }
 
     </script>
 
     </script>

Revision as of 15:10, 20 October 2014

  • Uses aria-activedescendant

ARIA Listbox

  • iOS
  • Android
  • Windows Phone