From 091d1bba8b88f7d5ef876385f7a3749f9966854a Mon Sep 17 00:00:00 2001 From: Saurabh Sharma Date: Mon, 13 Jan 2025 23:21:27 +0530 Subject: [PATCH] [MA-28]: Add state information in message priority dialog (#29693) --- .../src/components/post_priority/post_priority_picker_item.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/webapp/channels/src/components/post_priority/post_priority_picker_item.tsx b/webapp/channels/src/components/post_priority/post_priority_picker_item.tsx index f1de5b5085..3b7cb7bb63 100644 --- a/webapp/channels/src/components/post_priority/post_priority_picker_item.tsx +++ b/webapp/channels/src/components/post_priority/post_priority_picker_item.tsx @@ -94,6 +94,7 @@ function Item({ aria-label={ariaLabel} className='style--none' onClick={onClick} + aria-pressed={isSelected} > {text && {text}} {isSelected && ( @@ -117,6 +118,7 @@ function ToggleItem({ onClick={disabled ? undefined : onClick} disabled={disabled} role='button' + aria-pressed={toggled} > {icon}