Skip to content

Commit b78b53c

Browse files
authored
fix: set img role to thumbnail container
a follow up on discourse#77
1 parent d968d18 commit b78b53c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascripts/discourse/components/topic-list-thumbnail.gjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ export default class TopicListThumbnail extends Component {
8989
(if this.hasThumbnail "has-thumbnail" "no-thumbnail")
9090
}}
9191
>
92-
<a href={{this.url}} aria-label={{this.topic.title}}>
92+
<a href={{this.url}} role="img" aria-label={{this.topic.title}}>
9393
{{#if this.hasThumbnail}}
9494
<img
9595
class="background-thumbnail"

0 commit comments

Comments
 (0)