Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove role="main" to ensure 'NPM Docs' page contains only one main l…
…andmark (#1354) <!-- What / Why --> This pull request removes the `role="main"` attribute from the `PageElement` component in the `src/page.js` file to ensure there is only one main landmark on the 'NPM Docs' page. ## Before <img width="1725" alt="NPM Docs page with more than one main landmark" src="https://github.com/user-attachments/assets/dd397661-24a0-489b-813e-638e028c6242"> ## After <img width="1711" alt="NPM Docs page with only one main landmark" src="https://github.com/user-attachments/assets/86d300a1-d11c-4f0d-80e1-781566b5c106"> ## References - github/accessibility-audits#9212
- Loading branch information