Skip to content

Commit 6ae0b07

Browse files
committed
docs(plugin-kanban): say a card that neither drags nor opens is not a button, without the reserved word
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FEkQ5mW5PFQoLHxgbsuizT
1 parent e22e358 commit 6ae0b07

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

‎content/docs/frontend/plugins/plugin-kanban.mdx‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,9 +159,10 @@ export function useBoard(initialColumns: KanbanColumn[]) {
159159

160160
A host that owns the card click (`onRowClick`) and knows it opens nothing for
161161
these cards passes the React prop `rowOpensRecord={false}` to `ObjectKanban`: a
162-
card that cannot be dragged then is no control at all (no `button` role, no tab
163-
stop, no Enter/Space activation, no pointer, hover lift or title hover), and a
164-
card that can keeps its grab cursor and its drag semantics. The click still reaches `onRowClick`. Absent
162+
card that cannot be dragged then is no control at all: it is not a button,
163+
takes no tab stop, ignores Enter and Space, and draws no pointer, hover lift or
164+
title hover. A card that can be dragged keeps its grab cursor and its drag
165+
semantics. The click still reaches `onRowClick`. Absent
165166
(or `true`), every card is drawn as before. It is a host prop, not a schema
166167
key: list metadata cannot set it. The console passes `false` for a view
167168
authored `navigation: { mode: 'none' }` and for an object whose data API serves

0 commit comments

Comments
 (0)