Skip to content

Commit

Permalink
fix(a11y): dropdown Certain ARIA roles must contain particular childr…
Browse files Browse the repository at this point in the history
…en error
  • Loading branch information
ichim-david committed Jan 4, 2024
1 parent 0efc6e7 commit 8311bab
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/ui/Header/Header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,11 @@ const TopDropdownMenu = ({
id={id}
className={className}
text={() => (
<div className={`divider text ${classNameHeader}`}>
<div
role="option"
aria-selected="false"
className={`divider text ${classNameHeader}`}
>
{headerText}
</div>
)}
Expand Down

0 comments on commit 8311bab

Please sign in to comment.