Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove role="main" to ensure 'NPM Docs' page contains only one main landmark #1354

Merged
merged 1 commit into from
Nov 5, 2024

Conversation

maitxn
Copy link
Contributor

@maitxn maitxn commented Nov 1, 2024

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

NPM Docs page with more than one main landmark

After

NPM Docs page with only one main landmark

References

@maitxn
Copy link
Contributor Author

maitxn commented Nov 4, 2024

Hi @wraithgar can you please merge this PR to prod?

@wraithgar wraithgar merged commit 21e36bb into main Nov 5, 2024
9 checks passed
@wraithgar wraithgar deleted the maitxn/accessibility-9212 branch November 5, 2024 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants