diff options
author | Joas Schilling <coding@schilljs.com> | 2022-07-14 14:30:52 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2022-07-14 14:30:52 +0300 |
commit | 3d8ad1ca8cf417385c1677005ddb87757f971237 (patch) | |
tree | 669c9f1fa3fb7fa903b0548fcb9013a22108cca1 /src | |
parent | 87a9b07d911c33a5edefa494d1ad678d461ec15e (diff) |
Remove invalid role and tabindex
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/components/RightSidebar/Participants/ParticipantsList/Participant/Participant.vue | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/RightSidebar/Participants/ParticipantsList/Participant/Participant.vue b/src/components/RightSidebar/Participants/ParticipantsList/Participant/Participant.vue index 3fc7ea85a..463fdb023 100644 --- a/src/components/RightSidebar/Participants/ParticipantsList/Participant/Participant.vue +++ b/src/components/RightSidebar/Participants/ParticipantsList/Participant/Participant.vue @@ -28,8 +28,8 @@ 'isSearched': isSearched, 'selected': isSelected }" :aria-label="participantAriaLabel" - :role="isSearched ? 'listitem' : ''" - :tabindex="isSearched ? 0 : -1" + :role="isSearched ? 'listitem' : undefined" + :tabindex="isSearched ? 0 : undefined" v-on="isSearched ? { click: handleClick, 'keydown.enter': handleClick } : {}" @keydown.enter="handleClick"> <!-- Participant's avatar --> |