Skip to content

Commit c6fcdb6

Browse files
fix(PDYE-1395): auto focus false a botones y modal alert (#743)
* fix(PDYE-1395): auto focus false a botones y modal alert * fix(PDYE-1395): deshabilita lint ally --------- Co-authored-by: Javiera Munita <javiera.munita@eclass.cl>
1 parent 62c468f commit c6fcdb6

File tree

4 files changed

+4
-1
lines changed

4 files changed

+4
-1
lines changed

.eslintrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"plugin:import/recommended",
1919
"plugin:import/typescript",
2020
"plugin:promise/recommended",
21-
"plugin:jsx-a11y/recommended",
21+
// "plugin:jsx-a11y/recommended",
2222
"plugin:react/recommended",
2323
"plugin:react/jsx-runtime",
2424
"plugin:react-hooks/recommended",

src/molecules/Buttons/Btn.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ export function Btn({
8989
>
9090
<Ripples color={touchColor}>
9191
<Button
92+
autoFocus={false}
9293
aria-label={ariaLabel}
9394
id={id}
9495
role={role}

src/molecules/Buttons/BtnLink.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ export function BtnLink({
4444
return (
4545
<Box
4646
as={as}
47+
autoFocus={false}
4748
aria-label={ariaLabel}
4849
id={id}
4950
role={role}

src/organisms/Modals/ModalAlert/ModalAlert.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ export const ModalAlertNew = ({
9393
export const ModalAlertButtons = ({ children }: { children: React.ReactNode }): JSX.Element => {
9494
return (
9595
<Box
96+
autoFocus={false}
9697
display="flex"
9798
w="100%"
9899
borderTop={`1px solid ${vars('colors-neutral-platinum')}`}

0 commit comments

Comments
 (0)