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

Contain all visible content in landmark regions #128

Merged
merged 1 commit into from
May 22, 2024
Merged

Conversation

yndajas
Copy link
Member

@yndajas yndajas commented May 22, 2024

We had some WCAG violations about content not being contained by landmark regions. This adds all visible content into header or main. We can add a footer or other regions later if/when useful

https://dequeuniversity.com/rules/axe/4.9/landmark-one-main?application=AxeChrome

Copy link
Contributor

@richpjames richpjames left a comment

Choose a reason for hiding this comment

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

Maybe out of scope of this PR but it would be good to get some automated a11y checks in the pipeline

@yndajas
Copy link
Member Author

yndajas commented May 22, 2024

Maybe out of scope of this PR but it would be good to get some automated a11y checks in the pipeline

Yup. With it being a reactive app, it might be hard to define points at which automatic checks need to refire, but one to think about

@yndajas
Copy link
Member Author

yndajas commented May 22, 2024

@richpjames #130

We had some WCAG violations about content not being contained by
landmark regions. This adds all visible content into `header` or `main`.
We can add a `footer` or other regions later if/when useful

https://dequeuniversity.com/rules/axe/4.9/landmark-one-main?application=AxeChrome
@yndajas yndajas force-pushed the add-landmark-regions branch from 7912f00 to 3c24261 Compare May 22, 2024 16:49
@yndajas yndajas enabled auto-merge May 22, 2024 16:50
@yndajas yndajas merged commit 3882547 into main May 22, 2024
2 checks passed
@yndajas yndajas deleted the add-landmark-regions branch May 22, 2024 16:50
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