Skip to content

Commit

Permalink
Add correct role to interactive element
Browse files Browse the repository at this point in the history
Co-authored-by: Garret Alfert <alfert@wevelop.de>
  • Loading branch information
raucao and galfert committed Mar 20, 2024
1 parent dd2bdd5 commit fc044df
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .template-lintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ module.exports = {
rules: {
'simple-unless': false,
'no-nested-interactive': false,
'no-invalid-interactive': false,
'no-html-comments': false
},

Expand Down
2 changes: 1 addition & 1 deletion app/components/reimbursement-item/template.hbs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<li data-reimbursement-id={{@reimbursement.id}}
class="{{item-status @reimbursement}}"
{{on "click" this.toggleExpenseDetails}}>
role="button" {{on "click" this.toggleExpenseDetails}}>
<p class="meta">
<span class="recipient">
<UserAvatar @contributor={{@reimbursement.contributor}} />
Expand Down

0 comments on commit fc044df

Please sign in to comment.