From 90a1e8a82ff03394eae4aa50a865f32940aa637f Mon Sep 17 00:00:00 2001 From: Gilles De Mey Date: Wed, 27 Mar 2024 10:05:30 +0100 Subject: [PATCH] Alerting: Make hovercard accessible (#85195) --- public/app/features/alerting/unified/components/HoverCard.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/app/features/alerting/unified/components/HoverCard.tsx b/public/app/features/alerting/unified/components/HoverCard.tsx index 62edfd1c790..9d20a32fd60 100644 --- a/public/app/features/alerting/unified/components/HoverCard.tsx +++ b/public/app/features/alerting/unified/components/HoverCard.tsx @@ -37,7 +37,7 @@ export const HoverCard = ({ } const body = ( - + {header &&
{header}
}
{content}
{footer &&
{footer}
} @@ -69,6 +69,7 @@ export const HoverCard = ({ onMouseLeave: hidePopper, onFocus: showPopper, onBlur: hidePopper, + tabIndex: 0, })} );