mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
fix: [Platform:StackManagement:Kibana:Spaces] Assign roles to a space flyout announced incorrectly (#218576)
Closes: #218351 **Description** When user clicks on assign new roles to a space button, the resulting flyout gets announced incorrectly as "you are in a modal dialog..." which doesn't give any context to non-sighted user. **Changes made:** 1. added 'aria-labelledby' attribute **Screen:** <img width="1323" alt="image" src="https://github.com/user-attachments/assets/63ffdcca-2139-4302-9dce-ded3a4d3b9a2" />
This commit is contained in:
parent
a7be37e1cd
commit
78bf949dbf
2 changed files with 2 additions and 1 deletions
|
@ -106,6 +106,7 @@ export const EditSpaceAssignedRolesTab: FC<Props> = ({ space, features, isReadOn
|
|||
size: 'm',
|
||||
maxWidth: true,
|
||||
maskProps: { headerZindexLocation: 'below' },
|
||||
'aria-labelledby': 'space-assign-role-privilege-form-title',
|
||||
}
|
||||
);
|
||||
},
|
||||
|
|
|
@ -663,7 +663,7 @@ export const PrivilegesRolesForm: FC<PrivilegesRolesFormProps> = (props) => {
|
|||
<React.Fragment>
|
||||
<EuiFlyoutHeader hasBorder>
|
||||
<EuiTitle size="m">
|
||||
<h2>
|
||||
<h2 id="space-assign-role-privilege-form-title">
|
||||
{isEditOperation.current
|
||||
? i18n.translate('xpack.spaces.management.spaceDetails.roles.assignRoleButton', {
|
||||
defaultMessage: 'Edit role privileges for space',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue