Skip to content

Commit

Permalink
fixup! set expand button id
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewazores committed Nov 3, 2022
1 parent fc35fa1 commit f261836
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/TargetSelect/TargetSelect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ export const TargetSelect: React.FunctionComponent<TargetSelectProps> = (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,
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ exports[`<TargetSelect /> 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"
Expand Down

0 comments on commit f261836

Please sign in to comment.