diff --git a/src/narration.ts b/src/narration.ts index bbf8032d..a4a7a2b1 100644 --- a/src/narration.ts +++ b/src/narration.ts @@ -828,7 +828,7 @@ export default class Narration { // Also filters out imageDescriptions if we aren't supposed to be reading them. private findAll( expr: string, - container: HTMLElement, + container: HTMLElement | undefined = undefined, includeSelf: boolean = false ): HTMLElement[] { // querySelectorAll checks all the descendants