aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/components
diff options
context:
space:
mode:
authorMathieu Suen <mathieu.suen@sonarsource.com>2023-03-16 11:59:25 +0100
committersonartech <sonartech@sonarsource.com>2023-03-22 20:04:08 +0000
commitbb83673c23576d3b486aa42836356ae321016ce6 (patch)
tree6f1d4ad4698a25bb7e77e877963de220b13ddbfa /server/sonar-web/src/main/js/components
parent168dc5e1454f76ef9916f9de4095a074fa847b2d (diff)
downloadsonarqube-bb83673c23576d3b486aa42836356ae321016ce6.tar.gz
sonarqube-bb83673c23576d3b486aa42836356ae321016ce6.zip
SONAR-18662 Improve Admin experience for SAML/SCIM configuration
Diffstat (limited to 'server/sonar-web/src/main/js/components')
-rw-r--r--server/sonar-web/src/main/js/components/controls/RadioCard.tsx3
1 files changed, 3 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/js/components/controls/RadioCard.tsx b/server/sonar-web/src/main/js/components/controls/RadioCard.tsx
index e11b30b4300..1e0a7ee30ba 100644
--- a/server/sonar-web/src/main/js/components/controls/RadioCard.tsx
+++ b/server/sonar-web/src/main/js/components/controls/RadioCard.tsx
@@ -39,6 +39,7 @@ interface Props extends RadioCardProps {
title: React.ReactNode;
titleInfo?: React.ReactNode;
vertical?: boolean;
+ label?: string;
}
export default function RadioCard(props: Props) {
@@ -49,6 +50,7 @@ export default function RadioCard(props: Props) {
recommended,
selected,
titleInfo,
+ label,
vertical = false,
noRadio = false,
} = props;
@@ -68,6 +70,7 @@ export default function RadioCard(props: Props) {
)}
onClick={isActionable && !disabled ? onClick : undefined}
role="radio"
+ aria-label={label}
tabIndex={0}
>
<h2 className="radio-card-header big-spacer-bottom">