nextcloud/cypress
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
..
e2e fix(template): Use <div> instead of <main> to support Vue3 apps mounting 2025-01-14 09:18:43 +01:00
fixtures refactor(core): Replace security annotations with respective attributes 2024-07-26 07:30:45 +02:00
pages test: Add cypress tests for file list filtering 2024-07-25 19:33:28 +02:00
support chore: Update @nextcloud/cypress to v1.0.0-beta.11 2024-11-25 16:22:09 +01:00
dockerNode.ts chore: Update @nextcloud/cypress to v1.0.0-beta.11 2024-11-25 16:22:09 +01:00
tsconfig.json test: Add proper styles for Cypress component tests 2024-10-29 14:28:58 +01:00