Bug #36510
closedIncorrect aria-label and component ID in the alternate content source modal for editing credentials
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=2212740
Created attachment 1969239 [details]
Screenshot showing incorrect ids and aria labels
Description of problem:
When you add custom or RHUI ACS to the satellite and try to edit its credentials, there are
"Edit" and "Cancel" buttons in the edit modal.
"Edit" button has an aria-label: "edit_acs_details" (should be "edit_acs_credentials")
has data-ouia-component-id: "edit-acs-details-submit" (should be "edit-acs-credentials-submit")
"Cancel" button has data-ouia-component-id: "edit-acs-details-cancel" (should be "edit-acs-credentials-cancel")
Version-Release number of selected component (if applicable):
satellite-6.14.0-1stream.el8sat.noarch
foreman-3.7.0-0.5.rc2.el8sat.noarch
Red Hat Enterprise Linux release 8.8 (Ootpa)
How reproducible:
Every time
Steps to Reproduce:
1. Have custom or RHUI ACS added to the satellite
2. Click on that ACS in the ACS table
3. Try to edit credentials
4. Inspect the "Edit" and "Cancel" buttons
Actual results:
"Edit" and "Cancel" buttons have incorrect aria-labels and data-ouia-component-ids.
Expected results:
"Edit" and "Cancel" buttons should have their own aria-labels and data-ouia-component-ids.
Additional info:
See attached screenshot.
&
Similar to BZ2208161