Closed hilja closed 3 months ago
https://www.nytimes.com/
The audit with the id layout-shifts doesn’t define details.headings[n].subHeadings.valueType for the node.
layout-shifts
details.headings[n].subHeadings.valueType
{ "more": "stuff...", "headings": [ { "key": "node", "label": "Element", "valueType": "node", "subItemsHeading": { "key": "extra", } }, { "key": "score", "label": "Layout shift score", "valueType": "numeric", "granularity": 0.001, "subItemsHeading": { "key": "cause", "valueType": "text" } } ], "more": "stuff...", }
I expected the node item to have valueType: 'node':
valueType: 'node'
{ "more": "stuff...", "headings": [ { "key": "node", "label": "Element", "valueType": "node", "subItemsHeading": { "key": "extra", "valueType": "node" } }, { "key": "score", "label": "Layout shift score", "valueType": "numeric", "granularity": 0.001, "subItemsHeading": { "key": "cause", "valueType": "text" } } ], "more": "stuff...", }
Run it on the provided URL.
node
11.7.0
chrome-launcher 1.1.1
20.11.1
Mac Sonoma 14.3.1 (23D60)
No response
Okay, I understand it better now 😅 There are different types of subItems so the type of the sub item can't be defined on the upper level.
subItems
FAQ
URL
https://www.nytimes.com/
What happened?
The audit with the id
layout-shifts
doesn’t definedetails.headings[n].subHeadings.valueType
for the node.What did you expect?
I expected the node item to have
valueType: 'node'
:What have you tried?
Run it on the provided URL.
How were you running Lighthouse?
node
Lighthouse Version
11.7.0
Chrome Version
chrome-launcher 1.1.1
Node Version
20.11.1
OS
Mac Sonoma 14.3.1 (23D60)
Relevant log output
No response