From 59362c27ec4238f04e03320e430b59d97af78a48 Mon Sep 17 00:00:00 2001 From: Johannes Doberer Date: Mon, 17 Feb 2025 14:25:47 +0100 Subject: [PATCH] Accessibility tab order (#4140) --- core/src/App.svelte | 56 ++++++------- .../examples/microfrontends/multipurpose.html | 14 +++- .../0-js-test-app/js-test-app-a11y.cy.js | 80 ++++++++++--------- .../js-test-app-btp-layout.cy.js | 48 +++++++++-- .../tests/0-js-test-app/js-test-app-layout.js | 37 +++++++++ 5 files changed, 160 insertions(+), 75 deletions(-) create mode 100644 test/e2e-test-application/cypress/e2e/tests/0-js-test-app/js-test-app-layout.js diff --git a/core/src/App.svelte b/core/src/App.svelte index b86efdd066..d8db1f3f88 100644 --- a/core/src/App.svelte +++ b/core/src/App.svelte @@ -1954,6 +1954,33 @@ {:else} + {#if !isHeaderDisabled} + + {/if} + {#if !(hideNav || hideSideNav)} + + {/if}
{/if} - {#if !isHeaderDisabled} - - {/if} + {#if !hideNav} {#if breadcrumbsEnabled} {/if} {/if} - {#if !(hideNav || hideSideNav)} - - {/if} + {#if tabNav && !hideNav} {/if} diff --git a/test/e2e-js-test-application/public/examples/microfrontends/multipurpose.html b/test/e2e-js-test-application/public/examples/microfrontends/multipurpose.html index e45afbae3b..2a04ec88d7 100644 --- a/test/e2e-js-test-application/public/examples/microfrontends/multipurpose.html +++ b/test/e2e-js-test-application/public/examples/microfrontends/multipurpose.html @@ -1,4 +1,4 @@ - + @@ -40,7 +40,7 @@ - +
@@ -63,6 +63,12 @@

Multi purpose demo page

> Open /home/one as split view + +