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

Fix a11y issue on advertising page #15387

Merged
merged 1 commit into from
Oct 25, 2024

Conversation

clarapenn
Copy link
Contributor

@clarapenn clarapenn commented Oct 25, 2024

One-line summary

Fix a11y issue by wrapping page content in a <main> element

  • I used an AI to write some of this code.

Issue / Bugzilla link

Resolves issue #15337

Testing

/advertising does not come up in list of a11y failures

@clarapenn
Copy link
Contributor Author

Diff is easier to look at without whitespace: https://github.com/mozilla/bedrock/pull/15387/files?diff=unified&w=1

@clarapenn
Copy link
Contributor Author

@alexgibson this is ready - thanks!

Copy link
Member

@alexgibson alexgibson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r+ 🎉

@alexgibson alexgibson merged commit 2dba421 into mozilla:main Oct 25, 2024
3 checks passed
@clarapenn clarapenn changed the title Fix a11y issue by wrapping page content in a <main> element Fix a11y issue on advertising page Oct 25, 2024
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.

2 participants