@@ -121,12 +121,12 @@ export class CommentItem extends LitElement {
121121 .userWebsite = ${ this . comment ?. spec . owner . annotations ?. website }
122122 .ua = ${ this . comment ?. spec . userAgent }
123123 >
124- <butto n slot= "action" class = "icon-button group -ml-2" type = "button" @click = "${ this . handleUpvote } " >
124+ <butto n slot= "action" class = "icon-button group -ml-2" type = "button" @click = "${ this . handleUpvote } " aria-label = ${ msg ( 'Upvote' ) } >
125125 <div class= "icon-button-icon" >
126126 ${
127127 this . upvoted
128- ? html `<i slot= "icon" class = "i-mingcute-heart-fill size-4 text-red-500" > </ i> `
129- : html `<i slot= "icon" class = "i-mingcute-heart-line size-4" > </ i> `
128+ ? html `<i slot= "icon" class = "i-mingcute-heart-fill size-4 text-red-500" aria-hidden = "true" > </ i> `
129+ : html `<i slot= "icon" class = "i-mingcute-heart-line size-4" aria-hidden = "true" > </ i> `
130130 }
131131 </ div>
132132 <span class= "icon-button-text" > ${ `${ this . upvoteCount || 0 } ` } </ span>
@@ -137,19 +137,19 @@ export class CommentItem extends LitElement {
137137 this . comment ?. status ?. visibleReplyCount === 0
138138 ? ''
139139 : html `
140- <butto n slot= "action" class = "icon-button group" type = "button" @click = "${ this . handleShowReplies } " >
140+ <butto n slot= "action" class = "icon-button group" type = "button" @click = "${ this . handleShowReplies } " aria-label = ${ msg ( 'Show replies' ) } >
141141 <div class= "icon-button-icon " >
142- <i slot= "icon" class = "i-tabler:message-circle size-4" > </ i>
142+ <i slot= "icon" class = "i-tabler:message-circle size-4" aria-hidden = "true" > </ i>
143143 </ div>
144144 <span class= "icon-button-text" > ${ this . comment ?. status ?. visibleReplyCount || 0 } </ span>
145145 </ butto n> `
146146 }
147147 ${
148148 this . configMapData ?. basic . withReplies
149149 ? html `
150- <butto n slot= "action" class = "icon-button group" type = "button" @click = "${ this . handleToggleReplyForm } " >
150+ <butto n slot= "action" class = "icon-button group" type = "button" @click = "${ this . handleToggleReplyForm } " aria-label = ${ this . showReplyForm ? msg ( 'Cancel reply' ) : msg ( 'Add reply' ) } >
151151 <div class= "icon-button-icon " >
152- <i slot= "icon" class = "i-tabler:message-circle-plus size-4" > </ i>
152+ <i slot= "icon" class = "i-tabler:message-circle-plus size-4" aria-hidden = "true" > </ i>
153153 </ div>
154154 <span class= "icon-button-text" > ${ this . showReplyForm ? msg ( 'Cancel reply' ) : msg ( 'Add reply' ) } </ span>
155155 </ butto n> `
0 commit comments