♿️(frontend) use aria-label trad for version history modal #2023
Replace hardcoded aria-label with aria-lab trad.
This commit is contained in:
@@ -163,7 +163,7 @@ test.describe('Doc Version', () => {
|
||||
|
||||
await expect(modal.getByText('World')).toBeHidden();
|
||||
|
||||
await page.getByRole('button', { name: 'Restore' }).click();
|
||||
await page.getByRole('button', { name: 'Restore', exact: true }).click();
|
||||
await expect(page.getByText('Your current document will')).toBeVisible();
|
||||
await page.getByText('If a member is editing, his').click();
|
||||
|
||||
|
||||
+1
-1
@@ -118,7 +118,7 @@ export const ModalSelectVersion = ({
|
||||
`}
|
||||
>
|
||||
<Box
|
||||
aria-label="version list"
|
||||
aria-label={t('Version list')}
|
||||
$css={css`
|
||||
overflow-y: auto;
|
||||
flex: 1;
|
||||
|
||||
Reference in New Issue
Block a user