-
Notifications
You must be signed in to change notification settings - Fork 9.5k
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
Lighthouse 3 Regression in Reporting Data #5402
Comments
Agreed, there is stuff in there that should be in |
(other properties besides |
Ideally, I would like all of it. :-) But these are the six I miss most.
I mostly just use the Accessibility section, so I don't know if there are other Categories where meta might have been removed. Thanks @brendankenny for the fast response! Y'all are awesome. |
We're trying to trim down the size of the JSON where possible and a decent amount of that information is duplicated with the audit information already provided (id, title, description, html snippet, selector, etc), or static based on the axe docs. It seems like just adding cc @robdodson do you know if |
yeah, it seems like I'm curious about |
Yes, thanks for asking. I can help explain.
The difference in LH2 <a href="/foobar">" LH2 <a href="/foobar"><span class="blue">Learn more about FooBar</span></a> If we try to help someone debug their accessibility, we need the name in the link to help identify which link has poor contrast. In the following audits also need
So, if we want to cut fat, |
One last request... LH2
We would be eternally grateful if we can have these four fields back before LH3 is released :-).
I think that will provide full coverage. Does that sound possible? |
They'll all be the same impact, which comes from the rule itself. |
I'd also like the meta to stay so that this lighthouse to markdown tool can continue development. |
@ptrin does the list @joelhsmith is asking for cover what you need?
Seems reasonable I think we can do this with little impact to LHR size 👍
Ideally we'd be able to construct this with the rest of the information provided, but it seems like in some cases it's providing totally new information (like the actual color contrast ratio for example). I'm cool with this too 👍
I'm a little more hesitant on this one since we provide a selector, DevTools node path, and the opening tag for identification purposes. The innerHtml as you point out can be quite useful, but it can also be much larger. Would improving snippet to contain the first X characters of textContent be enough here? |
Yes, I'm referring to his reporting tool. |
In defence of
|
Oh, @patrickhulce I would be remiss not to thank you for impact, tags, and failureSummary additions. |
Alright @joelhsmith good points, you've sold me on returning Would it be a problem for you if the |
Perfect! As i mentioned before there are a couple audits that only have .snippet but do not have .html. So ya, if .html exists in the audit, replace .snippet with .html's content. That would be great. |
Accessibility Meta is missing in Lighthouse 3
Provide the steps to reproduce
Run Lighthouse 2.9.4 on any website using the cli.
For my example I am running a simple report on http://cats.com.
To simply the example, you can run this, but it is not necessary:
If there is a contrast error, Lighthouse 2.9 provides information about the current failing element.
For my example I am showing the contrast ratio. Notice in
failureSummary
it calculates the current ratio and advises what contrast ratio needs met to pass.Example result:
Full Gist here
Yay! Lots of important meta.
But that meta has been removed in Lighthouse 3
Run Lighthouse 3.0.0-alpha.2 on any website. To simplify, you can run my Gist above.
View Full Gist here
All gone.
This seems like a major regression. I was using that data to consume the json and create markdown files with all the data, not just what is shown on the default html Lighthouse report.
I know it says that
extendedInfo
has changed todetails
in the migration doc. But this is more than renaming something. This is removing major functionality.The text was updated successfully, but these errors were encountered: