From a3a5d07beb98e674798bca0f1dc6797e3692eab1 Mon Sep 17 00:00:00 2001 From: Diana Petcheva Date: Tue, 19 Nov 2024 17:08:17 +0200 Subject: [PATCH 1/3] feat(ui5-button, ui5-link): support accessibile description --- packages/main/cypress/specs/Button.cy.ts | 154 ++++++++++++----------- packages/main/cypress/specs/Link.cy.ts | 16 +++ packages/main/src/Button.hbs | 1 + packages/main/src/Button.ts | 9 ++ packages/main/src/Link.hbs | 1 + packages/main/src/Link.ts | 9 ++ packages/main/test/pages/Button.html | 3 + packages/main/test/pages/Link.html | 8 +- 8 files changed, 128 insertions(+), 73 deletions(-) create mode 100644 packages/main/cypress/specs/Link.cy.ts diff --git a/packages/main/cypress/specs/Button.cy.ts b/packages/main/cypress/specs/Button.cy.ts index 2a6673582d60..741aec9dd963 100644 --- a/packages/main/cypress/specs/Button.cy.ts +++ b/packages/main/cypress/specs/Button.cy.ts @@ -111,49 +111,6 @@ describe("Button general interaction", () => { .should("not.been.called"); }); - it("aria-expanded is properly applied on the button tag", () => { - cy.mount(html`Action Bar Button`); - - cy.get("[ui5-button]") - .as("button"); - - cy.get