From ebf60b12c37433bdd6cee088e3c294b9f7562046 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Tue, 5 May 2026 10:24:39 +0000 Subject: [PATCH] Improve PhotoGrid screen reader accessibility Co-authored-by: ralksta <16941050+ralksta@users.noreply.github.com> --- app/[...path]/PhotoGrid.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/[...path]/PhotoGrid.tsx b/app/[...path]/PhotoGrid.tsx index c3638ef..5ac46d5 100644 --- a/app/[...path]/PhotoGrid.tsx +++ b/app/[...path]/PhotoGrid.tsx @@ -155,6 +155,7 @@ export function PhotoGrid({ assets, layout = 'masonry', gridStyle }: PhotoGridPr role="button" tabIndex={0} aria-label={`View photo ${index + 1}`} + aria-haspopup="dialog" style={{ ...(asset.dominantColor ? { backgroundColor: asset.dominantColor } : {}), ...((layout === 'masonry' || layout === 'showcase') && asset.aspectRatio @@ -173,7 +174,7 @@ export function PhotoGrid({ assets, layout = 'masonry', gridStyle }: PhotoGridPr : {})} /> {(asset.camera || asset.lens) && ( -
+ )}