From 3a8d3fa38f54889ce504cf4de358625203ae70bf Mon Sep 17 00:00:00 2001 From: Saurabh Sharma Date: Wed, 15 Jan 2025 04:11:40 +0530 Subject: [PATCH] [MA-29]: Add appropriate name information (#29694) Co-authored-by: Mattermost Build --- .../src/components/post_priority/post_priority_picker.tsx | 5 ++++- .../post_priority/post_priority_picker_overlay.tsx | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/webapp/channels/src/components/post_priority/post_priority_picker.tsx b/webapp/channels/src/components/post_priority/post_priority_picker.tsx index cad57fe490..8124a7c6d5 100644 --- a/webapp/channels/src/components/post_priority/post_priority_picker.tsx +++ b/webapp/channels/src/components/post_priority/post_priority_picker.tsx @@ -132,7 +132,10 @@ function PostPriorityPicker({ return ( -
+
{formatMessage({ id: 'post_priority.picker.header', defaultMessage: 'Message priority', diff --git a/webapp/channels/src/components/post_priority/post_priority_picker_overlay.tsx b/webapp/channels/src/components/post_priority/post_priority_picker_overlay.tsx index 9418368dee..f987595a3b 100644 --- a/webapp/channels/src/components/post_priority/post_priority_picker_overlay.tsx +++ b/webapp/channels/src/components/post_priority/post_priority_picker_overlay.tsx @@ -121,6 +121,7 @@ function PostPriorityPickerOverlay({ zIndex: 3, }} {...getPickerFloatingProps()} + aria-labelledby='messagePriority-heading' >