Added aria-label
to close button in announcement bar (#17169)
This commit is contained in:
parent
e3098c5e1e
commit
bcf9b9b612
@ -33,7 +33,7 @@ export function AnnouncementBar({settings = {}}) {
|
||||
return (
|
||||
<div className={className}>
|
||||
<div className="gh-announcement-bar-content" dangerouslySetInnerHTML={{__html: settings.announcement}}></div>
|
||||
<button onClick={handleButtonClick}>
|
||||
<button aria-label="close" onClick={handleButtonClick}>
|
||||
<CloseIcon />
|
||||
</button>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user