Skip to content

Commit

Permalink
fix: revert tabindex change (#404)
Browse files Browse the repository at this point in the history
  • Loading branch information
stefl authored Nov 28, 2024
1 parent daa7efe commit ac72713
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const ModalFooterButtons = ({
<OakLinkNoUnderline
onClick={() => closeDialog()}
element="button"
tabIndex={0}
tabIndex={1}
>
<OakSpan $font="body-2-bold" $color="black" $textDecoration="none">
Cancel
Expand Down
4 changes: 2 additions & 2 deletions apps/nextjs/src/components/Feedback/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ const FeedBack = ({
{question.question}
</label>
<textarea
tabIndex={0}
tabIndex={1}
className="h-32 w-full min-w-[300px] rounded border-2 border-black p-10"
onChange={(e) => {
setUsersResponse({
Expand All @@ -146,7 +146,7 @@ const FeedBack = ({
})}
<div className="flex justify-center">
<OakPrimaryButton
tabIndex={0}
tabIndex={1}
onClick={() => {
submitSurvey(usersResponse);
onSubmit();
Expand Down

0 comments on commit ac72713

Please sign in to comment.