Skip to content

ally.js

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

# ally.query.shadowHosts

finds all elements hosting a ShadowRoot.

# Usage

var elements = ally.query.shadowHosts({
  context: '.within-filter-selector',
});

# Arguments

Name Type Default Description
context <selector> documentElement The scope of the DOM in which to search. The first element of a collection is used.

# Returns

Array of HTMLElement.

# Changes

# Contributing