Files
readest/apps/readest-app/src/utils/a11y.ts
T

6 lines
153 B
TypeScript

export const removeTabIndex = (document: Document) => {
document.querySelectorAll('a').forEach((a) => {
a.setAttribute('tabindex', '-1');
});
};