From 4279cbe8b8267caad11fe8a9380f98204dcdcdcf Mon Sep 17 00:00:00 2001 From: Nathaniel Ledford Date: Tue, 27 Oct 2026 18:32:10 -0400 Subject: [PATCH 1/3] LR-BEHAV-ACCESS: a filmstrip thumbnail is named like the grid's cell for the same photo --- crates/ui-egui/src/panels/detail/filmstrip.rs | 21 +++--- crates/ui-egui/src/panels/grid.rs | 8 ++- crates/ui-egui/tests/it/filmstrip_names.rs | 64 +++++++++++++++++++ crates/ui-egui/tests/it/main.rs | 1 + docs/parity-checklist.md | 5 +- docs/whats-new.md | 7 ++ 6 files changed, 92 insertions(+), 14 deletions(-) create mode 100644 crates/ui-egui/tests/it/filmstrip_names.rs diff --git a/crates/ui-egui/src/panels/detail/filmstrip.rs b/crates/ui-egui/src/panels/detail/filmstrip.rs index 4a0de28cf24..46a4b013963 100644 --- a/crates/ui-egui/src/panels/detail/filmstrip.rs +++ b/crates/ui-egui/src/panels/detail/filmstrip.rs @@ -94,13 +94,15 @@ pub(crate) fn filmstrip(app: &mut LightcraftApp, ui: &mut egui::Ui, r: Rect) { } let resp = ui.interact(cr, egui::Id::unique(("film", id.0)), Sense::click()); let failed = app.renderer.thumb(*id).is_none() && app.renderer.failure(Slot::Thumb(*id)).is_some(); - crate::widgets::announce(&resp, film_spoken(app.session.catalog.photo(*id).map_or("", |p| p.file_name.as_str()), failed)); - register(ui, format!("film:{}", id.0), cr); let state = app.session.selection.state_of(*id); + let selected = state != lightcraft_engine::SelectionState::NotSelected; + // the same name as the grid's cell for this photo (file, rating, flag, label), and whether it is selected + let name = app.session.catalog.photo(*id).map(|p| crate::panels::grid::photo_spoken(&app.session.catalog, p)).unwrap_or_default(); + crate::widgets::announce_selected(&resp, film_spoken(&name, failed), selected); + register(ui, format!("film:{}", id.0), cr); let sel = state == lightcraft_engine::SelectionState::Active; let p = ui.painter(); let label = app.session.catalog.photo(*id).and_then(|ph| ph.label); - let selected = state != lightcraft_engine::SelectionState::NotSelected; let base = if selected { t.cell_selected } else if resp.hovered() { @@ -192,14 +194,15 @@ pub(crate) fn filmstrip(app: &mut LightcraftApp, ui: &mut egui::Ui, r: Rect) { }); } -/// What a screen reader says for a filmstrip thumbnail: the file, and why there is no picture +/// What a screen reader says for a filmstrip thumbnail: the photo's name as the grid says it +/// ([`crate::panels::grid::photo_spoken`]: file, rating, flag, label), and why there is no picture /// when the thumbnail failed (the painted `!` has no name of its own). The name is empty when the -/// catalog no longer has the photo (or its file name is blank); the reason then stands alone. -pub(crate) fn film_spoken(file_name: &str, failed: bool) -> String { - match (file_name.is_empty(), failed) { - (_, false) => file_name.to_string(), +/// catalog no longer has the photo; the reason then stands alone. +pub(crate) fn film_spoken(name: &str, failed: bool) -> String { + match (name.is_empty(), failed) { + (_, false) => name.to_string(), (true, true) => crate::i18n::tr("This photo can't be opened").to_string(), - (false, true) => format!("{file_name}, {}", crate::i18n::tr("This photo can't be opened")), + (false, true) => format!("{name}, {}", crate::i18n::tr("This photo can't be opened")), } } diff --git a/crates/ui-egui/src/panels/grid.rs b/crates/ui-egui/src/panels/grid.rs index 5064b8d401c..cf40eb878f0 100644 --- a/crates/ui-egui/src/panels/grid.rs +++ b/crates/ui-egui/src/panels/grid.rs @@ -770,7 +770,7 @@ fn cell(app: &mut LightcraftApp, ui: &mut egui::Ui, id: PhotoId, r: Rect, square register(ui, format!("thumb:{}", id.0), r); let state = app.session.selection.state_of(id); let selected = state != lightcraft_engine::SelectionState::NotSelected; - let spoken = cell_description(app, &photo); + let spoken = photo_spoken(&app.session.catalog, &photo); resp.widget_info(|| egui::WidgetInfo::selected(egui::Role::Button, true, selected, &spoken)); let active = state == lightcraft_engine::SelectionState::Active; let p = ui.painter(); @@ -797,7 +797,9 @@ fn cell(app: &mut LightcraftApp, ui: &mut egui::Ui, id: PhotoId, r: Rect, square cell_interaction(app, ui, &resp, id, &photo); } -fn cell_description(app: &LightcraftApp, photo: &lightcraft_catalog::Photo) -> String { +/// What a screen reader says for a photo's thumbnail, in the grid and in the filmstrip: the file, +/// then rating / flag / label. +pub(crate) fn photo_spoken(catalog: &lightcraft_catalog::Catalog, photo: &lightcraft_catalog::Photo) -> String { let mut spoken = photo.file_name.clone(); if photo.rating > 0 { spoken.push_str(&crate::i18n::tr_format!(", {} star{}", photo.rating, if photo.rating == 1 { "" } else { "s" })); @@ -808,7 +810,7 @@ fn cell_description(app: &LightcraftApp, photo: &lightcraft_catalog::Photo) -> S lightcraft_catalog::Flag::None => {} } if let Some(l) = photo.label { - spoken.push_str(&crate::i18n::tr_format!(", {} label", crate::i18n::color_label(&app.session.catalog, l))); + spoken.push_str(&crate::i18n::tr_format!(", {} label", crate::i18n::color_label(catalog, l))); } spoken } diff --git a/crates/ui-egui/tests/it/filmstrip_names.rs b/crates/ui-egui/tests/it/filmstrip_names.rs new file mode 100644 index 00000000000..bedc99efefe --- /dev/null +++ b/crates/ui-egui/tests/it/filmstrip_names.rs @@ -0,0 +1,64 @@ +//! What a screen reader is told about a filmstrip thumbnail: the same name as the grid's cell for +//! the same photo (file, rating, flag) and whether it is selected, not just the file name. +use egui::accesskit::Role; +use egui::vec2; +use egui_kittest::{Harness, kittest::NodeT}; +use lightcraft_catalog::Flag; +use lightcraft_ui_egui::{ + LightcraftApp, Services, + state::{RightPanel, ViewMode}, +}; + +fn detail() -> Harness<'static, LightcraftApp> { + let mut app = LightcraftApp::new(lightcraft_engine::Session::with_demo(), Services { png: None, ..Default::default() }); + app.ui.left_panel = false; + app.ui.view = ViewMode::Detail; + app.ui.right = RightPanel::None; + let mut h = Harness::builder().with_size(vec2(1500.0, 950.0)).build_ui_state( + |ui, app: &mut LightcraftApp| { + app.logic(&ui.ctx().clone()); + app.ui(ui); + }, + app, + ); + h.run_steps(10); + h +} + +#[test] +fn a_filmstrip_thumbnail_is_named_with_its_rating_and_flag() { + let h = detail(); + let buttons: Vec = + h.root().children_recursive().filter(|n| n.accesskit_node().role() == Role::Button).filter_map(|n| n.accesskit_node().label()).collect(); + let mut rated = 0; + let mut flagged = 0; + for photo in h.state().session.catalog.photos() { + let Some(name) = buttons.iter().find(|b| b.starts_with(photo.file_name.as_str())) else { continue }; + if photo.rating > 0 { + rated += 1; + let stars = format!("{} star", photo.rating); + assert!(name.contains(&stars), "{name:?} says its {stars}"); + } + if photo.flag == Flag::Reject { + flagged += 1; + assert!(name.contains("rejected"), "{name:?} says it is rejected"); + } + } + assert!(rated >= 3, "the filmstrip shows several rated photos ({rated}): {buttons:?}"); + assert!(flagged >= 1, "and a rejected one ({flagged}): {buttons:?}"); +} + +#[test] +fn the_active_filmstrip_thumbnail_is_announced_as_selected() { + let h = detail(); + let active = h.state().session.selection.active.and_then(|id| h.state().session.catalog.photo(id).map(|p| p.file_name.clone())); + let active = active.expect("the demo library opens with an active photo"); + let node = h + .root() + .children_recursive() + .find(|n| n.accesskit_node().role() == Role::Button && n.accesskit_node().label().is_some_and(|l| l.starts_with(active.as_str()))) + .unwrap_or_else(|| panic!("a filmstrip thumbnail named {active:?}")); + // (egui announces a selected button as toggled on, as the grid's cells are) + let toggled = node.accesskit_node().toggled(); + assert_eq!(toggled, Some(egui::accesskit::Toggled::True), "the active photo's thumbnail is selected: {:?}", node.accesskit_node().data()); +} diff --git a/crates/ui-egui/tests/it/main.rs b/crates/ui-egui/tests/it/main.rs index 4b9fa7eb7ac..8b14244d8bd 100644 --- a/crates/ui-egui/tests/it/main.rs +++ b/crates/ui-egui/tests/it/main.rs @@ -3,3 +3,4 @@ mod accessibility; mod docking_workflows; +mod filmstrip_names; diff --git a/docs/parity-checklist.md b/docs/parity-checklist.md index 90cfc248f60..1f91b137906 100644 --- a/docs/parity-checklist.md +++ b/docs/parity-checklist.md @@ -1,6 +1,6 @@ # Lightroom parity checklist -> **Last reviewed:** 2026-10-10 · **Last updated:** 2026-10-25 · **Change:** minor (LR-BEHAV-TITLEBAR: a double-click follows the system setting, and a panel over the bar keeps the window still; KEYC-METADATA, LRC-LIB-KEYWORDS: ⌥0 / ⌥⇧0 go to the next / previous keyword set; LRC-DEV-HISTOGRAM-DRAG: the histogram's five tonal zones — hover for the value, drag to adjust the Basic control the press locked, double-click to reset; LR-VIEW-HISTOGRAM note updated; MENU-BAR: on macOS a menu item that yields its key to a focused text field or to shortcut recording really lets it go; LR-MERGE-HDR / LR-MERGE-PANO: Lanczos-3 warps; LR-IMP-LOCAL: browsing from the sidebar records the folder; LR-VIEW-ZOOM: only a full-size drag within 20 ms clears a slow-drag verdict; LR-IMP-ADD-DIALOG: hierarchical import album destination reconciled with main, #2362; KEY-SLIDER-NUDGE: vertical wheel nudges need a click or drag in the row; leaving it disarms them; LR-EDIT-OPTICS-PROFILE: Fujifilm nine-knot lens tables read at the plain radius; LR-VIEW-ZOOM: only a full-size drag within 20 ms clears a slow-drag verdict; LRC-LIB-LIBFOLDERS, LR-BEHAV-BG-TASKS: Synchronize Folder's scan shows its folder listing and stops it on ✕; LRC-LIB-LIBFOLDERS: Synchronize Folder says a folder is up to date; LR-LIB-STACK: filmstrip stack badge click; LRC-LIB-REFVIEW / CATALOG-SWITCH: Escape preserves edits; catalog-local pins; deleted and malformed references refused; LRC-LIB-COMPARE: the Info panel labels the active photo while culling, #2398; KEYC-RATING: `\` shows / hides the Filter Bar in the grids; LR-VIEW-PHOTOGRID: the grid reads only the photos an import batch or an edit touched, not the whole list; earlier: LRC-PRINT-PAGE: Print Page Options; LR-META-XMP: fewer false unimported-XMP warnings; KEYC-METADATA: ⌘K / Ctrl+K Add Keywords; LRC-DEV-HISTOGRAM-DRAG: the histogram's five tonal zones — hover for the value, drag to adjust the Basic control the press locked, double-click to reset; LR-VIEW-HISTOGRAM note updated; MENU-BAR: on macOS a menu item that yields its key to a focused text field or to shortcut recording really lets it go; LR-MERGE-HDR / LR-MERGE-PANO: Lanczos-3 warps; LR-IMP-LOCAL: browsing from the sidebar records the folder; LR-VIEW-ZOOM: only a full-size drag within 20 ms clears a slow-drag verdict; LR-IMP-ADD-DIALOG: hierarchical import album destination reconciled with main, #2362; KEY-SLIDER-NUDGE: vertical wheel nudges need a click or drag in the row; leaving it disarms them; LR-EDIT-OPTICS-PROFILE: Fujifilm nine-knot lens tables read at the plain radius; LR-VIEW-ZOOM: only a full-size drag within 20 ms clears a slow-drag verdict; LRC-LIB-LIBFOLDERS, LR-BEHAV-BG-TASKS: Synchronize Folder's scan shows its folder listing and stops it on ✕; LRC-LIB-LIBFOLDERS: Synchronize Folder says a folder is up to date; LR-LIB-STACK: filmstrip stack badge click; LRC-LIB-REFVIEW / CATALOG-SWITCH: Escape preserves edits; catalog-local pins; deleted and malformed references refused; LRC-LIB-COMPARE: the Info panel labels the active photo while culling, #2398; KEYC-RATING: `\` shows / hides the Filter Bar in the grids; LR-VIEW-PHOTOGRID: the grid reads only the photos an import batch or an edit touched, not the whole list; earlier: LRC-PRINT-PAGE: Print Page Options; LR-META-XMP: fewer false unimported-XMP warnings) · **Target:** Adobe Lightroom Classic 15.5 / Lightroom 9.6 +> **Last reviewed:** 2026-10-10 · **Last updated:** 2026-10-27 · **Change:** minor (LR-BEHAV-ACCESS: filmstrip thumbnails are named like the grid's cells; LR-BEHAV-TITLEBAR: a double-click follows the system setting, and a panel over the bar keeps the window still; KEYC-METADATA, LRC-LIB-KEYWORDS: ⌥0 / ⌥⇧0 go to the next / previous keyword set; LRC-DEV-HISTOGRAM-DRAG: the histogram's five tonal zones — hover for the value, drag to adjust the Basic control the press locked, double-click to reset; LR-VIEW-HISTOGRAM note updated; MENU-BAR: on macOS a menu item that yields its key to a focused text field or to shortcut recording really lets it go; LR-MERGE-HDR / LR-MERGE-PANO: Lanczos-3 warps; LR-IMP-LOCAL: browsing from the sidebar records the folder; LR-VIEW-ZOOM: only a full-size drag within 20 ms clears a slow-drag verdict; LR-IMP-ADD-DIALOG: hierarchical import album destination reconciled with main, #2362; KEY-SLIDER-NUDGE: vertical wheel nudges need a click or drag in the row; leaving it disarms them; LR-EDIT-OPTICS-PROFILE: Fujifilm nine-knot lens tables read at the plain radius; LR-VIEW-ZOOM: only a full-size drag within 20 ms clears a slow-drag verdict; LRC-LIB-LIBFOLDERS, LR-BEHAV-BG-TASKS: Synchronize Folder's scan shows its folder listing and stops it on ✕; LRC-LIB-LIBFOLDERS: Synchronize Folder says a folder is up to date; LR-LIB-STACK: filmstrip stack badge click; LRC-LIB-REFVIEW / CATALOG-SWITCH: Escape preserves edits; catalog-local pins; deleted and malformed references refused; LRC-LIB-COMPARE: the Info panel labels the active photo while culling, #2398; KEYC-RATING: `\` shows / hides the Filter Bar in the grids; LR-VIEW-PHOTOGRID: the grid reads only the photos an import batch or an edit touched, not the whole list; earlier: LRC-PRINT-PAGE: Print Page Options; LR-META-XMP: fewer false unimported-XMP warnings; KEYC-METADATA: ⌘K / Ctrl+K Add Keywords; LRC-DEV-HISTOGRAM-DRAG: the histogram's five tonal zones — hover for the value, drag to adjust the Basic control the press locked, double-click to reset; LR-VIEW-HISTOGRAM note updated; MENU-BAR: on macOS a menu item that yields its key to a focused text field or to shortcut recording really lets it go; LR-MERGE-HDR / LR-MERGE-PANO: Lanczos-3 warps; LR-IMP-LOCAL: browsing from the sidebar records the folder; LR-VIEW-ZOOM: only a full-size drag within 20 ms clears a slow-drag verdict; LR-IMP-ADD-DIALOG: hierarchical import album destination reconciled with main, #2362; KEY-SLIDER-NUDGE: vertical wheel nudges need a click or drag in the row; leaving it disarms them; LR-EDIT-OPTICS-PROFILE: Fujifilm nine-knot lens tables read at the plain radius; LR-VIEW-ZOOM: only a full-size drag within 20 ms clears a slow-drag verdict; LRC-LIB-LIBFOLDERS, LR-BEHAV-BG-TASKS: Synchronize Folder's scan shows its folder listing and stops it on ✕; LRC-LIB-LIBFOLDERS: Synchronize Folder says a folder is up to date; LR-LIB-STACK: filmstrip stack badge click; LRC-LIB-REFVIEW / CATALOG-SWITCH: Escape preserves edits; catalog-local pins; deleted and malformed references refused; LRC-LIB-COMPARE: the Info panel labels the active photo while culling, #2398; KEYC-RATING: `\` shows / hides the Filter Bar in the grids; LR-VIEW-PHOTOGRID: the grid reads only the photos an import batch or an edit touched, not the whole list; earlier: LRC-PRINT-PAGE: Print Page Options; LR-META-XMP: fewer false unimported-XMP warnings) · **Target:** Adobe Lightroom Classic 15.5 / Lightroom 9.6 The measured, row-by-row checklist: one row per Lightroom feature, menu item and shortcut, what we have and what is missing. It answers *does the feature exist?* (feature breadth). Whether it is good @@ -479,7 +479,7 @@ differences and missing bindings are in [ui-parity.md](ui-parity.md#shortcuts). | LR-BEHAV-TOOLTIPS | Tooltips with shortcuts | P0 | ✅ | `crates/ui-egui/src/panels/bottombar.rs` | | | LR-BEHAV-TEXTFIELD | Text fields behave alike | P1 | 🟡 | `crates/ui-egui/src/widgets/text_field.rs`, `crates/ui-egui/src/panels/topbar.rs`, `crates/ui-egui/src/widgets.rs`, `crates/ui-egui/src/panels/right.rs` (`meta_field`), `crates/ui-egui/src/dialogs.rs`, `crates/ui-egui/src/panels/unnamed.rs` | one shared field: right-click Cut / Copy / Paste / Select All (no Paste in the browser), Esc gives back the text from before the edit, Return / leaving / Esc reported to the caller, optional select-on-focus; agents use `ui.clipboard` (MCP `clipboard`) and `ui.inspect` → `copied`. Used by Search Photos, slider values, the Info panel's metadata fields (multi-line captions), the one-field dialogs (New / Rename Album, New Smart Album, Rename / Merge Keywords, text prompts) and the unnamed faces' name field so far; the other text fields (most dialogs, import, settings, masking, keywords …) still use egui's own and have no menu | | LR-BEHAV-HEADLESS | Headless UI snapshots | P2 | ✅ | `apps/lightcraft-cli/src/main.rs`, `crates/ui-egui/src/headless.rs`, `docs/control-protocol.md` | `snapshot` rasterizes the UI and defaults photo development to the CPU before the first frame, without adapter discovery; scaled dimensions are validated before allocation, and UI zoom preserves the requested physical viewport; JSON-lines control scripts are supported | -| LR-BEHAV-ACCESS | Accessibility | P2 | 🟡 | `crates/ui-egui/src/widgets.rs`, `crates/ui-egui/src/widgets/text_field.rs`, `crates/ui-egui/src/panels/grid.rs`, `crates/ui-egui/tests/it/accessibility.rs` | AccessKit (VoiceOver / Narrator / AT-SPI): sliders announce control, value, range and step and take Increment / Decrement, buttons / icon buttons / dropdowns / section headers / sources their labels and state, text fields their caption, grid thumbnails file name, rating, flag and label. `tests/it/accessibility.rs` fails on an unnamed control, a slider without range or an untitled dialog in every view, Develop tool and 13 dialogs, and checks that Crop and Remove sliders are reached with Tab and that Tab walks the right panels top to bottom. Canvas tools by keyboard (`crates/ui-egui/src/canvas_keys.rs`, `crates/ui-egui/src/tests/canvas_keys.rs`): crop corners, edges and box, spot targets and sources, a New spot point (Return adds), radial / linear gradient handles and mask pins take the focus, are announced with their position and move with the arrows (Shift: further). Dialogs with one name field (New Album, New Smart Album, Save Metadata Preset, the renames) take the focus once when they open, so Tab and Shift+Tab reach their check box, Cancel and OK, and Return and Esc still confirm and cancel (`crates/ui-egui/src/tests/dialog_tab.rs`). Brush strokes and red-eye ellipses are pointer-only; not tried with a real screen reader ([audit](ui-parity.md#accessibility-audit)) | +| LR-BEHAV-ACCESS | Accessibility | P2 | 🟡 | `crates/ui-egui/src/widgets.rs`, `crates/ui-egui/src/widgets/text_field.rs`, `crates/ui-egui/src/panels/grid.rs`, `crates/ui-egui/tests/it/accessibility.rs` | AccessKit (VoiceOver / Narrator / AT-SPI): sliders announce control, value, range and step and take Increment / Decrement, buttons / icon buttons / dropdowns / section headers / sources their labels and state, text fields their caption, grid thumbnails file name, rating, flag and label, filmstrip thumbnails the same and whether they are selected. `tests/it/accessibility.rs` fails on an unnamed control, a slider without range or an untitled dialog in every view, Develop tool and 13 dialogs, and checks that Crop and Remove sliders are reached with Tab and that Tab walks the right panels top to bottom. Canvas tools by keyboard (`crates/ui-egui/src/canvas_keys.rs`, `crates/ui-egui/src/tests/canvas_keys.rs`): crop corners, edges and box, spot targets and sources, a New spot point (Return adds), radial / linear gradient handles and mask pins take the focus, are announced with their position and move with the arrows (Shift: further). Dialogs with one name field (New Album, New Smart Album, Save Metadata Preset, the renames) take the focus once when they open, so Tab and Shift+Tab reach their check box, Cancel and OK, and Return and Esc still confirm and cancel (`crates/ui-egui/src/tests/dialog_tab.rs`). Brush strokes and red-eye ellipses are pointer-only; not tried with a real screen reader ([audit](ui-parity.md#accessibility-audit)) | | LR-BEHAV-LOCALE | Language options | P2 | ✅ | `cmd:app.language.english`, `cmd:app.language.simplifiedChinese`, `cmd:app.language.traditionalChinese`, `cmd:app.language.japanese`, `cmd:app.language.portuguese`, `cmd:app.language.french`, `cmd:app.language.spanish`, `cmd:app.language.german`, `cmd:app.language.russian`, `cmd:app.language.ukrainian`, `cmd:app.language.georgian`, `cmd:app.language.polish`, `cmd:app.language.czech`, `cmd:app.language.italian`, `cmd:app.language.swedish`, `cmd:app.language.finnish`, `cmd:app.language.indonesian`, `cmd:app.language.vietnamese` | Edit > Language lists every language in the table and the active one is checked; shared with Settings > General (docs/localization.md) | | LR-BEHAV-LOCALIZE | Localisation | P2 | 🟡 | `crates/ui-egui/src/i18n.rs`, `crates/ui-egui/locales/`, `docs/localization.md`, `docs/localization-zh-hans.md`, `docs/localization-zh-hant.md`, `docs/localization-ja.md`, `docs/localization-pt-br.md`, `docs/localization-es.md`, `docs/localization-de.md`, `docs/localization-ru.md`, `docs/localization-ka.md`, `docs/localization-pl.md` | One table entry per language (code, endonym, ISO 15924 script, catalog): English, Simplified Chinese, Traditional Chinese (Taiwan), Japanese, Brazilian Portuguese, Spanish, German, Russian, French, Ukrainian, Polish, Czech, Italian, Georgian, Swedish, Finnish, Indonesian and Vietnamese UI with a persisted language preference and craft-fonts regular/bold faces per script (a variable face, as for Arabic, is drawn heavier for bold from its one file); menus, edit, crop/masks, settings, import/export and primary progress messages. Adding a language registers the locale and its language command, plus two catalogs. Stock presets/profiles, history steps, library headings, date headings and capture times are localised (user-named items stay verbatim); the Ukrainian catalog covers every existing catalog key, command/control label and rule-editor label; the German catalog reports newly added gaps; the other catalogs fall back to English for messages they lack. Technical errors remain English; release notes are translated in German and Ukrainian; craft-fonts faces for other scripts (Thai, Arabic, …) are UI fallbacks in every language, for file, folder and album names (#736); Traditional Chinese borrows the Simplified Chinese face (no TC face in craft-fonts yet), and the web build embeds the Japanese, Thai and Georgian faces in WASM while loading the Simplified Chinese face from a separate font file. | | LR-BEHAV-LEARN | Tutorials | OOS | 🚫 | | | @@ -959,3 +959,4 @@ Latin stays upright. Advanced Japanese composition remains open. Regression cove | 2026-10-23 | patch | LR-BEHAV-ACCESS: the name field of New Album, New Smart Album, Rename and the other one-field dialogs takes the keyboard focus once when the dialog opens instead of every frame, so Tab and Shift+Tab reach the check box, Cancel and OK; status unchanged (🟡) | | 2026-10-22 | minor | LR-CROP-AUTO: Auto straighten turns by at most 10° and only on at least 3 agreeing lines, and says when it finds nothing to level by; measured on 68 photos straightened by hand and 300 left as shot, unwanted turns of more than 1° fell from 79 to 19 of the 300. Downgraded ✅ → 🟡: it still leaves most tilted photos alone | | 2026-10-23 | patch | LRC-LIB-FILTERBAR: showing an album (`library.source`) while the filter holds an album drops the filter's album, as showing a library folder already dropped its folder filter; before, the old album stayed in the filter unseen (the filter bar has no album chip) and narrowed the next source such as All Photos; the row's note says so; status unchanged (✅) | +| 2026-10-27 | patch | LR-BEHAV-ACCESS: a filmstrip thumbnail is named as the grid's cell for the same photo is (file name, rating, flag, color label) and says whether it is selected, where it was named with the file name only; status stays 🟡 | diff --git a/docs/whats-new.md b/docs/whats-new.md index c6c25920034..bb74ee61351 100644 --- a/docs/whats-new.md +++ b/docs/whats-new.md @@ -1,5 +1,12 @@ # What's new in LightCraft +## 2026-10-27 + +### Screen readers name filmstrip thumbnails like the grid's +- A thumbnail in the filmstrip is now named as the grid's cell for the same photo is: the file name, then its rating, + flag and color label ("LC01207.JPG, 3 stars, picked"), and it says whether it is selected. It was named with the + file name only, so VoiceOver told you less in Detail than in the grid. + ## 2026-10-24 ### Relative-date filters and smart albums follow the clock From bdad7f8d810bb8be7724986d9851391308febd3e Mon Sep 17 00:00:00 2001 From: Nathaniel Ledford Date: Wed, 28 Oct 2026 11:46:29 -0400 Subject: [PATCH 2/3] LR-BEHAV-ACCESS: a grid cell and a filmstrip thumbnail are selectable cells, not check boxes --- crates/ui-egui/src/panels/detail/filmstrip.rs | 2 +- crates/ui-egui/src/panels/grid.rs | 2 +- crates/ui-egui/src/widgets.rs | 12 +++ crates/ui-egui/tests/it/filmstrip_names.rs | 17 ++-- crates/ui-egui/tests/it/main.rs | 1 + crates/ui-egui/tests/it/thumb_cells.rs | 80 +++++++++++++++++++ docs/parity-checklist.md | 5 +- docs/whats-new.md | 7 ++ 8 files changed, 113 insertions(+), 13 deletions(-) create mode 100644 crates/ui-egui/tests/it/thumb_cells.rs diff --git a/crates/ui-egui/src/panels/detail/filmstrip.rs b/crates/ui-egui/src/panels/detail/filmstrip.rs index 46a4b013963..de64ac523e1 100644 --- a/crates/ui-egui/src/panels/detail/filmstrip.rs +++ b/crates/ui-egui/src/panels/detail/filmstrip.rs @@ -98,7 +98,7 @@ pub(crate) fn filmstrip(app: &mut LightcraftApp, ui: &mut egui::Ui, r: Rect) { let selected = state != lightcraft_engine::SelectionState::NotSelected; // the same name as the grid's cell for this photo (file, rating, flag, label), and whether it is selected let name = app.session.catalog.photo(*id).map(|p| crate::panels::grid::photo_spoken(&app.session.catalog, p)).unwrap_or_default(); - crate::widgets::announce_selected(&resp, film_spoken(&name, failed), selected); + crate::widgets::announce_cell(&resp, film_spoken(&name, failed), selected); register(ui, format!("film:{}", id.0), cr); let sel = state == lightcraft_engine::SelectionState::Active; let p = ui.painter(); diff --git a/crates/ui-egui/src/panels/grid.rs b/crates/ui-egui/src/panels/grid.rs index cf40eb878f0..6775cf7e62a 100644 --- a/crates/ui-egui/src/panels/grid.rs +++ b/crates/ui-egui/src/panels/grid.rs @@ -771,7 +771,7 @@ fn cell(app: &mut LightcraftApp, ui: &mut egui::Ui, id: PhotoId, r: Rect, square let state = app.session.selection.state_of(id); let selected = state != lightcraft_engine::SelectionState::NotSelected; let spoken = photo_spoken(&app.session.catalog, &photo); - resp.widget_info(|| egui::WidgetInfo::selected(egui::Role::Button, true, selected, &spoken)); + crate::widgets::announce_cell(&resp, spoken.as_str(), selected); let active = state == lightcraft_engine::SelectionState::Active; let p = ui.painter(); let img_rect = if square { diff --git a/crates/ui-egui/src/widgets.rs b/crates/ui-egui/src/widgets.rs index 89185d9918a..06d6c237c21 100644 --- a/crates/ui-egui/src/widgets.rs +++ b/crates/ui-egui/src/widgets.rs @@ -1166,6 +1166,18 @@ pub(crate) fn announce_selected(resp: &egui::Response, name: impl Into, resp.widget_info(|| egui::WidgetInfo::selected(egui::Role::Button, resp.enabled(), selected, name.clone())); } +/// A photo's thumbnail (grid cell, filmstrip thumbnail) for screen readers: a selectable list +/// item that is, or is not, selected. +/// +/// egui's `WidgetInfo::selected` publishes AccessKit's `Toggled`, which macOS turns into a check box +/// ("checked"). A list item with AccessKit's `selected` state is what macOS reads as "selected", +/// and it keeps the click action, so one helper gives the grid and the filmstrip the same role. +pub(crate) fn announce_cell(resp: &egui::Response, name: impl Into, selected: bool) { + let name = name.into(); + resp.widget_info(|| egui::WidgetInfo::labeled(egui::Role::ListItem, resp.enabled(), name.clone())); + resp.ctx.accesskit_node_builder(resp.id, |node| node.set_selected(selected)); +} + /// `r`, named `name` for screen readers: a plain egui field or slider whose caption is drawn /// beside it, or whose hint is all it shows. pub(crate) fn named(r: egui::Response, name: &str) -> egui::Response { diff --git a/crates/ui-egui/tests/it/filmstrip_names.rs b/crates/ui-egui/tests/it/filmstrip_names.rs index bedc99efefe..11eb2cae115 100644 --- a/crates/ui-egui/tests/it/filmstrip_names.rs +++ b/crates/ui-egui/tests/it/filmstrip_names.rs @@ -28,12 +28,12 @@ fn detail() -> Harness<'static, LightcraftApp> { #[test] fn a_filmstrip_thumbnail_is_named_with_its_rating_and_flag() { let h = detail(); - let buttons: Vec = - h.root().children_recursive().filter(|n| n.accesskit_node().role() == Role::Button).filter_map(|n| n.accesskit_node().label()).collect(); + let cells: Vec = + h.root().children_recursive().filter(|n| n.accesskit_node().role() == Role::ListItem).filter_map(|n| n.accesskit_node().label()).collect(); let mut rated = 0; let mut flagged = 0; for photo in h.state().session.catalog.photos() { - let Some(name) = buttons.iter().find(|b| b.starts_with(photo.file_name.as_str())) else { continue }; + let Some(name) = cells.iter().find(|b| b.starts_with(photo.file_name.as_str())) else { continue }; if photo.rating > 0 { rated += 1; let stars = format!("{} star", photo.rating); @@ -44,8 +44,8 @@ fn a_filmstrip_thumbnail_is_named_with_its_rating_and_flag() { assert!(name.contains("rejected"), "{name:?} says it is rejected"); } } - assert!(rated >= 3, "the filmstrip shows several rated photos ({rated}): {buttons:?}"); - assert!(flagged >= 1, "and a rejected one ({flagged}): {buttons:?}"); + assert!(rated >= 3, "the filmstrip shows several rated photos ({rated}): {cells:?}"); + assert!(flagged >= 1, "and a rejected one ({flagged}): {cells:?}"); } #[test] @@ -56,9 +56,8 @@ fn the_active_filmstrip_thumbnail_is_announced_as_selected() { let node = h .root() .children_recursive() - .find(|n| n.accesskit_node().role() == Role::Button && n.accesskit_node().label().is_some_and(|l| l.starts_with(active.as_str()))) + .find(|n| n.accesskit_node().role() == Role::ListItem && n.accesskit_node().label().is_some_and(|l| l.starts_with(active.as_str()))) .unwrap_or_else(|| panic!("a filmstrip thumbnail named {active:?}")); - // (egui announces a selected button as toggled on, as the grid's cells are) - let toggled = node.accesskit_node().toggled(); - assert_eq!(toggled, Some(egui::accesskit::Toggled::True), "the active photo's thumbnail is selected: {:?}", node.accesskit_node().data()); + // (a selectable cell with its selected state on, as the grid's cells are) + assert_eq!(node.accesskit_node().is_selected(), Some(true), "the active photo's thumbnail is selected: {:?}", node.accesskit_node().data()); } diff --git a/crates/ui-egui/tests/it/main.rs b/crates/ui-egui/tests/it/main.rs index 8b14244d8bd..475194880f8 100644 --- a/crates/ui-egui/tests/it/main.rs +++ b/crates/ui-egui/tests/it/main.rs @@ -4,3 +4,4 @@ mod accessibility; mod docking_workflows; mod filmstrip_names; +mod thumb_cells; diff --git a/crates/ui-egui/tests/it/thumb_cells.rs b/crates/ui-egui/tests/it/thumb_cells.rs new file mode 100644 index 00000000000..dda1278c77e --- /dev/null +++ b/crates/ui-egui/tests/it/thumb_cells.rs @@ -0,0 +1,80 @@ +//! A photo's thumbnail, in the grid and in the filmstrip, is a selectable cell: a screen reader +//! (macOS VoiceOver) reads "selected" for it, not a check box that is "checked". AccessKit's macOS +//! adapter turns a node with a toggled state into a check box, and says "selected" for an item-like +//! node (a list item) that carries a selected state, so the cell is a `ListItem` with `selected`. +use egui::accesskit::{Role, Toggled}; +use egui::vec2; +use egui_kittest::{Harness, kittest::NodeT}; +use lightcraft_engine::Selection; +use lightcraft_ui_egui::{ + LightcraftApp, Services, + state::{RightPanel, ViewMode}, +}; + +fn harness(view: ViewMode) -> Harness<'static, LightcraftApp> { + let mut app = LightcraftApp::new(lightcraft_engine::Session::with_demo(), Services { png: None, ..Default::default() }); + app.ui.left_panel = false; + app.ui.view = view; + app.ui.right = RightPanel::None; + let mut h = Harness::builder().with_size(vec2(1500.0, 950.0)).build_ui_state( + |ui, app: &mut LightcraftApp| { + app.logic(&ui.ctx().clone()); + app.ui(ui); + }, + app, + ); + h.run_steps(10); + h +} + +/// What the accessibility tree says about the cell named `file`: (role, selected, toggled). +fn cell(h: &Harness<'_, LightcraftApp>, file: &str) -> Option<(Role, Option, Option)> { + h.root() + .children_recursive() + .filter(|n| n.accesskit_node().label().is_some_and(|l| l.starts_with(file))) + .map(|n| { + let a = n.accesskit_node(); + (a.role(), a.is_selected(), a.toggled()) + }) + .find(|(role, _, _)| matches!(role, Role::ListItem | Role::Button | Role::CheckBox)) +} + +fn two_photos(h: &mut Harness<'_, LightcraftApp>) -> (lightcraft_catalog::PhotoId, String, String) { + let mut shown = h.state_mut().session.visible_cloned().into_iter(); + let cat = &h.state().session.catalog; + let (a, b) = (shown.next().expect("the demo library has photos"), shown.next().expect("and a second one")); + let name = |id| cat.photo(id).map(|p| p.file_name.clone()).expect("a demo photo"); + (a, name(a), name(b)) +} + +fn assert_selectable_cells(view: ViewMode) { + let mut h = harness(view); + let (first, first_name, second_name) = two_photos(&mut h); + h.state_mut().session.selection = Selection::single(first); + h.run_steps(5); + let (role, selected, toggled) = cell(&h, &first_name).expect("the selected photo has a cell"); + assert_eq!(role, Role::ListItem, "{first_name}: a selectable cell, not a button that macOS reads as a check box"); + assert_eq!(selected, Some(true), "{first_name} reads as selected"); + assert_eq!(toggled, None, "{first_name} has no toggled state (macOS would call it a check box)"); + let (role, selected, toggled) = cell(&h, &second_name).expect("the other photo has a cell"); + assert_eq!(role, Role::ListItem); + assert_eq!(selected, Some(false), "{second_name} is a selectable cell that is not selected"); + assert_eq!(toggled, None); + + // a selection change reaches the tree + let second = h.state_mut().session.visible_cloned().get(1).copied().expect("a second photo"); + h.state_mut().session.selection = Selection::single(second); + h.run_steps(5); + assert_eq!(cell(&h, &first_name).map(|c| c.1), Some(Some(false)), "{first_name} is deselected"); + assert_eq!(cell(&h, &second_name).map(|c| c.1), Some(Some(true)), "{second_name} is selected"); +} + +#[test] +fn a_grid_cell_is_a_selectable_cell() { + assert_selectable_cells(ViewMode::PhotoGrid); +} + +#[test] +fn a_filmstrip_thumbnail_is_a_selectable_cell() { + assert_selectable_cells(ViewMode::Detail); +} diff --git a/docs/parity-checklist.md b/docs/parity-checklist.md index 1f91b137906..a047cd9f774 100644 --- a/docs/parity-checklist.md +++ b/docs/parity-checklist.md @@ -1,6 +1,6 @@ # Lightroom parity checklist -> **Last reviewed:** 2026-10-10 · **Last updated:** 2026-10-27 · **Change:** minor (LR-BEHAV-ACCESS: filmstrip thumbnails are named like the grid's cells; LR-BEHAV-TITLEBAR: a double-click follows the system setting, and a panel over the bar keeps the window still; KEYC-METADATA, LRC-LIB-KEYWORDS: ⌥0 / ⌥⇧0 go to the next / previous keyword set; LRC-DEV-HISTOGRAM-DRAG: the histogram's five tonal zones — hover for the value, drag to adjust the Basic control the press locked, double-click to reset; LR-VIEW-HISTOGRAM note updated; MENU-BAR: on macOS a menu item that yields its key to a focused text field or to shortcut recording really lets it go; LR-MERGE-HDR / LR-MERGE-PANO: Lanczos-3 warps; LR-IMP-LOCAL: browsing from the sidebar records the folder; LR-VIEW-ZOOM: only a full-size drag within 20 ms clears a slow-drag verdict; LR-IMP-ADD-DIALOG: hierarchical import album destination reconciled with main, #2362; KEY-SLIDER-NUDGE: vertical wheel nudges need a click or drag in the row; leaving it disarms them; LR-EDIT-OPTICS-PROFILE: Fujifilm nine-knot lens tables read at the plain radius; LR-VIEW-ZOOM: only a full-size drag within 20 ms clears a slow-drag verdict; LRC-LIB-LIBFOLDERS, LR-BEHAV-BG-TASKS: Synchronize Folder's scan shows its folder listing and stops it on ✕; LRC-LIB-LIBFOLDERS: Synchronize Folder says a folder is up to date; LR-LIB-STACK: filmstrip stack badge click; LRC-LIB-REFVIEW / CATALOG-SWITCH: Escape preserves edits; catalog-local pins; deleted and malformed references refused; LRC-LIB-COMPARE: the Info panel labels the active photo while culling, #2398; KEYC-RATING: `\` shows / hides the Filter Bar in the grids; LR-VIEW-PHOTOGRID: the grid reads only the photos an import batch or an edit touched, not the whole list; earlier: LRC-PRINT-PAGE: Print Page Options; LR-META-XMP: fewer false unimported-XMP warnings; KEYC-METADATA: ⌘K / Ctrl+K Add Keywords; LRC-DEV-HISTOGRAM-DRAG: the histogram's five tonal zones — hover for the value, drag to adjust the Basic control the press locked, double-click to reset; LR-VIEW-HISTOGRAM note updated; MENU-BAR: on macOS a menu item that yields its key to a focused text field or to shortcut recording really lets it go; LR-MERGE-HDR / LR-MERGE-PANO: Lanczos-3 warps; LR-IMP-LOCAL: browsing from the sidebar records the folder; LR-VIEW-ZOOM: only a full-size drag within 20 ms clears a slow-drag verdict; LR-IMP-ADD-DIALOG: hierarchical import album destination reconciled with main, #2362; KEY-SLIDER-NUDGE: vertical wheel nudges need a click or drag in the row; leaving it disarms them; LR-EDIT-OPTICS-PROFILE: Fujifilm nine-knot lens tables read at the plain radius; LR-VIEW-ZOOM: only a full-size drag within 20 ms clears a slow-drag verdict; LRC-LIB-LIBFOLDERS, LR-BEHAV-BG-TASKS: Synchronize Folder's scan shows its folder listing and stops it on ✕; LRC-LIB-LIBFOLDERS: Synchronize Folder says a folder is up to date; LR-LIB-STACK: filmstrip stack badge click; LRC-LIB-REFVIEW / CATALOG-SWITCH: Escape preserves edits; catalog-local pins; deleted and malformed references refused; LRC-LIB-COMPARE: the Info panel labels the active photo while culling, #2398; KEYC-RATING: `\` shows / hides the Filter Bar in the grids; LR-VIEW-PHOTOGRID: the grid reads only the photos an import batch or an edit touched, not the whole list; earlier: LRC-PRINT-PAGE: Print Page Options; LR-META-XMP: fewer false unimported-XMP warnings) · **Target:** Adobe Lightroom Classic 15.5 / Lightroom 9.6 +> **Last reviewed:** 2026-10-10 · **Last updated:** 2026-10-28 · **Change:** minor (LR-BEHAV-ACCESS: grid cells and filmstrip thumbnails are selectable cells, not check boxes; LR-BEHAV-ACCESS: filmstrip thumbnails are named like the grid's cells; LR-BEHAV-TITLEBAR: a double-click follows the system setting, and a panel over the bar keeps the window still; KEYC-METADATA, LRC-LIB-KEYWORDS: ⌥0 / ⌥⇧0 go to the next / previous keyword set; LRC-DEV-HISTOGRAM-DRAG: the histogram's five tonal zones — hover for the value, drag to adjust the Basic control the press locked, double-click to reset; LR-VIEW-HISTOGRAM note updated; MENU-BAR: on macOS a menu item that yields its key to a focused text field or to shortcut recording really lets it go; LR-MERGE-HDR / LR-MERGE-PANO: Lanczos-3 warps; LR-IMP-LOCAL: browsing from the sidebar records the folder; LR-VIEW-ZOOM: only a full-size drag within 20 ms clears a slow-drag verdict; LR-IMP-ADD-DIALOG: hierarchical import album destination reconciled with main, #2362; KEY-SLIDER-NUDGE: vertical wheel nudges need a click or drag in the row; leaving it disarms them; LR-EDIT-OPTICS-PROFILE: Fujifilm nine-knot lens tables read at the plain radius; LR-VIEW-ZOOM: only a full-size drag within 20 ms clears a slow-drag verdict; LRC-LIB-LIBFOLDERS, LR-BEHAV-BG-TASKS: Synchronize Folder's scan shows its folder listing and stops it on ✕; LRC-LIB-LIBFOLDERS: Synchronize Folder says a folder is up to date; LR-LIB-STACK: filmstrip stack badge click; LRC-LIB-REFVIEW / CATALOG-SWITCH: Escape preserves edits; catalog-local pins; deleted and malformed references refused; LRC-LIB-COMPARE: the Info panel labels the active photo while culling, #2398; KEYC-RATING: `\` shows / hides the Filter Bar in the grids; LR-VIEW-PHOTOGRID: the grid reads only the photos an import batch or an edit touched, not the whole list; earlier: LRC-PRINT-PAGE: Print Page Options; LR-META-XMP: fewer false unimported-XMP warnings; KEYC-METADATA: ⌘K / Ctrl+K Add Keywords; LRC-DEV-HISTOGRAM-DRAG: the histogram's five tonal zones — hover for the value, drag to adjust the Basic control the press locked, double-click to reset; LR-VIEW-HISTOGRAM note updated; MENU-BAR: on macOS a menu item that yields its key to a focused text field or to shortcut recording really lets it go; LR-MERGE-HDR / LR-MERGE-PANO: Lanczos-3 warps; LR-IMP-LOCAL: browsing from the sidebar records the folder; LR-VIEW-ZOOM: only a full-size drag within 20 ms clears a slow-drag verdict; LR-IMP-ADD-DIALOG: hierarchical import album destination reconciled with main, #2362; KEY-SLIDER-NUDGE: vertical wheel nudges need a click or drag in the row; leaving it disarms them; LR-EDIT-OPTICS-PROFILE: Fujifilm nine-knot lens tables read at the plain radius; LR-VIEW-ZOOM: only a full-size drag within 20 ms clears a slow-drag verdict; LRC-LIB-LIBFOLDERS, LR-BEHAV-BG-TASKS: Synchronize Folder's scan shows its folder listing and stops it on ✕; LRC-LIB-LIBFOLDERS: Synchronize Folder says a folder is up to date; LR-LIB-STACK: filmstrip stack badge click; LRC-LIB-REFVIEW / CATALOG-SWITCH: Escape preserves edits; catalog-local pins; deleted and malformed references refused; LRC-LIB-COMPARE: the Info panel labels the active photo while culling, #2398; KEYC-RATING: `\` shows / hides the Filter Bar in the grids; LR-VIEW-PHOTOGRID: the grid reads only the photos an import batch or an edit touched, not the whole list; earlier: LRC-PRINT-PAGE: Print Page Options; LR-META-XMP: fewer false unimported-XMP warnings) · **Target:** Adobe Lightroom Classic 15.5 / Lightroom 9.6 The measured, row-by-row checklist: one row per Lightroom feature, menu item and shortcut, what we have and what is missing. It answers *does the feature exist?* (feature breadth). Whether it is good @@ -479,7 +479,7 @@ differences and missing bindings are in [ui-parity.md](ui-parity.md#shortcuts). | LR-BEHAV-TOOLTIPS | Tooltips with shortcuts | P0 | ✅ | `crates/ui-egui/src/panels/bottombar.rs` | | | LR-BEHAV-TEXTFIELD | Text fields behave alike | P1 | 🟡 | `crates/ui-egui/src/widgets/text_field.rs`, `crates/ui-egui/src/panels/topbar.rs`, `crates/ui-egui/src/widgets.rs`, `crates/ui-egui/src/panels/right.rs` (`meta_field`), `crates/ui-egui/src/dialogs.rs`, `crates/ui-egui/src/panels/unnamed.rs` | one shared field: right-click Cut / Copy / Paste / Select All (no Paste in the browser), Esc gives back the text from before the edit, Return / leaving / Esc reported to the caller, optional select-on-focus; agents use `ui.clipboard` (MCP `clipboard`) and `ui.inspect` → `copied`. Used by Search Photos, slider values, the Info panel's metadata fields (multi-line captions), the one-field dialogs (New / Rename Album, New Smart Album, Rename / Merge Keywords, text prompts) and the unnamed faces' name field so far; the other text fields (most dialogs, import, settings, masking, keywords …) still use egui's own and have no menu | | LR-BEHAV-HEADLESS | Headless UI snapshots | P2 | ✅ | `apps/lightcraft-cli/src/main.rs`, `crates/ui-egui/src/headless.rs`, `docs/control-protocol.md` | `snapshot` rasterizes the UI and defaults photo development to the CPU before the first frame, without adapter discovery; scaled dimensions are validated before allocation, and UI zoom preserves the requested physical viewport; JSON-lines control scripts are supported | -| LR-BEHAV-ACCESS | Accessibility | P2 | 🟡 | `crates/ui-egui/src/widgets.rs`, `crates/ui-egui/src/widgets/text_field.rs`, `crates/ui-egui/src/panels/grid.rs`, `crates/ui-egui/tests/it/accessibility.rs` | AccessKit (VoiceOver / Narrator / AT-SPI): sliders announce control, value, range and step and take Increment / Decrement, buttons / icon buttons / dropdowns / section headers / sources their labels and state, text fields their caption, grid thumbnails file name, rating, flag and label, filmstrip thumbnails the same and whether they are selected. `tests/it/accessibility.rs` fails on an unnamed control, a slider without range or an untitled dialog in every view, Develop tool and 13 dialogs, and checks that Crop and Remove sliders are reached with Tab and that Tab walks the right panels top to bottom. Canvas tools by keyboard (`crates/ui-egui/src/canvas_keys.rs`, `crates/ui-egui/src/tests/canvas_keys.rs`): crop corners, edges and box, spot targets and sources, a New spot point (Return adds), radial / linear gradient handles and mask pins take the focus, are announced with their position and move with the arrows (Shift: further). Dialogs with one name field (New Album, New Smart Album, Save Metadata Preset, the renames) take the focus once when they open, so Tab and Shift+Tab reach their check box, Cancel and OK, and Return and Esc still confirm and cancel (`crates/ui-egui/src/tests/dialog_tab.rs`). Brush strokes and red-eye ellipses are pointer-only; not tried with a real screen reader ([audit](ui-parity.md#accessibility-audit)) | +| LR-BEHAV-ACCESS | Accessibility | P2 | 🟡 | `crates/ui-egui/src/widgets.rs`, `crates/ui-egui/src/widgets/text_field.rs`, `crates/ui-egui/src/panels/grid.rs`, `crates/ui-egui/tests/it/accessibility.rs` | AccessKit (VoiceOver / Narrator / AT-SPI): sliders announce control, value, range and step and take Increment / Decrement, buttons / icon buttons / dropdowns / section headers / sources their labels and state, text fields their caption, grid thumbnails file name, rating, flag and label, filmstrip thumbnails the same and whether they are selected (both are a list item with AccessKit's selected state, which macOS reads as "selected", not a toggled button, which it reads as a check box). `tests/it/accessibility.rs` fails on an unnamed control, a slider without range or an untitled dialog in every view, Develop tool and 13 dialogs, and checks that Crop and Remove sliders are reached with Tab and that Tab walks the right panels top to bottom. Canvas tools by keyboard (`crates/ui-egui/src/canvas_keys.rs`, `crates/ui-egui/src/tests/canvas_keys.rs`): crop corners, edges and box, spot targets and sources, a New spot point (Return adds), radial / linear gradient handles and mask pins take the focus, are announced with their position and move with the arrows (Shift: further). Dialogs with one name field (New Album, New Smart Album, Save Metadata Preset, the renames) take the focus once when they open, so Tab and Shift+Tab reach their check box, Cancel and OK, and Return and Esc still confirm and cancel (`crates/ui-egui/src/tests/dialog_tab.rs`). Brush strokes and red-eye ellipses are pointer-only; not tried with a real screen reader ([audit](ui-parity.md#accessibility-audit)) | | LR-BEHAV-LOCALE | Language options | P2 | ✅ | `cmd:app.language.english`, `cmd:app.language.simplifiedChinese`, `cmd:app.language.traditionalChinese`, `cmd:app.language.japanese`, `cmd:app.language.portuguese`, `cmd:app.language.french`, `cmd:app.language.spanish`, `cmd:app.language.german`, `cmd:app.language.russian`, `cmd:app.language.ukrainian`, `cmd:app.language.georgian`, `cmd:app.language.polish`, `cmd:app.language.czech`, `cmd:app.language.italian`, `cmd:app.language.swedish`, `cmd:app.language.finnish`, `cmd:app.language.indonesian`, `cmd:app.language.vietnamese` | Edit > Language lists every language in the table and the active one is checked; shared with Settings > General (docs/localization.md) | | LR-BEHAV-LOCALIZE | Localisation | P2 | 🟡 | `crates/ui-egui/src/i18n.rs`, `crates/ui-egui/locales/`, `docs/localization.md`, `docs/localization-zh-hans.md`, `docs/localization-zh-hant.md`, `docs/localization-ja.md`, `docs/localization-pt-br.md`, `docs/localization-es.md`, `docs/localization-de.md`, `docs/localization-ru.md`, `docs/localization-ka.md`, `docs/localization-pl.md` | One table entry per language (code, endonym, ISO 15924 script, catalog): English, Simplified Chinese, Traditional Chinese (Taiwan), Japanese, Brazilian Portuguese, Spanish, German, Russian, French, Ukrainian, Polish, Czech, Italian, Georgian, Swedish, Finnish, Indonesian and Vietnamese UI with a persisted language preference and craft-fonts regular/bold faces per script (a variable face, as for Arabic, is drawn heavier for bold from its one file); menus, edit, crop/masks, settings, import/export and primary progress messages. Adding a language registers the locale and its language command, plus two catalogs. Stock presets/profiles, history steps, library headings, date headings and capture times are localised (user-named items stay verbatim); the Ukrainian catalog covers every existing catalog key, command/control label and rule-editor label; the German catalog reports newly added gaps; the other catalogs fall back to English for messages they lack. Technical errors remain English; release notes are translated in German and Ukrainian; craft-fonts faces for other scripts (Thai, Arabic, …) are UI fallbacks in every language, for file, folder and album names (#736); Traditional Chinese borrows the Simplified Chinese face (no TC face in craft-fonts yet), and the web build embeds the Japanese, Thai and Georgian faces in WASM while loading the Simplified Chinese face from a separate font file. | | LR-BEHAV-LEARN | Tutorials | OOS | 🚫 | | | @@ -960,3 +960,4 @@ Latin stays upright. Advanced Japanese composition remains open. Regression cove | 2026-10-22 | minor | LR-CROP-AUTO: Auto straighten turns by at most 10° and only on at least 3 agreeing lines, and says when it finds nothing to level by; measured on 68 photos straightened by hand and 300 left as shot, unwanted turns of more than 1° fell from 79 to 19 of the 300. Downgraded ✅ → 🟡: it still leaves most tilted photos alone | | 2026-10-23 | patch | LRC-LIB-FILTERBAR: showing an album (`library.source`) while the filter holds an album drops the filter's album, as showing a library folder already dropped its folder filter; before, the old album stayed in the filter unseen (the filter bar has no album chip) and narrowed the next source such as All Photos; the row's note says so; status unchanged (✅) | | 2026-10-27 | patch | LR-BEHAV-ACCESS: a filmstrip thumbnail is named as the grid's cell for the same photo is (file name, rating, flag, color label) and says whether it is selected, where it was named with the file name only; status stays 🟡 | +| 2026-10-28 | patch | LR-BEHAV-ACCESS: a grid cell and a filmstrip thumbnail are announced as a selectable cell (list item with the selected state) instead of a check box | diff --git a/docs/whats-new.md b/docs/whats-new.md index bb74ee61351..e5cdd407ac1 100644 --- a/docs/whats-new.md +++ b/docs/whats-new.md @@ -1,5 +1,12 @@ # What's new in LightCraft +## 2026-10-28 + +### Screen readers read photo thumbnails as selectable items, not check boxes +- On macOS, VoiceOver said "checked" or "unchecked" for a photo's thumbnail in the grid and in the filmstrip, as it does + for a check box. A thumbnail is now a selectable item: VoiceOver says "selected" for the photos you have picked, and + says nothing about a state for the others. The name is the same as before (file name, rating, flag, color label). + ## 2026-10-27 ### Screen readers name filmstrip thumbnails like the grid's From 8980ff4cf359093a2be8cdfe3a02a588d466afb9 Mon Sep 17 00:00:00 2001 From: Nathaniel Ledford Date: Wed, 28 Oct 2026 12:47:40 -0400 Subject: [PATCH 3/3] docs: What's New says the filmstrip's selected state came with the previous entry --- docs/whats-new.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/whats-new.md b/docs/whats-new.md index e5cdd407ac1..b9dd857e004 100644 --- a/docs/whats-new.md +++ b/docs/whats-new.md @@ -3,8 +3,9 @@ ## 2026-10-28 ### Screen readers read photo thumbnails as selectable items, not check boxes -- On macOS, VoiceOver said "checked" or "unchecked" for a photo's thumbnail in the grid and in the filmstrip, as it does - for a check box. A thumbnail is now a selectable item: VoiceOver says "selected" for the photos you have picked, and +- On macOS, VoiceOver said "checked" or "unchecked" for a photo's thumbnail in the grid, as it does for a check box, and + the filmstrip's thumbnails, which began saying whether they are selected in the entry below, were read the same way. + A thumbnail in either place is now a selectable item: VoiceOver says "selected" for the photos you have picked, and says nothing about a state for the others. The name is the same as before (file name, rating, flag, color label). ## 2026-10-27