Improve landmarks on the Project dashboard and Editor pages (#27401)

* Improve landmarks for the Project Dasbhboard

* Improve landmarks for the IDE page

* Improve landmarks for the new redesigned IDE page

* Sort locales

* Fix typo OlButtonToolbar -> OLButtonToolbar

* Update project navbar translation

* Update labels

* Redundant main landmark

* Fix failing test

* Descriptive name for the rails tab

* Header should not be in a button

* Update translation to Account and help

* Update translation to Project categories and tags

* Add explanations

* Show landmark for the survey widget when it's rendered

* Suggestions for nav stretch/scroll/borders

* Source format

---------

Co-authored-by: Antoine Clausse <antoine.clausse@overleaf.com>
GitOrigin-RevId: d05a738e782d2edb229529aadf92b9004dfd973a
This commit is contained in:
Rebeka Dekany
2025-07-29 08:05:16 +00:00
committed by Copybot
co-authored by Antoine Clausse
parent 1abb98fac2
commit 7c97cbbfe4
43 changed files with 340 additions and 165 deletions
+8 -2
View File
@@ -55,7 +55,11 @@ describe('Upgrading', function () {
cy.log('Trigger full flush')
recompile()
cy.get('header').findByText('Menu').click()
cy.findByRole('navigation', {
name: /Project Layout, Sharing, and Submission/i,
})
.findByRole('button', { name: /Menu/i })
.click()
cy.findByText('Source').click()
cy.get('.left-menu-modal-backdrop').click({ force: true })
}
@@ -116,7 +120,9 @@ describe('Upgrading', function () {
openProjectByName(PROJECT_NAME)
cy.url().should('match', /\/project\/[a-fA-F0-9]{24}/)
cy.findByRole('navigation').within(() => {
cy.findByRole('navigation', {
name: /Project actions/i,
}).within(() => {
cy.findByText(PROJECT_NAME)
})
const recompile = throttledRecompile()