Skip to content

ally.js

JavaScript library to help modern web applications with accessibility concerns by making accessibility simpler

🔗ally.get.activeElements

Identifies the ShadowHost ancestry of the active element

🔗Usage

var elements = ally.get.activeElements();

🔗Arguments

NameTypeDefaultDescription
context<selector>documentElementThe scope of the DOM in which to search. The first element of a collection is used.
filter<selector>requiredThe significant elements to exclude from the search.

🔗Returns

Array of HTMLElement.

🔗Related resources

🔗Contributing