mirror of
https://github.com/wagtail/wagtail.git
synced 2024-11-30 01:46:24 +01:00
Add menu role
This commit is contained in:
parent
5a945c9e61
commit
b6b43bcba2
@ -69,7 +69,7 @@ export const CommentHeader: FunctionComponent<CommentHeaderProps> = ({
|
||||
<Icon name="ellipsis-v" />
|
||||
</summary>
|
||||
|
||||
<div className="comment-header__more-actions">
|
||||
<div className="comment-header__more-actions" role="menu">
|
||||
{onEdit && <button type="button" role="menuitem" onClick={onClickEdit}>{strings.EDIT}</button>}
|
||||
{onDelete && <button type="button" role="menuitem" onClick={onClickDelete}>{strings.DELETE}</button>}
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user