Critical accessibility fixes for Identity providers page (#2871)
* added labels and fixed Ids * fixed id * changed id * fixed id * removed aria-label Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
This commit is contained in:
parent
8dd40ccc15
commit
489f7ba98b
3 changed files with 4 additions and 4 deletions
|
@ -114,7 +114,7 @@ export const ManageOrderDialog = ({
|
|||
{sortBy(providers, "config.guiOrder").map((provider) => (
|
||||
<DataListItem
|
||||
aria-labelledby={provider.alias}
|
||||
id={provider.alias}
|
||||
id={`${provider.alias}-item`}
|
||||
key={provider.alias}
|
||||
>
|
||||
<DataListItemRow>
|
||||
|
|
|
@ -58,7 +58,7 @@ const Fields = ({ readOnly }: DescriptorSettingsProps) => {
|
|||
<div className="pf-c-form pf-m-horizontal">
|
||||
<FormGroup
|
||||
label={t("serviceProviderEntityId")}
|
||||
fieldId="kc-service-provider-entity-id"
|
||||
fieldId="kc-saml-service-provider-entity-id"
|
||||
labelIcon={
|
||||
<HelpItem
|
||||
helpText="identity-providers-help:serviceProviderEntityId"
|
||||
|
@ -70,7 +70,7 @@ const Fields = ({ readOnly }: DescriptorSettingsProps) => {
|
|||
type="text"
|
||||
name="config.entityId"
|
||||
data-testid="serviceProviderEntityId"
|
||||
id="kc-service-provider-entity-id"
|
||||
id="kc-saml-service-provider-entity-id"
|
||||
ref={register()}
|
||||
/>
|
||||
</FormGroup>
|
||||
|
|
|
@ -27,7 +27,7 @@ export const DisplayOrder = () => {
|
|||
defaultValue=""
|
||||
render={({ onChange, value }) => (
|
||||
<TextInput
|
||||
id="displayOrder"
|
||||
id="kc-display-order"
|
||||
type="number"
|
||||
value={value}
|
||||
data-testid="displayOrder"
|
||||
|
|
Loading…
Reference in a new issue