Skip to content

Commit

Permalink
Added aria label for close button
Browse files Browse the repository at this point in the history
  • Loading branch information
lokmanm committed Jan 8, 2021
1 parent 98e8269 commit 736bd26
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lucky-media/react-headless-cookie",
"version": "1.0.0",
"version": "1.0.1",
"description": "This is a headless react cookie package, it comes unopinionated and without styling",
"author": "lucky-media",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion src/components/Button.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const Button = ({ children, className, style, as, ...props }) => {
}

return (
<Tag {...props} onClick={setCookie} className={className} style={style}>
<Tag aria-label="close-button" {...props} onClick={setCookie} className={className} style={style}>
{children}
</Tag>
)
Expand Down

0 comments on commit 736bd26

Please sign in to comment.