Take in use useSemanticElements lint

This commit is contained in:
Kalle 2024-09-14 15:06:01 +03:00
parent 687b7f5126
commit 07d34e5c3e
3 changed files with 2 additions and 1 deletions

View File

@ -253,6 +253,7 @@ export function MapPoolStages({
/>
<div
className="maps__stage-name-row"
// biome-ignore lint/a11y/useSemanticElements: todo
role="group"
aria-labelledby={`${id}-stage-name-${stageId}`}
>

View File

@ -38,6 +38,7 @@ export function Tab({
className={clsx("sub-nav__link__container", { active })}
onClick={onClick}
tabIndex={0}
// biome-ignore lint/a11y/useSemanticElements: this component is deprecated
role="button"
aria-pressed="false"
data-testid={testId}

View File

@ -32,7 +32,6 @@
},
"a11y": {
"useKeyWithClickEvents": "off",
"useSemanticElements": "off",
"noLabelWithoutControl": "off"
},
"complexity": {