overleaf/services
Antoine Clausse 0c4ca15003 [web] Add #main-content to some pug pages (fix skip-to-content links) (#18050)
* Add `#main-content` to some pug pages

This fixes our `skip-to-content` accessibility anchor links. Alternatively or additionally, we can set `suppressSkipToContent = true` in some pages: that will remove the anchor link in the page.

While working on this, I noticed that sometimes we still have a bit of extra nesting or components that should maybe be out of `<main>` or `#main-content`. In a future PR we can maybe update these elements to target the "real core content" of the page.

* Add `suppressSkipToContent` in confirm-email page

GitOrigin-RevId: 6cbf4112f2d1a2d8eff06f142d0c2b4f3a5d9cff
2024-04-24 08:04:43 +00:00
..
chat Merge pull request #17974 from overleaf/rh-express-4192 2024-04-23 08:05:01 +00:00
clsi Merge pull request #17974 from overleaf/rh-express-4192 2024-04-23 08:05:01 +00:00
contacts Merge pull request #17974 from overleaf/rh-express-4192 2024-04-23 08:05:01 +00:00
docstore Merge pull request #17974 from overleaf/rh-express-4192 2024-04-23 08:05:01 +00:00
document-updater Merge pull request #17974 from overleaf/rh-express-4192 2024-04-23 08:05:01 +00:00
filestore Merge pull request #17974 from overleaf/rh-express-4192 2024-04-23 08:05:01 +00:00
git-bridge Merge pull request #18028 from overleaf/csh-issue-18027-git-bridge-image 2024-04-23 08:04:24 +00:00
history-v1 Merge pull request #18041 from overleaf/em-jpa-recovery-script 2024-04-23 08:05:40 +00:00
notifications Merge pull request #17974 from overleaf/rh-express-4192 2024-04-23 08:05:01 +00:00
project-history Merge pull request #17974 from overleaf/rh-express-4192 2024-04-23 08:05:01 +00:00
real-time Merge pull request #17974 from overleaf/rh-express-4192 2024-04-23 08:05:01 +00:00
spelling Merge pull request #17974 from overleaf/rh-express-4192 2024-04-23 08:05:01 +00:00
web [web] Add #main-content to some pug pages (fix skip-to-content links) (#18050) 2024-04-24 08:04:43 +00:00