Skip to content

Commit

Permalink
changed div to ul for accessibility issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Cara-Barter committed Nov 9, 2023
1 parent dc996d0 commit 34296b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Form/NextPrevious.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function NextPrevious({ numberOfSteps, onClickCallback, sitename }) {
}

return (
<div role="list" className="flex w-full justify-between p-2">
<ul className="flex w-full justify-between p-2">
{activeStepNumber > 0 ? (
<button
type="button"
Expand Down Expand Up @@ -52,7 +52,7 @@ function NextPrevious({ numberOfSteps, onClickCallback, sitename }) {
</Link>
</div>
)}
</div>
</ul>
)
}

Expand Down

0 comments on commit 34296b2

Please sign in to comment.