lighthouse 13.5.0-dev.20261023 → 13.6.0-dev.20261027
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.agents/skills/update-ard-port/SKILL.md +4 -3
- package/cli/printer.js +5 -8
- package/core/audits/accessibility/accesskeys.js +1 -1
- package/core/audits/accessibility/aria-allowed-attr.js +1 -1
- package/core/audits/accessibility/aria-allowed-role.js +1 -1
- package/core/audits/accessibility/aria-command-name.js +1 -1
- package/core/audits/accessibility/aria-conditional-attr.js +1 -1
- package/core/audits/accessibility/aria-deprecated-role.js +1 -1
- package/core/audits/accessibility/aria-dialog-name.js +1 -1
- package/core/audits/accessibility/aria-hidden-body.js +1 -1
- package/core/audits/accessibility/aria-hidden-focus.js +1 -1
- package/core/audits/accessibility/aria-input-field-name.js +1 -1
- package/core/audits/accessibility/aria-meter-name.js +1 -1
- package/core/audits/accessibility/aria-progressbar-name.js +1 -1
- package/core/audits/accessibility/aria-prohibited-attr.js +1 -1
- package/core/audits/accessibility/aria-required-attr.js +1 -1
- package/core/audits/accessibility/aria-required-children.js +1 -1
- package/core/audits/accessibility/aria-required-parent.js +1 -1
- package/core/audits/accessibility/aria-roles.js +1 -1
- package/core/audits/accessibility/aria-text.js +1 -1
- package/core/audits/accessibility/aria-toggle-field-name.js +1 -1
- package/core/audits/accessibility/aria-tooltip-name.js +1 -1
- package/core/audits/accessibility/aria-treeitem-name.js +1 -1
- package/core/audits/accessibility/aria-valid-attr-value.js +1 -1
- package/core/audits/accessibility/aria-valid-attr.js +1 -1
- package/core/audits/accessibility/autocomplete-valid.js +1 -1
- package/core/audits/accessibility/button-name.js +1 -1
- package/core/audits/accessibility/bypass.js +1 -1
- package/core/audits/accessibility/color-contrast.js +1 -1
- package/core/audits/accessibility/definition-list.js +1 -1
- package/core/audits/accessibility/dlitem.js +1 -1
- package/core/audits/accessibility/document-title.js +1 -1
- package/core/audits/accessibility/duplicate-id-aria.js +1 -1
- package/core/audits/accessibility/empty-heading.js +1 -1
- package/core/audits/accessibility/form-field-multiple-labels.js +1 -1
- package/core/audits/accessibility/frame-title.js +1 -1
- package/core/audits/accessibility/heading-order.js +1 -1
- package/core/audits/accessibility/html-has-lang.js +1 -1
- package/core/audits/accessibility/html-lang-valid.js +1 -1
- package/core/audits/accessibility/html-xml-lang-mismatch.js +1 -1
- package/core/audits/accessibility/identical-links-same-purpose.js +1 -1
- package/core/audits/accessibility/image-alt.js +1 -1
- package/core/audits/accessibility/image-redundant-alt.js +1 -1
- package/core/audits/accessibility/input-button-name.js +1 -1
- package/core/audits/accessibility/input-image-alt.js +1 -1
- package/core/audits/accessibility/label-content-name-mismatch.js +1 -1
- package/core/audits/accessibility/label.js +1 -1
- package/core/audits/accessibility/landmark-one-main.js +1 -1
- package/core/audits/accessibility/link-in-text-block.js +1 -1
- package/core/audits/accessibility/link-name.js +1 -1
- package/core/audits/accessibility/list.js +1 -1
- package/core/audits/accessibility/listitem.js +1 -1
- package/core/audits/accessibility/meta-refresh.js +1 -1
- package/core/audits/accessibility/meta-viewport.js +1 -1
- package/core/audits/accessibility/object-alt.js +1 -1
- package/core/audits/accessibility/presentation-role-conflict.js +1 -1
- package/core/audits/accessibility/select-name.js +1 -1
- package/core/audits/accessibility/skip-link.js +1 -1
- package/core/audits/accessibility/svg-img-alt.js +1 -1
- package/core/audits/accessibility/tabindex.js +1 -1
- package/core/audits/accessibility/table-duplicate-name.js +1 -1
- package/core/audits/accessibility/table-fake-caption.js +1 -1
- package/core/audits/accessibility/target-size.js +1 -1
- package/core/audits/accessibility/td-has-header.js +1 -1
- package/core/audits/accessibility/td-headers-attr.js +1 -1
- package/core/audits/accessibility/th-has-data-cells.js +1 -1
- package/core/audits/accessibility/valid-lang.js +1 -1
- package/core/audits/accessibility/video-caption.js +1 -1
- package/core/audits/baseline.d.ts +5 -4
- package/core/lib/baseline/web-features-data.json +6 -4
- package/core/lib/baseline/web-features-metadata.json +1 -1
- package/core/lib/bf-cache-strings.js +188 -204
- package/core/lib/deprecations-strings.d.ts +43 -46
- package/core/lib/deprecations-strings.js +12 -14
- package/core/runner.js +6 -0
- package/dist/report/bundle.esm.js +10 -10
- package/dist/report/flow.js +4 -4
- package/dist/report/standalone.js +5 -5
- package/flow-report/src/common.tsx +5 -2
- package/flow-report/src/i18n/i18n.d.ts +2 -0
- package/flow-report/src/summary/summary.tsx +9 -1
- package/package.json +9 -9
- package/report/renderer/category-renderer.js +2 -2
- package/report/renderer/details-renderer.js +3 -2
- package/report/renderer/dom.d.ts +8 -2
- package/report/renderer/dom.js +29 -1
- package/report/renderer/element-screenshot-renderer.js +3 -0
- package/report/renderer/performance-category-renderer.js +1 -0
- package/report/renderer/report-renderer.js +4 -0
- package/report/renderer/report-utils.d.ts +1 -0
- package/report/renderer/report-utils.js +2 -0
- package/shared/localization/locales/en-US.json +69 -66
- package/shared/localization/locales/en-XL.json +69 -66
- package/third-party/ard/README.md +3 -3
- package/third-party/ard/ard-test.js +8 -2
- package/third-party/ard/ard.d.ts +1 -0
- package/third-party/ard/ard.js +8 -2
- package/third-party/ard/schema-validator.js +1 -1
- package/third-party/ard/spec/schemas/ard-entry.schema.json +1 -1
|
@@ -58,15 +58,15 @@ export namespace UIStrings {
|
|
|
58
58
|
let RequestedSubresourceWithEmbeddedCredentials: string;
|
|
59
59
|
let RTCConstraintEnableDtlsSrtpFalse: string;
|
|
60
60
|
let RTCConstraintEnableDtlsSrtpTrue: string;
|
|
61
|
+
let RTCPeerConnectionCreateDTMFSender: string;
|
|
61
62
|
let RTCPeerConnectionGetStatsLegacyNonCompliant: string;
|
|
62
63
|
let RtcpMuxPolicyNegotiate: string;
|
|
63
64
|
let SharedArrayBufferConstructedWithoutIsolation: string;
|
|
64
|
-
let SharedStorage: string;
|
|
65
|
-
let StorageAccessAPI_requestStorageAccessFor_Method: string;
|
|
66
65
|
let TextToSpeech_DisallowedByAutoplay: string;
|
|
67
66
|
let Topics: string;
|
|
68
67
|
let UnloadHandler: string;
|
|
69
68
|
let V8SharedArrayBufferConstructedInExtensionWithoutIsolation: string;
|
|
69
|
+
let ViewTransitionPreventSvgFilterPaint: string;
|
|
70
70
|
let WebBluetoothRemoteCharacteristicWriteValue: string;
|
|
71
71
|
let WebTransportDatagramDuplexStreamIncomingHighWaterMark: string;
|
|
72
72
|
let WebTransportDatagramDuplexStreamOutgoingHighWaterMark: string;
|
|
@@ -271,91 +271,88 @@ export namespace DEPRECATIONS_METADATA {
|
|
|
271
271
|
export { milestone_16 as milestone };
|
|
272
272
|
}
|
|
273
273
|
export { RTCConstraintEnableDtlsSrtpTrue_1 as RTCConstraintEnableDtlsSrtpTrue };
|
|
274
|
-
export namespace
|
|
274
|
+
export namespace RTCPeerConnectionCreateDTMFSender_1 {
|
|
275
275
|
let chromeStatusFeature_28: number;
|
|
276
276
|
export { chromeStatusFeature_28 as chromeStatusFeature };
|
|
277
277
|
let milestone_17: number;
|
|
278
278
|
export { milestone_17 as milestone };
|
|
279
279
|
}
|
|
280
|
-
export {
|
|
281
|
-
export namespace
|
|
280
|
+
export { RTCPeerConnectionCreateDTMFSender_1 as RTCPeerConnectionCreateDTMFSender };
|
|
281
|
+
export namespace RTCPeerConnectionGetStatsLegacyNonCompliant_1 {
|
|
282
282
|
let chromeStatusFeature_29: number;
|
|
283
283
|
export { chromeStatusFeature_29 as chromeStatusFeature };
|
|
284
|
+
let milestone_18: number;
|
|
285
|
+
export { milestone_18 as milestone };
|
|
284
286
|
}
|
|
285
|
-
export {
|
|
286
|
-
export namespace
|
|
287
|
+
export { RTCPeerConnectionGetStatsLegacyNonCompliant_1 as RTCPeerConnectionGetStatsLegacyNonCompliant };
|
|
288
|
+
export namespace RelatedWebsiteSets_1 {
|
|
287
289
|
let chromeStatusFeature_30: number;
|
|
288
290
|
export { chromeStatusFeature_30 as chromeStatusFeature };
|
|
289
291
|
}
|
|
290
|
-
export {
|
|
291
|
-
export namespace
|
|
292
|
+
export { RelatedWebsiteSets_1 as RelatedWebsiteSets };
|
|
293
|
+
export namespace RequestedSubresourceWithEmbeddedCredentials_1 {
|
|
292
294
|
let chromeStatusFeature_31: number;
|
|
293
295
|
export { chromeStatusFeature_31 as chromeStatusFeature };
|
|
294
|
-
let milestone_18: number;
|
|
295
|
-
export { milestone_18 as milestone };
|
|
296
296
|
}
|
|
297
|
-
export {
|
|
298
|
-
export namespace
|
|
297
|
+
export { RequestedSubresourceWithEmbeddedCredentials_1 as RequestedSubresourceWithEmbeddedCredentials };
|
|
298
|
+
export namespace RtcpMuxPolicyNegotiate_1 {
|
|
299
|
+
let chromeStatusFeature_32: number;
|
|
300
|
+
export { chromeStatusFeature_32 as chromeStatusFeature };
|
|
299
301
|
let milestone_19: number;
|
|
300
302
|
export { milestone_19 as milestone };
|
|
301
303
|
}
|
|
302
|
-
export {
|
|
303
|
-
export namespace
|
|
304
|
-
let
|
|
305
|
-
export {
|
|
304
|
+
export { RtcpMuxPolicyNegotiate_1 as RtcpMuxPolicyNegotiate };
|
|
305
|
+
export namespace SharedArrayBufferConstructedWithoutIsolation_1 {
|
|
306
|
+
let milestone_20: number;
|
|
307
|
+
export { milestone_20 as milestone };
|
|
306
308
|
}
|
|
307
|
-
export {
|
|
308
|
-
export namespace
|
|
309
|
+
export { SharedArrayBufferConstructedWithoutIsolation_1 as SharedArrayBufferConstructedWithoutIsolation };
|
|
310
|
+
export namespace TextToSpeech_DisallowedByAutoplay_1 {
|
|
309
311
|
let chromeStatusFeature_33: number;
|
|
310
312
|
export { chromeStatusFeature_33 as chromeStatusFeature };
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
export namespace TextToSpeech_DisallowedByAutoplay_1 {
|
|
314
|
-
let chromeStatusFeature_34: number;
|
|
315
|
-
export { chromeStatusFeature_34 as chromeStatusFeature };
|
|
316
|
-
let milestone_20: number;
|
|
317
|
-
export { milestone_20 as milestone };
|
|
313
|
+
let milestone_21: number;
|
|
314
|
+
export { milestone_21 as milestone };
|
|
318
315
|
}
|
|
319
316
|
export { TextToSpeech_DisallowedByAutoplay_1 as TextToSpeech_DisallowedByAutoplay };
|
|
320
317
|
export namespace UnloadHandler_1 {
|
|
321
|
-
let
|
|
322
|
-
export {
|
|
318
|
+
let chromeStatusFeature_34: number;
|
|
319
|
+
export { chromeStatusFeature_34 as chromeStatusFeature };
|
|
323
320
|
}
|
|
324
321
|
export { UnloadHandler_1 as UnloadHandler };
|
|
325
322
|
export namespace V8SharedArrayBufferConstructedInExtensionWithoutIsolation_1 {
|
|
326
|
-
let
|
|
327
|
-
export {
|
|
323
|
+
let milestone_22: number;
|
|
324
|
+
export { milestone_22 as milestone };
|
|
328
325
|
}
|
|
329
326
|
export { V8SharedArrayBufferConstructedInExtensionWithoutIsolation_1 as V8SharedArrayBufferConstructedInExtensionWithoutIsolation };
|
|
330
327
|
export namespace WebBluetoothRemoteCharacteristicWriteValue_1 {
|
|
331
|
-
let
|
|
332
|
-
export {
|
|
328
|
+
let chromeStatusFeature_35: number;
|
|
329
|
+
export { chromeStatusFeature_35 as chromeStatusFeature };
|
|
333
330
|
}
|
|
334
331
|
export { WebBluetoothRemoteCharacteristicWriteValue_1 as WebBluetoothRemoteCharacteristicWriteValue };
|
|
335
332
|
export namespace WebTransportDatagramDuplexStreamIncomingHighWaterMark_1 {
|
|
336
|
-
let
|
|
337
|
-
export {
|
|
338
|
-
let
|
|
339
|
-
export {
|
|
333
|
+
let chromeStatusFeature_36: number;
|
|
334
|
+
export { chromeStatusFeature_36 as chromeStatusFeature };
|
|
335
|
+
let milestone_23: number;
|
|
336
|
+
export { milestone_23 as milestone };
|
|
340
337
|
}
|
|
341
338
|
export { WebTransportDatagramDuplexStreamIncomingHighWaterMark_1 as WebTransportDatagramDuplexStreamIncomingHighWaterMark };
|
|
342
339
|
export namespace WebTransportDatagramDuplexStreamOutgoingHighWaterMark_1 {
|
|
343
|
-
let
|
|
344
|
-
export {
|
|
345
|
-
let
|
|
346
|
-
export {
|
|
340
|
+
let chromeStatusFeature_37: number;
|
|
341
|
+
export { chromeStatusFeature_37 as chromeStatusFeature };
|
|
342
|
+
let milestone_24: number;
|
|
343
|
+
export { milestone_24 as milestone };
|
|
347
344
|
}
|
|
348
345
|
export { WebTransportDatagramDuplexStreamOutgoingHighWaterMark_1 as WebTransportDatagramDuplexStreamOutgoingHighWaterMark };
|
|
349
346
|
export namespace XHRJSONEncodingDetection_1 {
|
|
350
|
-
let
|
|
351
|
-
export {
|
|
347
|
+
let milestone_25: number;
|
|
348
|
+
export { milestone_25 as milestone };
|
|
352
349
|
}
|
|
353
350
|
export { XHRJSONEncodingDetection_1 as XHRJSONEncodingDetection };
|
|
354
351
|
export namespace XSLT_1 {
|
|
355
|
-
let
|
|
356
|
-
export {
|
|
357
|
-
let
|
|
358
|
-
export {
|
|
352
|
+
let chromeStatusFeature_38: number;
|
|
353
|
+
export { chromeStatusFeature_38 as chromeStatusFeature };
|
|
354
|
+
let milestone_26: number;
|
|
355
|
+
export { milestone_26 as milestone };
|
|
359
356
|
}
|
|
360
357
|
export { XSLT_1 as XSLT };
|
|
361
358
|
}
|
|
@@ -244,6 +244,10 @@ export const UIStrings = {
|
|
|
244
244
|
* @description A deprecation warning shown in the DevTools Issues tab. It's shown when a video conferencing website uses a non-standard API for controlling the crypto method used, but is not having an effect because the desired behavior is already enabled-by-default.
|
|
245
245
|
*/
|
|
246
246
|
RTCConstraintEnableDtlsSrtpTrue: "The constraint `DtlsSrtpKeyAgreement` is removed. You have specified a `true` value for this constraint, which had no effect, but you can remove this constraint for tidiness.",
|
|
247
|
+
/**
|
|
248
|
+
* @description Warning displayed to developers when the non-standard RTCPeerConnection.createDTMFSender() method is used. Developers should use the standard RTCRtpSender.dtmf attribute instead.
|
|
249
|
+
*/
|
|
250
|
+
RTCPeerConnectionCreateDTMFSender: "RTCPeerConnection.createDTMFSender() is deprecated and will be removed. Please use RTCRtpSender.dtmf instead.",
|
|
247
251
|
/**
|
|
248
252
|
* @description WebRTC is set of JavaScript APIs for sending and receiving data, audio and video. getStats() is a method used to obtain network and quality metrics. There are two versions of this method, one is being deprecated because it is non-standard.
|
|
249
253
|
*/
|
|
@@ -256,14 +260,6 @@ export const UIStrings = {
|
|
|
256
260
|
* @description A deprecation warning shown in the DevTools Issues tab. The placeholder is always the noun 'SharedArrayBuffer' which refers to a JavaScript construct.
|
|
257
261
|
*/
|
|
258
262
|
SharedArrayBufferConstructedWithoutIsolation: "`SharedArrayBuffer` will require cross-origin isolation. See https://developer.chrome.com/blog/enabling-shared-array-buffer/ for more details.",
|
|
259
|
-
/**
|
|
260
|
-
* @description A deprecation warning shown in the DevTools Issues tab. It's shown when one of the Shared Storage APIs like `sharedStorage.set()`, `sharedStorage.worklet.addModule()`, `sharedStorage.selectURL()`, etc., along with `<img sharedstoragewritable>`, `<iframe sharedstoragewritable>`, or `fetch(url, {sharedStorageWritable: true})` are used.
|
|
261
|
-
*/
|
|
262
|
-
SharedStorage: "The Shared Storage API is deprecated and will be removed in a future release.",
|
|
263
|
-
/**
|
|
264
|
-
* @description A deprecation warning shown in the DevTools Issues tab. It's shown when the `document.requestStorageAccessFor` API is called. The placeholder will always be the string `document.requestStorageAccessFor`.
|
|
265
|
-
*/
|
|
266
|
-
StorageAccessAPI_requestStorageAccessFor_Method: "`document.requestStorageAccessFor` is deprecated and will be removed. See https://privacysandbox.com/news/update-on-plans-for-privacy-sandbox-technologies/ for more details.",
|
|
267
263
|
/**
|
|
268
264
|
* @description A deprecation warning shown in the DevTools Issues tab. It's shown when the speech synthesis API is called before the page receives a user activation.
|
|
269
265
|
*/
|
|
@@ -280,6 +276,10 @@ export const UIStrings = {
|
|
|
280
276
|
* @description A deprecation warning shown in the DevTools Issues tab. The placeholder is always the noun 'SharedArrayBuffer' which refers to a JavaScript construct. 'Extensions' refers to Chrome extensions. The warning is shown when Chrome Extensions attempt to use 'SharedArrayBuffer's under insecure circumstances.
|
|
281
277
|
*/
|
|
282
278
|
V8SharedArrayBufferConstructedInExtensionWithoutIsolation: "Extensions should opt into cross-origin isolation to continue using `SharedArrayBuffer`. See https://developer.chrome.com/docs/extensions/mv3/cross-origin-isolation/.",
|
|
279
|
+
/**
|
|
280
|
+
* @description Warning displayed to developers when an SVG filter is applied to view transition content, which is disallowed because the content may contain cross-origin iframes or plugins. `::view-transition-old()` and `::view-transition-new()` are CSS pseudo-element names and should not be translated.
|
|
281
|
+
*/
|
|
282
|
+
ViewTransitionPreventSvgFilterPaint: "SVG filters cannot be applied to view transition content, such as `::view-transition-old()` and `::view-transition-new()`, as it may contain cross-origin iframes or plugins.",
|
|
283
283
|
/**
|
|
284
284
|
* @description This warning occurs when the deprecated `BluetoothRemoteGATTCharacteristic.writeValue()` method is used. Developers should use `writeValueWithResponse()` or `writeValueWithoutResponse()` instead.
|
|
285
285
|
*/
|
|
@@ -428,6 +428,10 @@ export const DEPRECATIONS_METADATA = {
|
|
|
428
428
|
"RTCConstraintEnableDtlsSrtpTrue": {
|
|
429
429
|
"milestone": 97
|
|
430
430
|
},
|
|
431
|
+
"RTCPeerConnectionCreateDTMFSender": {
|
|
432
|
+
"chromeStatusFeature": 5160724576993280,
|
|
433
|
+
"milestone": 160
|
|
434
|
+
},
|
|
431
435
|
"RTCPeerConnectionGetStatsLegacyNonCompliant": {
|
|
432
436
|
"chromeStatusFeature": 4631626228695040,
|
|
433
437
|
"milestone": 117
|
|
@@ -445,12 +449,6 @@ export const DEPRECATIONS_METADATA = {
|
|
|
445
449
|
"SharedArrayBufferConstructedWithoutIsolation": {
|
|
446
450
|
"milestone": 106
|
|
447
451
|
},
|
|
448
|
-
"SharedStorage": {
|
|
449
|
-
"chromeStatusFeature": 5076349064708096
|
|
450
|
-
},
|
|
451
|
-
"StorageAccessAPI_requestStorageAccessFor_Method": {
|
|
452
|
-
"chromeStatusFeature": 5162221567082496
|
|
453
|
-
},
|
|
454
452
|
"TextToSpeech_DisallowedByAutoplay": {
|
|
455
453
|
"chromeStatusFeature": 5687444770914304,
|
|
456
454
|
"milestone": 71
|
package/core/runner.js
CHANGED
|
@@ -23,6 +23,7 @@ import {EntityClassification} from './computed/entity-classification.js';
|
|
|
23
23
|
import UrlUtils from './lib/url-utils.js';
|
|
24
24
|
import {Util} from '../shared/util.js';
|
|
25
25
|
import {isEqual} from './lib/arbitrary-equality-map.js';
|
|
26
|
+
import {ARD_VERSION} from '../third-party/ard/ard.js';
|
|
26
27
|
|
|
27
28
|
const moduleDir = import.meta.dirname;
|
|
28
29
|
|
|
@@ -70,9 +71,14 @@ class Runner {
|
|
|
70
71
|
// Use version from gathering stage.
|
|
71
72
|
// If accessibility gatherer didn't run or errored, it won't be in credits.
|
|
72
73
|
const axeVersion = artifacts.Accessibility?.version;
|
|
74
|
+
const ardVersion = (
|
|
75
|
+
artifacts.AgentResourceDiscovery &&
|
|
76
|
+
!(artifacts.AgentResourceDiscovery instanceof Error)
|
|
77
|
+
) ? ARD_VERSION : undefined;
|
|
73
78
|
/** @type {Record<string, string|undefined>} */
|
|
74
79
|
const credits = {
|
|
75
80
|
'axe-core': axeVersion,
|
|
81
|
+
'ard': ardVersion,
|
|
76
82
|
};
|
|
77
83
|
|
|
78
84
|
// Add plugins to the credits.
|