Skip to content

Do alfa-scrape and alfa-act share the same viewport? #107

Discussion options

You must be logged in to vote

The scraper passes along its device information as an input aspect, which you seem to be correctly passing to the audit() function in your implementation:

const device: Device = {
type: DeviceType.Screen,
viewport: {
width: viewport.width,
height: viewport.height,
orientation: Orientation.Landscape
},
display: {
resolution: viewport.scale === undefined ? 1 : viewport.scale
}
};

If something, whether the rule in question or the style system, seems to think that this hamburger menu is visible when it really isn't, that could very well be a bug. Can you make …

Replies: 6 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by kasperisager
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #107 on December 18, 2020 07:12.