diff --git a/src/app/TargetSelect/TargetSelect.tsx b/src/app/TargetSelect/TargetSelect.tsx index faadca5f2..a133a2f71 100644 --- a/src/app/TargetSelect/TargetSelect.tsx +++ b/src/app/TargetSelect/TargetSelect.tsx @@ -273,7 +273,7 @@ export const TargetSelect: React.FunctionComponent = (props) : { id: 'target-select-expand-button', 'aria-label': 'Details', - 'aria-labelledby': 'expandable-card-title toggle-button1', + 'aria-labelledby': 'expandable-card-title target-select-expand-button', 'aria-expanded': isExpanded, } } diff --git a/src/test/TargetSelect/__snapshots__/TargetSelect.test.tsx.snap b/src/test/TargetSelect/__snapshots__/TargetSelect.test.tsx.snap index 417e150c5..b9e577961 100644 --- a/src/test/TargetSelect/__snapshots__/TargetSelect.test.tsx.snap +++ b/src/test/TargetSelect/__snapshots__/TargetSelect.test.tsx.snap @@ -98,7 +98,7 @@ exports[` renders correctly 1`] = ` aria-disabled={false} aria-expanded={false} aria-label="Details" - aria-labelledby="expandable-card-title toggle-button1" + aria-labelledby="expandable-card-title target-select-expand-button" className="pf-c-button pf-m-plain" data-ouia-component-id="OUIA-Generated-Button-plain-1" data-ouia-component-type="PF4/Button"