Side menu "Add block" (+) not usable with keyboard (hover-only, Tab captured, Enter/Space)
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 55/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Tranquilla
- Stack tecnologico
- react, typescript
- Ambito
- accessibility, frontend
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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 💖
- Lingua principale
- TypeScript
- Stelle
- 10.2k
- Fork
- 772
- Merge medio
- 6g 3h
- PR unite (30g)
- 26
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di TypeCellOS/BlockNote
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
TypeCellOS/BlockNote#2949 · 1 commento ·
-
a11y
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
TypeCellOS/BlockNote#2855 ·
-
a11y
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
TypeCellOS/BlockNote#2829 · 1 commento ·
-
a11y
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
TypeCellOS/BlockNote#2824 ·
-
a11y
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
TypeCellOS/BlockNote#2811 ·
Tutte le issue di TypeCellOS/BlockNote
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
mksglu/context-mode#1200 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
jaegertracing/jaeger-ui#4506 ·
-
area:desktop area:ui bug platform:macos
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
anthropics/claude-code#96687 ·
-
good first issue
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 95/100
AOSSIE-Org/DebateAI#582 · 2 commenti ·