Skip to content

Commit

Permalink
fix: Add type="button" to Disclosure component (#456)
Browse files Browse the repository at this point in the history
  • Loading branch information
pcberg authored Sep 3, 2024
1 parent 06ebe73 commit 5e049c7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/PageContent/Disclosure/Disclosure.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ const Disclosure = ({
className="rvt-disclosure__toggle"
onClick={toggleDisclosure}
aria-expanded={isOpenState ? "true" : "false"}
type="button"
>
{title}
</button>
Expand Down

0 comments on commit 5e049c7

Please sign in to comment.