✨(frontend) hide decorative icons from assistive tech with aria-hidden
improves accessibility by reducing screen reader noise from icon elements Signed-off-by: Cyril <c.gromoff@gmail.com>
This commit is contained in:
@@ -63,5 +63,5 @@ export const clickOnAddRootSubPage = async (page: Page) => {
|
||||
const rootItem = page.getByTestId('doc-tree-root-item');
|
||||
await expect(rootItem).toBeVisible();
|
||||
await rootItem.hover();
|
||||
await rootItem.getByRole('button', { name: 'add_box' }).click();
|
||||
await rootItem.getByRole('button', { name: /add subpage/i }).click();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user