Skip to content

Commit 986f802

Browse files
frontend: Activity: Add unique aria-labels to complementary landmarks
Signed-off-by: Sagar Choudhary <sagar6203620715@gmail.com>
1 parent b228929 commit 986f802

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

frontend/src/components/activity/Activity.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,7 @@ export function SingleActivityRenderer({
248248
<ActivityContext.Provider value={activity}>
249249
<Box
250250
role="complementary"
251+
aria-label={typeof title === 'string' ? title : `Activity ${index + 1}`}
251252
sx={{
252253
display: minimized && !isOverview ? 'none' : undefined,
253254
gridColumn: '2 / 3',

0 commit comments

Comments
 (0)