From abc8366e99d1363848472c9eac0fc2b0cd64a4ab Mon Sep 17 00:00:00 2001 From: Rebeka Dekany <50901361+rebekadekany@users.noreply.github.com> Date: Thu, 4 Jan 2024 16:20:50 +0100 Subject: [PATCH] Merge pull request #16371 from overleaf/rd-skip-link-dashboard [web] Accessibility - Add 'main-content' ID to main element for skip link destination GitOrigin-RevId: f6a7bf4cc12ab2428478562a9edda245dce7c2fb --- services/web/app/views/project/list-react.pug | 3 ++- services/web/app/views/subscriptions/dashboard-react.pug | 3 ++- services/web/app/views/user/settings.pug | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/services/web/app/views/project/list-react.pug b/services/web/app/views/project/list-react.pug index df777a8abd..de297e9bc4 100644 --- a/services/web/app/views/project/list-react.pug +++ b/services/web/app/views/project/list-react.pug @@ -39,4 +39,5 @@ block append meta meta(name="ol-groupSsoSetupSuccess" data-type="boolean" content=groupSsoSetupSuccess) block content - main.content.content-alt.project-list-react#project-list-root + main.content.content-alt.project-list-react#main-content + #project-list-root diff --git a/services/web/app/views/subscriptions/dashboard-react.pug b/services/web/app/views/subscriptions/dashboard-react.pug index bfce645c72..96cefee91e 100644 --- a/services/web/app/views/subscriptions/dashboard-react.pug +++ b/services/web/app/views/subscriptions/dashboard-react.pug @@ -24,4 +24,5 @@ block append meta meta(name="ol-groupPlans" data-type="json" content=groupPlans) block content - main.content.content-alt#subscription-dashboard-root + main.content.content-alt#main-content + #subscription-dashboard-root diff --git a/services/web/app/views/user/settings.pug b/services/web/app/views/user/settings.pug index e5d8582095..1f7017bd59 100644 --- a/services/web/app/views/user/settings.pug +++ b/services/web/app/views/user/settings.pug @@ -29,4 +29,5 @@ block append meta meta(name="ol-currentManagedUserAdminEmail" data-type="string" content=currentManagedUserAdminEmail) block content - main.content.content-alt#settings-page-root + main.content.content-alt#main-content + #settings-page-root