Add correct role to interactive element

Co-authored-by: Garret Alfert <alfert@wevelop.de>
This commit is contained in:
2024-03-20 14:32:37 +01:00
parent dd2bdd5332
commit fc044df9fd
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -6,7 +6,6 @@ module.exports = {
rules: { rules: {
'simple-unless': false, 'simple-unless': false,
'no-nested-interactive': false, 'no-nested-interactive': false,
'no-invalid-interactive': false,
'no-html-comments': false 'no-html-comments': false
}, },
@@ -1,6 +1,6 @@
<li data-reimbursement-id={{@reimbursement.id}} <li data-reimbursement-id={{@reimbursement.id}}
class="{{item-status @reimbursement}}" class="{{item-status @reimbursement}}"
{{on "click" this.toggleExpenseDetails}}> role="button" {{on "click" this.toggleExpenseDetails}}>
<p class="meta"> <p class="meta">
<span class="recipient"> <span class="recipient">
<UserAvatar @contributor={{@reimbursement.contributor}} /> <UserAvatar @contributor={{@reimbursement.contributor}} />