Skip to content

chore(a11y): use tablet viewport size when auditing#1911

Merged
dgutride merged 4 commits intopatternfly:masterfrom
seanforyou23:mobile-a11y-checks
Jun 12, 2019
Merged

chore(a11y): use tablet viewport size when auditing#1911
dgutride merged 4 commits intopatternfly:masterfrom
seanforyou23:mobile-a11y-checks

Conversation

@seanforyou23
Copy link
Contributor

@seanforyou23 seanforyou23 commented Jun 7, 2019

This PR updates the window size used for the browser that our a11y audit is run against. I've noticed for a while that we get more errors reported on CI that we do locally, was about to file a bug when I realized using a smaller than "maximized" size causes the audit to produce consistent results across both local and CI. We've been wanting to start testing smaller viewports anyway, as many components change in appearance and behavior at smaller dimensions. So, here we use the size of an iPad in portrait orientation.

Should help close; #1602 and #1906

@seanforyou23 seanforyou23 added enhancement A11y Accessibility related issues labels Jun 7, 2019
@patternfly-build
Copy link
Collaborator

patternfly-build commented Jun 7, 2019

Deploy preview for pf-next ready!

Built with commit c4eb4cd

https://deploy-preview-1911--pf-next.netlify.com

Copy link
Contributor

@mcoker mcoker left a comment

Choose a reason for hiding this comment

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

👍

@srambach
Copy link
Member

Probably a future idea, but I was wondering if it would be worth making a parameter to the test to say which breakpoint to use.

Copy link
Contributor

@jgiardino jgiardino left a comment

Choose a reason for hiding this comment

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

LGTM!

@dgutride dgutride merged commit 381e80a into patternfly:master Jun 12, 2019
@patternfly-build
Copy link
Collaborator

🎉 This PR is included in version 2.12.6 🎉

The release is available on:

Your semantic-release bot 📦🚀

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.

7 participants