0
0
Fork 0
mirror of https://github.com/nextcloud/server.git synced 2025-02-07 09:59:46 +00:00
nextcloud_server/cypress/e2e/theming
Ferdinand Thiessen 182acb1e29
fix(template): Use <div> instead of <main> to support Vue3 apps mounting
Vue3 does not replace the element while mounting but only renders within
(replace inner HTML).
So it would result in two stacked `<main>` elements which is invalid and
an accessibility issue.
Instead we just use a `<div>` element for mounting.

For Vue2 apps this does not change anything as the whole element will be
replaced with a new `<main>` element.
For vanilla apps this will slightly decrease the accessibility as the
main landmark is now missing, but this is not a hard accessibility issue
as it would be for Vue3 apps having two main elements.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-14 09:18:43 +01:00
..
a11y-color-contrast.cy.ts fix(template): Use <div> instead of <main> to support Vue3 apps mounting 2025-01-14 09:18:43 +01:00
admin-settings.cy.ts test: Adjust cypress tests to use reusable POM for header navigation 2024-07-10 01:35:25 +02:00
admin-settings_default-app.cy.ts test: Adjust cypress tests to use reusable POM for header navigation 2024-07-10 01:35:25 +02:00
themingUtils.ts feat(theming): Allow shipped backgrounds to have a dark variant 2024-07-12 13:00:07 +02:00
user-settings_app-order.cy.ts chore: Update @nextcloud/cypress to v1.0.0-beta.11 2024-11-25 16:22:09 +01:00
user-settings_background.cy.ts test: Adjust cypress tests to use reusable POM for header navigation 2024-07-10 01:35:25 +02:00