Skip to content

Commit 4cfc320

Browse files
authored
Update a11y.js typo
the quotes were out of line
1 parent dc1dd79 commit 4cfc320

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', '.screen-reader-text', '.element-invisible').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)