fix(a11y): chips, grips, the panel tab and Back to top keep the focus somewhere real
- F5: a chip's × pressed from the keyboard hands the focus to the next chip (else the previous one, else what follows) before it unmounts — in DismissibleChip, so all five chip rows get it (`focusNeighbour` in lib/useFocusKeeper). - F4: a drag grip names what it lifts (`common.order.dragNamed`: panel groups, personal views); the two generic "Drag to reorder" keys are gone. - F6: the side panel's edge tab is out of the Tab order while the card covers it, names its panel, and a keyboard pin moves the focus into the card. - F7: Back to top is no Tab stop while hidden, and a keyboard press leaves the focus on the page.
This commit is contained in:
@@ -62,7 +62,11 @@ function ViewRow({
|
||||
selected ? "bg-accent/15" : "state-layer"
|
||||
}`}
|
||||
>
|
||||
<DragHandle label={t("views.reorder")} {...attributes} {...listeners} />
|
||||
<DragHandle
|
||||
label={t("common.order.dragNamed", { name: view.name })}
|
||||
{...attributes}
|
||||
{...listeners}
|
||||
/>
|
||||
<Pressable
|
||||
selectable
|
||||
onClick={onSelect}
|
||||
|
||||
Reference in New Issue
Block a user