Side menu "Add block" (+) not usable with keyboard (hover-only, Tab captured, Enter/Space)
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Accessibilité débutants
- 55/100
- Type d'issue
- Bug
- Clarté
- Plutôt claire
- Activité
- Calme
- Stack technique
- react, typescript
- Domaine
- accessibility, frontend
Piste de recherche
Start by locating the side-menu implementation, especially SideMenu.Button and the editor's Tab keyboard handling. Reproduce the issue using only caret movement, Tab, Enter, and Space without hovering. Done means the side menu appears for the focused block, remains reachable by keyboard, and its buttons open the expected menu through keyboard and screen-reader interaction.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Discussed in https://github.com/TypeCellOS/BlockNote/discussions/2577
Originally posted by Ovgodd March 20, 2026
What’s broken?
Problem
The “Add block” (+) and the 6 dots optionbutton in the left margin:
- Mostly appears on mouse hover : little or no access with keyboard only.
- Tab rarely reaches it: the editor captures Tab for indenting blocks, with no exception for the side menu
- Enter / Space often don’t open the insert menu when the handler is on the icon instead of the actual button.
What did you expect to happen?
The + button should appear and be reachable without mouse hover, Tab should focus it when the side menu is visible, and Enter/Space should open the insert menu like a click, including with a screen reader.
Steps to reproduce
- Open a document without hovering the margin.
- Move the caret with the keyboard : the + is often missing.
- If it appears (e.g. after hover), press Tab : focus often goes on and then disapears
- If focus is on +, Enter or Space : insert menu doesn’t always open.
BlockNote version
No response
Environment
No response
Additional context
- Show the side menu when the caret / selection is in a block (not only on
mousemove), and don’t hide it on Tab / arrow keys. - Don’t capture Tab for nesting while the side menu is shown
- Attach
onClicktoSideMenu.Button, not only the inner icon.
Contribution
- I'd be interested in contributing a fix for this issue
Sponsor
- I'm a sponsor and would appreciate if you could look into this sooner than later 💖
- Langage dominant
- TypeScript
- Étoiles
- 10.2k
- Forks
- 772
- Merge moyen
- 6 j 3 h
- PR mergées (30 j)
- 26
Guide de contribution
Ouvrir le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de TypeCellOS/BlockNote
-
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
TypeCellOS/BlockNote#2949 · 1 commentaire ·
-
a11y
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
TypeCellOS/BlockNote#2855 ·
-
a11y
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
TypeCellOS/BlockNote#2829 · 1 commentaire ·
-
a11y
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
TypeCellOS/BlockNote#2824 ·
-
a11y
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
TypeCellOS/BlockNote#2811 ·
Toutes les issues de TypeCellOS/BlockNote
Issues similaires
-
bug(cli): hapi doctor inline-media prints a fabricated B:\ helper-script path in packaged installs Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
-
Crush Ouverte
Difficulté 1/5 Moins d'une heure Accessibilité débutants 85/100
catppuccin/catppuccin#3125 ·
-
Add a SECURITY.md Ouverte
Difficulté 1/5 Moins d'une heure Accessibilité débutants 90/100
ElementsProject/cln-application#167 · 1 commentaire · 1 réaction ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
Quantco/pnpm-licenses#17 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100