6 lines
153 B
TypeScript
6 lines
153 B
TypeScript
export const removeTabIndex = (document: Document) => {
|
|
document.querySelectorAll('a').forEach((a) => {
|
|
a.setAttribute('tabindex', '-1');
|
|
});
|
|
};
|