Skip to content

Commit

Permalink
Add id attribute to dropdown button for improved accessibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben-Rey committed Oct 9, 2024
1 parent a0e21cf commit 9c17af1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/Dropdown/Dropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ export function Dropdown(props: DropdownProps) {
{...rest}
>
<button
id="dropdownUiKitButton"
data-testid="dropdown-button"
onClick={toggleDropdown}
type="button"
Expand Down

0 comments on commit 9c17af1

Please sign in to comment.