0
0
Fork 0
mirror of https://github.com/nextcloud/server.git synced 2025-01-30 22:37:01 +00:00
nextcloud_server/core/templates
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
..
filetemplates Deprecate TemplateManager 2019-10-16 09:54:17 +02:00
legacy chore: Move legacy dialogs template from files to core until we can remove it 2024-09-20 13:47:08 +02:00
loginflow chore: Add SPDX header 2024-05-27 14:53:40 +02:00
loginflowv2 fix: Add direct parameter to flow auth v2 2024-08-05 12:13:52 +02:00
403.php chore: Add SPDX header 2024-05-27 14:53:40 +02:00
404.php chore: Add SPDX header 2024-05-27 14:53:40 +02:00
429.php chore: Add SPDX header 2024-05-27 14:53:40 +02:00
confirmation.php fix(provisionning_api): Remove parameters that are not set into template 2024-08-28 14:51:02 +02:00
error.php style: update codestyle for coding-standard 1.2.3 2024-08-25 19:34:58 +02:00
exception.php fix: Prevent duplicate creation of print_exception function 2024-09-18 09:31:46 +02:00
installation.php fix(setup): clarify installation wording to be clear that it is about account creation 2025-01-07 10:18:43 +01:00
installation_forbidden.php chore: Add SPDX header 2024-05-27 14:53:40 +02:00
installation_incomplete.php chore: Add SPDX header 2024-05-27 14:53:40 +02:00
layout.base.php fix: Disable auto-zoom on iOS 2024-08-21 13:01:18 +02:00
layout.guest.php fix(template): Use <div> instead of <main> to support Vue3 apps mounting 2025-01-14 09:18:43 +01:00
layout.initial-state.php feat: Provide CSP nonce as <meta> element 2024-08-13 10:32:44 +02:00
layout.noscript.warning.php chore: Add SPDX header 2024-05-27 14:53:40 +02:00
layout.public.php fix(template): Use <div> instead of <main> to support Vue3 apps mounting 2025-01-14 09:18:43 +01:00
layout.user.php fix(template): Use <div> instead of <main> to support Vue3 apps mounting 2025-01-14 09:18:43 +01:00
login.php chore: Add SPDX header 2024-05-27 14:53:40 +02:00
print_exception.php fix: Prevent duplicate creation of print_exception function 2024-09-18 09:31:46 +02:00
print_xml_exception.php fix: Prevent duplicate creation of print_exception function 2024-09-18 09:31:46 +02:00
publicshareauth.php chore: Add SPDX header 2024-05-27 14:53:40 +02:00
recommendedapps.php chore: Add SPDX header 2024-05-27 14:53:40 +02:00
success.php chore: Add SPDX header 2024-05-27 14:53:40 +02:00
tags.html chore: Add SPDX header 2024-05-27 14:53:40 +02:00
twofactorselectchallenge.php chore: Add SPDX header 2024-05-27 14:53:40 +02:00
twofactorsetupchallenge.php chore: Add SPDX header 2024-05-27 14:53:40 +02:00
twofactorsetupselection.php chore: Add SPDX header 2024-05-27 14:53:40 +02:00
twofactorshowchallenge.php style: update codestyle for coding-standard 1.2.3 2024-08-25 19:34:58 +02:00
unsupportedbrowser.php chore: Add SPDX header 2024-05-27 14:53:40 +02:00
untrustedDomain.php chore: Add SPDX header 2024-05-27 14:53:40 +02:00
update.admin.php chore: Add SPDX header 2024-05-27 14:53:40 +02:00
update.use-cli.php chore: Add SPDX header 2024-05-27 14:53:40 +02:00
update.user.php chore: Add SPDX header 2024-05-27 14:53:40 +02:00
xml_exception.php fix: Prevent duplicate creation of print_exception function 2024-09-18 09:31:46 +02:00