diff --git a/CHANGELOG.md b/CHANGELOG.md index f361f6361..0fbce1a07 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -30,6 +30,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed +- VoiceOver now reads the column name and current value for each field editor in the cell inspector. (#1490) - VoiceOver announces the active tab title when you switch between window tabs. (#1490) - Opening a query tab no longer pulls keyboard focus away from the sidebar or another control; the editor takes focus only when nothing else holds it. VoiceOver now labels the SQL editor and the Clear and Format buttons. (#1490) - The connection form opens with the Name field focused, Return or the Down arrow in the welcome search moves to the connection list, and focus returns to the list after a sheet closes, so you can set up a connection without the mouse. (#1490) diff --git a/TablePro/Views/RightSidebar/EditableFieldView.swift b/TablePro/Views/RightSidebar/EditableFieldView.swift index 8f0d36da6..72e12e174 100644 --- a/TablePro/Views/RightSidebar/EditableFieldView.swift +++ b/TablePro/Views/RightSidebar/EditableFieldView.swift @@ -120,8 +120,14 @@ internal struct FieldDetailView: View { // MARK: - Editor Dispatch - @ViewBuilder private func resolvedEditor(for kind: FieldEditorKind) -> some View { + editorContent(for: kind) + .accessibilityLabel(context.columnName) + .accessibilityValue(context.value.wrappedValue) + } + + @ViewBuilder + private func editorContent(for kind: FieldEditorKind) -> some View { switch kind { case .json: JsonEditorView(context: context, onExpand: onExpand, onPopOut: onPopOut)