Difference between revisions of "ARIA Listbox"

From Level Access Web Labs
Jump to navigation Jump to search
Line 59: Line 59:
 
         resetSelection();
 
         resetSelection();
 
         obj.setAttribute('aria-selected','true');
 
         obj.setAttribute('aria-selected','true');
        document.getElementById("lb1").value = obj.textContent;
 
 
         document.getElementById("lb1").setAttribute("aria-activedescendant",newActive);
 
         document.getElementById("lb1").setAttribute("aria-activedescendant",newActive);
 
         }
 
         }

Revision as of 19:18, 20 October 2014

  • Uses aria-activedescendant

ARIA Listbox

  • iOS
  • Android
  • Windows Phone