A11Y: remove redundant tabindex=0 from polls (#28320)

This commit is contained in:
Kris 2024-08-12 14:42:06 -04:00 committed by GitHub
parent c0611a06e5
commit df18bcd029
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ export default class PollOptionsComponent extends Component {
@sendRank={{this.sendRank}}
/>
{{else}}
<li tabindex="0" data-poll-option-id={{option.id}}>
<li data-poll-option-id={{option.id}}>
{{#if this.currentUser}}
<button {{on "click" (fn this.sendClick option)}}>
{{#if (this.isChosen option)}}