Skip to content

Commit

Permalink
Add tooltip and aria label for the drawer button.
Browse files Browse the repository at this point in the history
  • Loading branch information
DrJKL committed Sep 4, 2023
1 parent ce6117c commit 58c6767
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/components/PromptCrafterAppBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,13 @@ export function PromptCrafterAppBar({
}
return (
<>
<IconButton aria-label="" onClick={toggleWildcardTree}>
<Forest />
</IconButton>
<Tooltip title="Browse available wildcards">
<IconButton
aria-label="Wildcard Drawer Toggle"
onClick={toggleWildcardTree}>
<Forest />
</IconButton>
</Tooltip>
<Typography className="flex-auto select-none" variant="h5" component="h1">
Prompt Crafter
</Typography>
Expand Down

0 comments on commit 58c6767

Please sign in to comment.