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

* 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

GitOrigin-RevId: 96712b37bb1306b552de510d9fd8ae890f24309f
This commit is contained in:
Rebeka Dekany
2025-07-23 08:07:35 +00:00
committed by Copybot
parent bd9fdfe99e
commit 1b4cbd4efb
41 changed files with 331 additions and 166 deletions
@@ -31,10 +31,12 @@ describe('<PdfJSViewer/>', function () {
cy.waitForCompile({ pdf: true })
cy.findByRole('region', { name: `Page ${FSI}1${PDI}` })
cy.findByRole('region', { name: `Page ${FSI}2${PDI}` })
cy.findByRole('region', { name: `Page ${FSI}3${PDI}` })
cy.findByRole('region', { name: `Page ${FSI}4${PDI}` }).should('not.exist')
cy.findByTestId('pdfjs-viewer-inner').within(() => {
cy.findByLabelText(`Page ${FSI}1${PDI}`)
cy.findByLabelText(`Page ${FSI}2${PDI}`)
cy.findByLabelText(`Page ${FSI}3${PDI}`)
cy.findByLabelText(`Page ${FSI}4${PDI}`).should('not.exist')
})
cy.contains('Your Paper')
})
@@ -96,7 +98,9 @@ describe('<PdfJSViewer/>', function () {
cy.waitForCompile({ pdf: true })
cy.findByRole('region', { name: `Page ${FSI}1${PDI}` })
cy.findByTestId('pdfjs-viewer-inner').within(() => {
cy.findByLabelText(`Page ${FSI}1${PDI}`)
})
cy.then(() => unmountComponentAtNode(getContainerEl()))
})