Skip to content

Commit

Permalink
Update emoji-button.ts
Browse files Browse the repository at this point in the history
为标签按钮添加了aria-label字段,增强无障碍
  • Loading branch information
Anyexyz committed Apr 15, 2024
1 parent ccae3d2 commit fb0f0cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/comment-widget/src/emoji-button.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export class EmojiButton extends LitElement {
}

override render() {
return html`<button class="emoji-button" type="button">
return html`<button class="emoji-button" type="button" aria-label="选择表情">
${this.emojiLoading
? html`<icon-loading></icon-loading>`
: html`<icon-emoji @click=${this.handleOpenEmojiPicker}></icon-emoji>`}
Expand Down

0 comments on commit fb0f0cd

Please sign in to comment.