Skip to content

Commit

Permalink
Add missing a11y attributes (#2564)
Browse files Browse the repository at this point in the history
  • Loading branch information
davwheat committed Jan 24, 2021
1 parent be16341 commit 14dc46e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions js/src/forum/components/DiscussionListItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ export default class DiscussionListItem extends Component {
</Link>

<span
tabindex="0"
role="button"
className="DiscussionListItem-count"
onclick={this.markAsRead.bind(this)}
title={showUnread ? app.translator.trans('core.forum.discussion_list.mark_as_read_tooltip') : ''}
Expand Down

0 comments on commit 14dc46e

Please sign in to comment.