diff --git a/webapp/channels/src/components/channel_info_rhs/header.tsx b/webapp/channels/src/components/channel_info_rhs/header.tsx index 0e7cab25a8..8533a16ae0 100644 --- a/webapp/channels/src/components/channel_info_rhs/header.tsx +++ b/webapp/channels/src/components/channel_info_rhs/header.tsx @@ -41,7 +41,9 @@ const Header = ({channel, isArchived, isMobile, onClose}: Props) => { /> )} - + { )} - + Edit History
Edit History
{ children: React.ReactNode; rightWidthHolderRef: React.RefObject; + ariaLabel?: string; + ariaLabeledby?: string; } function ResizableRhs({ @@ -22,6 +24,8 @@ function ResizableRhs({ id, className, rightWidthHolderRef, + ariaLabel, + ariaLabeledby, }: Props) { const containerRef = useRef(null); @@ -91,7 +95,8 @@ function ResizableRhs({ className={className} role={role} ref={containerRef} - aria-labelledby='rhsPanelTitle' + aria-label={ariaLabel} + aria-labelledby={ariaLabeledby || 'rhsPanelTitle'} > {children} { return (
- + {back} { return (
- + {back} - + {props.canGoBack && (