fix a11y id issues in team list and jt form

This commit is contained in:
Keith J. Grant
2021-07-21 16:01:59 -07:00
parent 77f2729a76
commit e32471adbd
2 changed files with 2 additions and 2 deletions

View File

@@ -31,7 +31,7 @@ function TeamListItem({ team, isSelected, onSelect, detailUrl, rowIndex }) {
dataLabel={t`Selected`} dataLabel={t`Selected`}
/> />
<Td id={labelId} dataLabel={t`Name`}> <Td id={labelId} dataLabel={t`Name`}>
<Link id={labelId} to={`${detailUrl}`}> <Link to={`${detailUrl}`}>
<b>{team.name}</b> <b>{team.name}</b>
</Link> </Link>
</Td> </Td>

View File

@@ -266,7 +266,7 @@ function JobTemplateForm({
/> />
</FieldWithPrompt> </FieldWithPrompt>
<FormGroup <FormGroup
fieldId="inventory-lookup" fieldId="template-inventory"
validated={ validated={
!(inventoryMeta.touched || askInventoryOnLaunchField.value) || !(inventoryMeta.touched || askInventoryOnLaunchField.value) ||
!inventoryMeta.error !inventoryMeta.error