Skip to content

Commit

Permalink
FIX: bug on no tab index on form summary
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremiahUy committed Jan 30, 2025
1 parent 20b2aaa commit e05ca77
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/frontend/src/components/PvkDokument/OversiktView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ const FormSummaryPanel = (props: IFormSummaryPanelProps) => {
return (
<FormSummary.Answer key={title}>
<FormSummary.Value>
<Link onClick={onClick} className="cursor-pointer">
<Link onClick={onClick} className="cursor-pointer" tabIndex={0}>
{title}
</Link>
</FormSummary.Value>
Expand Down
2 changes: 1 addition & 1 deletion apps/frontend/src/components/PvkDokument/SendInnView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export const SendInnView = (props: IProps) => {

<RisikoscenarioSummary />

<div className="mt-5 max-w-[75ch]">
<div className="mt-5 mb-3 max-w-[75ch]">
<TextAreaField
rows={3}
noPlaceholder
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export const ArtOgOmFangSummary = (props: IProps) => {
<FormSummary.EditLink
className="cursor-pointer"
onClick={() => updateTitleUrlAndStep(2)}
tabIndex={0}
>
Endre svar
</FormSummary.EditLink>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export const InvolveringSummary = (props: IProps) => {
<FormSummary.EditLink
className="cursor-pointer"
onClick={() => updateTitleUrlAndStep(3)}
tabIndex={0}
>
Endre svar
</FormSummary.EditLink>
Expand Down

0 comments on commit e05ca77

Please sign in to comment.