Skip to content

Commit 6b67d70

Browse files
authored
Merge branch 'main' into statically_discoverable
2 parents 2792b10 + 929e2d3 commit 6b67d70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dist/a11y.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ return JSON.stringify({
215215
};
216216
}),
217217
screen_reader_classes: captureAndLogError(() => {
218-
return document.querySelectorAll('.sr-only, .visually-hidden').length > 0;
218+
return document.querySelectorAll('.sr-only, .visually-hidden', '.screen-reader-text', '.element-invisible').length > 0;
219219
}),
220220
form_control_a11y_tree: captureAndLogError(() => {
221221
const attributes_to_track_regex = /^(aria-.+|type|id|name|placeholder|accept|autocomplete|autofocus|capture|max|maxlength|min|minlength|required|readonly|pattern|multiple|step)$/i;

0 commit comments

Comments
 (0)