Comment

Comment by gchq-7703

> If thse are DIV what they hell are you setting tabindex — a value for focusable elements — on them for?

Seems to be because in the original example each of the divs have an 'onClick' assigned to them, so 'tabindex' is the right way to make them focusable by a keyboard user.

          <v-list-item @click="method">
            <v-list-item-title>Option 1</v-list-item-title>
          </v-list-item>
parent gchq-7703 3 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton