freenowtech / freenowtech/wave

Tabs are not accessible with Keyboard

Open
#94 2 comments 0 reactions 0 assignees View on GitHub
a11y bug
Dominant language
TypeScript
Stars
67
Forks
31
Avg merge
1d 8h
Merged PRs (30d)
4

Description

- `@freenow/wave` version: 1.0.7

### Relevant code

```js

setCurrentTab(tabs.get("online"))}
selected={currentTab === tabs.get("online")}
>
Online (10)

setCurrentTab(tabs.get("offline"))}
selected={currentTab === tabs.get("offline")}
>
Offline (20)

```

### What you did

Testing the keyboard a11y of my application I realize I can't focus on tabs

### Reproduction

https://www.loom.com/share/b10da983dcfe423aa8a822e436827dc2
https://codesandbox.io/s/wave-playground-tabs-p8m72

### Problem description

Tabs are interactive elements thus they should be reachable using the keyboard

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.