diff --git a/.changeset/25883-pencil-focus-reveal.md b/.changeset/25883-pencil-focus-reveal.md new file mode 100644 index 00000000000..268721e1452 --- /dev/null +++ b/.changeset/25883-pencil-focus-reveal.md @@ -0,0 +1,12 @@ +--- +'@object-ui/plugin-detail': patch +--- + +fix(plugin-detail): the record page's inline-edit pencil shows on keyboard focus, not only on hover + +Clause-②: no +Metadata-protocol: none + +In read mode, the pencil beside an editable field (in the details body and in the highlights strip) was transparent until the pointer hovered its field. The pencil is a real button, so a keyboard user tabbing through the record landed on a control they could not see, focus ring included. It now also shows while it has keyboard focus, or while anything else in its field does. Hover, the row's hint and double-click to edit are unchanged. + +What to do: nothing. diff --git a/ui/packages/plugin-detail/src/DetailSection.tsx b/ui/packages/plugin-detail/src/DetailSection.tsx index c250f9bfcac..c17491491fa 100644 --- a/ui/packages/plugin-detail/src/DetailSection.tsx +++ b/ui/packages/plugin-detail/src/DetailSection.tsx @@ -747,7 +747,10 @@ export const DetailSection: React.FC = ({