@svelte-vitals/core 0.48.0 → 0.49.0

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/dist/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { Ct as RuleSetting, Dt as TreatDynamicAs, Et as Severity, Ot as Value, St as RuleOverride, at as formatGithubReport, bt as Result, dt as summarize, ft as CATEGORIES, gt as Fix, ht as Detection, it as formatMarkdownReport, jt as defineConfig, mt as Config, n as RuleEvidence, o as ScoreModel, pt as Category, st as Summary, t as JsonReport, ut as hasFailureAtOrAbove, vt as Presence, wt as RuleSettingObject, xt as RuleOptions } from "./json-B551DazD.js";
1
+ import { Ct as RuleSetting, Dt as TreatDynamicAs, Et as Severity, Ot as Value, St as RuleOverride, at as formatGithubReport, bt as Result, dt as summarize, ft as CATEGORIES, gt as Fix, ht as Detection, it as formatMarkdownReport, jt as defineConfig, mt as Config, n as RuleEvidence, o as ScoreModel, pt as Category, st as Summary, t as JsonReport, ut as hasFailureAtOrAbove, vt as Presence, wt as RuleSettingObject, xt as RuleOptions } from "./json-pC2tDNuR.js";
2
2
  export { CATEGORIES, type Category, type Config, type Detection, type Fix, type JsonReport, type Presence, type Result, type RuleEvidence, type RuleOptions, type RuleOverride, type RuleSetting, type RuleSettingObject, type ScoreModel, type Severity, type Summary, type TreatDynamicAs, type Value, defineConfig, formatGithubReport, formatMarkdownReport, hasFailureAtOrAbove, summarize };
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { l as formatGithubReport, lr as defineConfig, nr as hasFailureAtOrAbove, or as CATEGORIES, rr as summarize, t as formatMarkdownReport } from "./markdown-BQwOMe_S.js";
1
+ import { cr as summarize, dr as CATEGORIES, l as formatGithubReport, mr as defineConfig, sr as hasFailureAtOrAbove, t as formatMarkdownReport } from "./markdown-CP5TPy-s.js";
2
2
  export { CATEGORIES, defineConfig, formatGithubReport, formatMarkdownReport, hasFailureAtOrAbove, summarize };
@@ -1,4 +1,4 @@
1
- import { $ as HeadTag, A as formatFailedRuleWarning, At as defaultProject, B as IDREF_ATTRS, C as shouldSkipRangeCheck, D as applyOverrides, E as CompiledOverride, Et as Severity, F as withFailedRulesOff, Ft as OrphanEffectFact, G as isTopFragment, H as ResolvedA11y, I as KitModuleFacts, It as SourceSpan, J as HeadingInfo, K as splitTokens, L as A11yOccurrenceInfo, Lt as SuppressionDirective, M as selectRules, Mt as ComponentFacts, N as settingOptions, Nt as EachBlockFact, O as applyRuleSeverities, Ot as Value, P as settingSeverity, Pt as EffectFact, Q as HeadProvider, R as A11ySkipCause, Rt as skippedFileWarnings, S as resolveRuleOptions, T as validateRuleSetting, Tt as Scope, U as decodeFragmentId, V as LANDMARK_ROLES, W as foldOccurrences, X as ImageInfo, Y as ResolvedHeadings, Z as ResolvedImages, _ as RuleOptionsSpec, _t as KitAlias, a as HealthResult, at as formatGithubReport, b as listOption, bt as Result, c as ScoreResult, ct as classify, d as scoresByCategory, dt as summarize, et as ResolvedHead, f as Rule, g as RuleOptionSpec, gt as Fix, h as isPenalized, i as formatJsonReport, it as formatMarkdownReport, j as overrideMatches, k as compileOverrides, kt as defaultConfig, l as computeHealth, lt as effectiveSeverity, m as docsUrlFor, mt as Config, nt as Runtime, ot as Classification, p as RuleContext, pt as Category, q as stripTextDirective, r as buildJsonReport, rt as withReadLimit, s as ScoreOptions, t as JsonReport, tt as READ_CONCURRENCY, u as computeScore, ut as hasFailureAtOrAbove, v as intOption, w as validateRuleOptions, x as mapOption, y as isMentionedAnywhere, yt as Project, z as BranchStep } from "./json-B551DazD.js";
1
+ import { $ as HeadTag, A as formatFailedRuleWarning, At as defaultProject, B as IDREF_ATTRS, C as shouldSkipRangeCheck, D as applyOverrides, E as CompiledOverride, Et as Severity, F as withFailedRulesOff, Ft as OrphanEffectFact, G as isTopFragment, H as ResolvedA11y, I as KitModuleFacts, It as SourceSpan, J as HeadingInfo, K as splitTokens, L as A11yOccurrenceInfo, Lt as SuppressionDirective, M as selectRules, Mt as ComponentFacts, N as settingOptions, Nt as EachBlockFact, O as applyRuleSeverities, Ot as Value, P as settingSeverity, Pt as EffectFact, Q as HeadProvider, R as A11ySkipCause, Rt as skippedFileWarnings, S as resolveRuleOptions, T as validateRuleSetting, Tt as Scope, U as decodeFragmentId, V as LANDMARK_ROLES, W as foldOccurrences, X as ImageInfo, Y as ResolvedHeadings, Z as ResolvedImages, _ as RuleOptionsSpec, _t as KitAlias, a as HealthResult, at as formatGithubReport, b as listOption, bt as Result, c as ScoreResult, ct as classify, d as scoresByCategory, dt as summarize, et as ResolvedHead, f as Rule, g as RuleOptionSpec, gt as Fix, h as isPenalized, i as formatJsonReport, it as formatMarkdownReport, j as overrideMatches, k as compileOverrides, kt as defaultConfig, l as computeHealth, lt as effectiveSeverity, m as docsUrlFor, mt as Config, nt as Runtime, ot as Classification, p as RuleContext, pt as Category, q as stripTextDirective, r as buildJsonReport, rt as withReadLimit, s as ScoreOptions, t as JsonReport, tt as READ_CONCURRENCY, u as computeScore, ut as hasFailureAtOrAbove, v as intOption, w as validateRuleOptions, x as mapOption, y as isMentionedAnywhere, yt as Project, z as BranchStep } from "./json-pC2tDNuR.js";
2
2
  import { AST } from "svelte/compiler";
3
3
  //#region src/component-parse.d.ts
4
4
  /**
@@ -780,6 +780,43 @@ declare const a11yRequireDatetime: Rule;
780
780
  */
781
781
  declare const a11yPositiveTabindex: Rule;
782
782
  //#endregion
783
+ //#region src/rules/a11y/no-accesskey.d.ts
784
+ /**
785
+ * a11y/no-accesskey — unlike most attribute rules, an expression-valued `accesskey` is reported
786
+ * too: the attribute's presence is the problem and its value never matters, so there is nothing
787
+ * unknowable about it. A spread-only carrier stays silent (the attribute never reaches `attrs`).
788
+ * SVG elements are judged along with HTML — `accesskey` is meaningless there, which makes its
789
+ * presence wrong in both namespaces.
790
+ */
791
+ declare const a11yNoAccesskey: Rule;
792
+ //#endregion
793
+ //#region src/rules/a11y/no-autofocus.d.ts
794
+ /**
795
+ * a11y/no-autofocus — only a literal `autofocus` counts (a bare boolean attribute parses to
796
+ * `value: ''`); an expression value could be `false` and passes as unknowable. The ancestor walk
797
+ * uses `ElementFact.parent`, which looks through logic blocks but breaks at every non-lexical
798
+ * construct (a component, `{#snippet}` body, `<svelte:element>`, custom element, `{@html}`,
799
+ * `{@render}`, `<slot>`) — past a break the dialog cannot be proven, so the element is reported;
800
+ * the docs page's Limitations section names these classes and the inline-suppression escape
801
+ * hatch. SVG elements are judged along with HTML: SVG2 honours `autofocus` with the same
802
+ * page-load focus semantics.
803
+ */
804
+ declare const a11yNoAutofocus: Rule;
805
+ //#endregion
806
+ //#region src/rules/a11y/no-duplicate-dt.d.ts
807
+ /**
808
+ * a11y/no-duplicate-dt — the candidate gathering (direct and div-wrapped `<dt>` children of a
809
+ * `<dl>`, fully-static names only, whitespace-normalized, case-sensitive) lives in the
810
+ * collector; see `collectDuplicateDts` in component-parse.ts for the exemption rationale.
811
+ */
812
+ declare const a11yNoDuplicateDt: Rule;
813
+ //#endregion
814
+ //#region src/rules/a11y/abbr-title.d.ts
815
+ declare const a11yAbbrTitle: Rule;
816
+ //#endregion
817
+ //#region src/rules/a11y/pattern-title.d.ts
818
+ declare const a11yPatternTitle: Rule;
819
+ //#endregion
783
820
  //#region src/rules/a11y/deprecated-element.d.ts
784
821
  declare const a11yDeprecatedElement: Rule;
785
822
  //#endregion
@@ -1075,4 +1112,4 @@ declare function formatHtmlReport(results: Result[], config: Config, meta: {
1075
1112
  coreVersion?: string;
1076
1113
  }): string;
1077
1114
  //#endregion
1078
- export { type A11yOccurrenceInfo, type A11ySkipCause, APP_SCRIPT, APP_STYLE, type AppSnapshot, BAND_COLOR, type BranchStep, CHILD_NODE_KEYS, type Classification, type CompiledOverride, type ComponentFacts, type ConsoleReportOptions, type DirectiveIndex, type EachBlockFact, type EffectFact, type FailedRule, type HeadProvider, type HeadTag, type HeadingInfo, type HealthResult, IDREF_ATTRS, type ImageInfo, type KitAlias, type KitModuleFacts, LANDMARK_ROLES, type OrphanEffectFact, type Palette, type Project, READ_CONCURRENCY, ROBOTS_SOURCE_PATHS, type RawKitAliases, type ResolvedA11y, type ResolvedHead, type ResolvedHeadings, type ResolvedImages, type RouteBadge, type Rule, type RuleContext, RuleInfo, RuleOptionInfo, type RuleOptionSpec, type RuleOptionsSpec, type Runtime, SITEMAP_SOURCE_PATHS, SVELTE_CONFIG_FILES, type Scope, type ScoreOptions, type ScoreResult, type SourceSpan, type SuppressionDirective, VITE_CONFIG_FILES, type ViteKitConfigResult, a11yAccessibleName, a11yDeprecatedAria, a11yDeprecatedAttr, a11yDeprecatedElement, a11yDisallowedAriaProps, a11yDisallowedElement, a11yDoctype, a11yDuplicateLandmark, a11yIdDuplication, a11yInteractiveNesting, a11yInvalidAriaValue, a11yInvalidRole, a11yLabelHasControl, a11yNoMissingIdRef, a11yPermittedContents, a11yPlaceholderLabelOption, a11yPositiveTabindex, a11yRequireDatetime, a11yRequiredAriaProps, a11yRequiredElement, a11yTopLevelLandmark, a11yUnknownAriaAttribute, a11yUnverifiedIdRef, a11yUseList, allRules, applyInlineDirectives, applyOverrides, applyRuleSeverities, architectureComponentSize, architectureDirectoryNaming, architectureDocLinkTarget, architecturePrivateScopeImport, architecturePropCount, architectureReservedDirectoryNames, architectureReservedNamePlacement, architectureRouteComponentImport, architectureUnitEntryFile, attrText, attrTextOf, attrValue, attrValueOf, buildHtmlDocument, buildJsonReport, classify, collectComponentFacts, collectKitModuleFacts, collectSourceFiles, collectSuppressions, compileOverrides, computeHealth, computeScore, correctnessAutoplayMuted, correctnessBasePathNavigation, correctnessCheckableBindValue, correctnessEachIndexKey, correctnessEachKey, correctnessEffectAsDerived, correctnessEffectAsOnMount, correctnessInstanceBrowserGlobal, correctnessNonreactiveBuiltinState, correctnessOrphanEffect, correctnessOrphanLifecycle, correctnessPropMutation, correctnessServerBrowserGlobal, correctnessStalePropDerivation, correctnessUnmutatedState, decodeFragmentId, defaultConfig, defaultProject, docsUrlFor, effectiveSeverity, emptyComponentFacts, emptyKitModuleFacts, escapeHtml, explainRule, findAttr, findKitAliasesInSvelteConfig, findKitPathsBaseInSvelteConfig, findKitPathsBaseInViteConfig, findMinifyDisabled, foldOccurrences, formatAgentReport, formatConsoleReport, formatFailedRuleWarning, formatGithubReport, formatHtmlReport, formatJsonReport, formatMarkdownReport, formatSarifReport, hasFailureAtOrAbove, headTagRule, imageRule, intOption, isMentionedAnywhere, isPenalized, isTopFragment, lineOf, linkRule, listOption, mapOption, noColorPalette, overrideMatches, parseComponentFacts, parseKitModuleFacts, parseSvelte, performanceFontPreloadCrossorigin, performanceHeavyImport, performanceIframeLoading, performanceImageDimensions, performanceImageLoadingHint, performanceLcpImage, performanceLoadWaterfall, performanceMinifyDisabled, performanceNamespaceImport, performancePreconnect, performancePreloadMissingAs, performanceRenderBlockingScript, performanceResponsiveImage, performanceSequentialAwaits, performanceStateRaw, renderAppShell, resolveKitAliases, resolveKitPathsBase, resolveRepoLocalPath, resolveRuleOptions, resolveRunesModuleSpecifier, runRules, safeHref, scoreBand, scoreColor, scoresByCategory, securityHandlerStateWrite, securityJavascriptUrl, securityRawHtml, securityServerModuleState, securitySharedStateImport, selectRules, seoCanonicalUrl, seoCharset, seoDescriptionLength, seoDescriptionPresence, seoDuplicateDescription, seoDuplicateTitle, seoHeadingLevelSkip, seoHreflang, seoHtmlLang, seoImageAlt, seoIndexability, seoJsonLd, seoJsonLdDateFormat, seoJsonLdDeprecatedType, seoJsonLdPlaceholder, seoJsonLdRelativeUrl, seoJsonLdRequiredProps, seoJsonLdValidity, seoOgDescription, seoOgImage, seoOgTitle, seoOgUrl, seoRobotsTxt, seoSingleH1, seoSitemapInRobots, seoSitemapXml, seoSsrDisabled, seoTitleLength, seoTitlePresence, seoTwitterCard, seoViewport, settingOptions, settingSeverity, shouldSkipRangeCheck, skippedFileWarnings, splitTokens, stripTextDirective, summarize, terminalSafe, textFromNodes, unknownDirectiveIds, validateRuleOptions, validateRuleSetting, valueFromNodes, withFailedRulesOff, withReadLimit };
1115
+ export { type A11yOccurrenceInfo, type A11ySkipCause, APP_SCRIPT, APP_STYLE, type AppSnapshot, BAND_COLOR, type BranchStep, CHILD_NODE_KEYS, type Classification, type CompiledOverride, type ComponentFacts, type ConsoleReportOptions, type DirectiveIndex, type EachBlockFact, type EffectFact, type FailedRule, type HeadProvider, type HeadTag, type HeadingInfo, type HealthResult, IDREF_ATTRS, type ImageInfo, type KitAlias, type KitModuleFacts, LANDMARK_ROLES, type OrphanEffectFact, type Palette, type Project, READ_CONCURRENCY, ROBOTS_SOURCE_PATHS, type RawKitAliases, type ResolvedA11y, type ResolvedHead, type ResolvedHeadings, type ResolvedImages, type RouteBadge, type Rule, type RuleContext, RuleInfo, RuleOptionInfo, type RuleOptionSpec, type RuleOptionsSpec, type Runtime, SITEMAP_SOURCE_PATHS, SVELTE_CONFIG_FILES, type Scope, type ScoreOptions, type ScoreResult, type SourceSpan, type SuppressionDirective, VITE_CONFIG_FILES, type ViteKitConfigResult, a11yAbbrTitle, a11yAccessibleName, a11yDeprecatedAria, a11yDeprecatedAttr, a11yDeprecatedElement, a11yDisallowedAriaProps, a11yDisallowedElement, a11yDoctype, a11yDuplicateLandmark, a11yIdDuplication, a11yInteractiveNesting, a11yInvalidAriaValue, a11yInvalidRole, a11yLabelHasControl, a11yNoAccesskey, a11yNoAutofocus, a11yNoDuplicateDt, a11yNoMissingIdRef, a11yPatternTitle, a11yPermittedContents, a11yPlaceholderLabelOption, a11yPositiveTabindex, a11yRequireDatetime, a11yRequiredAriaProps, a11yRequiredElement, a11yTopLevelLandmark, a11yUnknownAriaAttribute, a11yUnverifiedIdRef, a11yUseList, allRules, applyInlineDirectives, applyOverrides, applyRuleSeverities, architectureComponentSize, architectureDirectoryNaming, architectureDocLinkTarget, architecturePrivateScopeImport, architecturePropCount, architectureReservedDirectoryNames, architectureReservedNamePlacement, architectureRouteComponentImport, architectureUnitEntryFile, attrText, attrTextOf, attrValue, attrValueOf, buildHtmlDocument, buildJsonReport, classify, collectComponentFacts, collectKitModuleFacts, collectSourceFiles, collectSuppressions, compileOverrides, computeHealth, computeScore, correctnessAutoplayMuted, correctnessBasePathNavigation, correctnessCheckableBindValue, correctnessEachIndexKey, correctnessEachKey, correctnessEffectAsDerived, correctnessEffectAsOnMount, correctnessInstanceBrowserGlobal, correctnessNonreactiveBuiltinState, correctnessOrphanEffect, correctnessOrphanLifecycle, correctnessPropMutation, correctnessServerBrowserGlobal, correctnessStalePropDerivation, correctnessUnmutatedState, decodeFragmentId, defaultConfig, defaultProject, docsUrlFor, effectiveSeverity, emptyComponentFacts, emptyKitModuleFacts, escapeHtml, explainRule, findAttr, findKitAliasesInSvelteConfig, findKitPathsBaseInSvelteConfig, findKitPathsBaseInViteConfig, findMinifyDisabled, foldOccurrences, formatAgentReport, formatConsoleReport, formatFailedRuleWarning, formatGithubReport, formatHtmlReport, formatJsonReport, formatMarkdownReport, formatSarifReport, hasFailureAtOrAbove, headTagRule, imageRule, intOption, isMentionedAnywhere, isPenalized, isTopFragment, lineOf, linkRule, listOption, mapOption, noColorPalette, overrideMatches, parseComponentFacts, parseKitModuleFacts, parseSvelte, performanceFontPreloadCrossorigin, performanceHeavyImport, performanceIframeLoading, performanceImageDimensions, performanceImageLoadingHint, performanceLcpImage, performanceLoadWaterfall, performanceMinifyDisabled, performanceNamespaceImport, performancePreconnect, performancePreloadMissingAs, performanceRenderBlockingScript, performanceResponsiveImage, performanceSequentialAwaits, performanceStateRaw, renderAppShell, resolveKitAliases, resolveKitPathsBase, resolveRepoLocalPath, resolveRuleOptions, resolveRunesModuleSpecifier, runRules, safeHref, scoreBand, scoreColor, scoresByCategory, securityHandlerStateWrite, securityJavascriptUrl, securityRawHtml, securityServerModuleState, securitySharedStateImport, selectRules, seoCanonicalUrl, seoCharset, seoDescriptionLength, seoDescriptionPresence, seoDuplicateDescription, seoDuplicateTitle, seoHeadingLevelSkip, seoHreflang, seoHtmlLang, seoImageAlt, seoIndexability, seoJsonLd, seoJsonLdDateFormat, seoJsonLdDeprecatedType, seoJsonLdPlaceholder, seoJsonLdRelativeUrl, seoJsonLdRequiredProps, seoJsonLdValidity, seoOgDescription, seoOgImage, seoOgTitle, seoOgUrl, seoRobotsTxt, seoSingleH1, seoSitemapInRobots, seoSitemapXml, seoSsrDisabled, seoTitleLength, seoTitlePresence, seoTwitterCard, seoViewport, settingOptions, settingSeverity, shouldSkipRangeCheck, skippedFileWarnings, splitTokens, stripTextDirective, summarize, terminalSafe, textFromNodes, unknownDirectiveIds, validateRuleOptions, validateRuleSetting, valueFromNodes, withFailedRulesOff, withReadLimit };
package/dist/internal.js CHANGED
@@ -1,4 +1,4 @@
1
- import { $ as architecturePrivateScopeImport, $n as seoTitlePresence, $t as seoSingleH1, A as a11yRequireDatetime, An as overrideMatches, At as securityServerModuleState, B as performanceIframeLoading, Bn as performanceResponsiveImage, Bt as correctnessCheckableBindValue, C as a11yPermittedContents, Cn as shouldSkipRangeCheck, Ct as lineOf, D as a11yDeprecatedAttr, Dn as applyRuleSeverities, Dt as architecturePropCount, E as a11yDisallowedAriaProps, En as applyOverrides, Et as valueFromNodes, F as a11yInteractiveNesting, Fn as performanceRenderBlockingScript, Ft as correctnessServerBrowserGlobal, G as performanceNamespaceImport, Gn as seoSitemapXml, Gt as correctnessEffectAsOnMount, H as performanceSequentialAwaits, Hn as performanceImageDimensions, Ht as correctnessStalePropDerivation, I as a11yInvalidAriaValue, In as performanceLcpImage, It as correctnessBasePathNavigation, J as architectureRouteComponentImport, Jn as seoOgTitle, Jt as correctnessEachKey, K as performanceHeavyImport, Kn as seoRobotsTxt, Kt as correctnessEffectAsDerived, L as a11yRequiredAriaProps, Ln as performanceFontPreloadCrossorigin, Lt as correctnessOrphanLifecycle, M as a11yUseList, Mn as settingOptions, Mt as securityJavascriptUrl, N as a11yLabelHasControl, Nn as settingSeverity, Nt as securityRawHtml, O as a11yDeprecatedElement, On as compileOverrides, Ot as architectureComponentSize, P as a11yAccessibleName, Pn as withFailedRulesOff, Pt as correctnessInstanceBrowserGlobal, Q as architectureUnitEntryFile, Qn as headTagRule, Qt as seoDuplicateTitle, R as a11yUnknownAriaAttribute, Rn as performancePreloadMissingAs, Rt as correctnessOrphanEffect, S as a11yRequiredElement, Sn as resolveRuleOptions, St as findAttr, T as a11yDeprecatedAria, Tn as validateRuleSetting, Tt as textFromNodes, U as performanceLoadWaterfall, Un as imageRule, Ut as correctnessPropMutation, V as performanceStateRaw, Vn as performanceImageLoadingHint, Vt as correctnessNonreactiveBuiltinState, W as performanceMinifyDisabled, Wn as seoHtmlLang, Wt as correctnessUnmutatedState, X as architectureReservedDirectoryNames, Xn as seoCanonicalUrl, Xt as seoHeadingLevelSkip, Y as architectureReservedNamePlacement, Yn as seoOgImage, Yt as seoSsrDisabled, Z as architectureDirectoryNaming, Zn as seoDescriptionPresence, Zt as seoDuplicateDescription, _ as a11yNoMissingIdRef, _n as performancePreconnect, _t as CHILD_NODE_KEYS, a as formatJsonReport, an as seoJsonLdRequiredProps, ar as isPenalized, at as collectNamedImportAliases, b as a11yDuplicateLandmark, bn as listOption, bt as attrValue, c as scoresByCategory, cn as seoJsonLdRelativeUrl, cr as defaultProject, ct as parseModuleProgram, d as messageText, dn as seoSitemapInRobots, dt as LANDMARK_ROLES, en as seoHreflang, er as classify, et as collectTopLevelBindings, f as ruleMetaById, fn as seoViewport, ft as decodeFragmentId, g as a11yUnverifiedIdRef, gn as seoIndexability, gt as stripTextDirective, h as explainRule, hn as seoTwitterCard, ht as splitTokens, i as buildJsonReport, in as seoTitleLength, ir as docsUrlFor, it as resolveRunesModuleSpecifier, j as a11yPlaceholderLabelOption, jn as selectRules, jt as securityHandlerStateWrite, k as a11yPositiveTabindex, kn as formatFailedRuleWarning, kt as securitySharedStateImport, l as formatGithubReport, ln as seoJsonLdDeprecatedType, lt as unwrapTs, m as allRules, mn as seoOgDescription, mt as isTopFragment, n as mdEscape, nn as seoCharset, nr as hasFailureAtOrAbove, nt as parseKitModuleFacts, o as computeHealth, on as seoJsonLdPlaceholder, ot as collectSuppressions, p as severityToSarifLevel, pn as seoOgUrl, pt as foldOccurrences, q as architectureDocLinkTarget, qn as seoJsonLd, qt as correctnessEachIndexKey, r as terminalSafe, rn as seoDescriptionLength, rr as summarize, rt as resolveRepoLocalPath, s as computeScore, sn as seoJsonLdDateFormat, sr as defaultConfig, st as parseComponentFacts, t as formatMarkdownReport, tn as seoImageAlt, tr as effectiveSeverity, tt as parseInMemoryExports, u as SEVERITY_RANK, un as seoJsonLdValidity, ut as IDREF_ATTRS, v as a11yIdDuplication, vn as intOption, vt as attrText, w as a11yDisallowedElement, wn as validateRuleOptions, wt as parseSvelte, x as a11yDoctype, xn as mapOption, xt as attrValueOf, y as a11yTopLevelLandmark, yn as isMentionedAnywhere, yt as attrTextOf, z as a11yInvalidRole, zn as linkRule, zt as correctnessAutoplayMuted } from "./markdown-BQwOMe_S.js";
1
+ import { $ as architectureRouteComponentImport, $n as seoOgTitle, $t as correctnessEachKey, A as a11yAbbrTitle, An as validateRuleSetting, At as textFromNodes, B as a11yInteractiveNesting, Bn as performanceRenderBlockingScript, Bt as correctnessServerBrowserGlobal, C as a11yPermittedContents, Cn as intOption, Ct as attrText, D as a11yDeprecatedAttr, Dn as resolveRuleOptions, Dt as findAttr, E as a11yDisallowedAriaProps, En as mapOption, Et as attrValueOf, F as a11yRequireDatetime, Fn as overrideMatches, Ft as securityServerModuleState, G as performanceIframeLoading, Gn as performanceResponsiveImage, Gt as correctnessCheckableBindValue, H as a11yRequiredAriaProps, Hn as performanceFontPreloadCrossorigin, Ht as correctnessOrphanLifecycle, I as a11yPlaceholderLabelOption, In as selectRules, It as securityHandlerStateWrite, J as performanceLoadWaterfall, Jn as imageRule, Jt as correctnessPropMutation, K as performanceStateRaw, Kn as performanceImageLoadingHint, Kt as correctnessNonreactiveBuiltinState, L as a11yUseList, Ln as settingOptions, Lt as securityJavascriptUrl, M as a11yNoAutofocus, Mn as applyRuleSeverities, Mt as architecturePropCount, N as a11yNoAccesskey, Nn as compileOverrides, Nt as architectureComponentSize, O as a11yDeprecatedElement, On as shouldSkipRangeCheck, Ot as lineOf, P as a11yPositiveTabindex, Pn as formatFailedRuleWarning, Pt as securitySharedStateImport, Q as architectureDocLinkTarget, Qn as seoJsonLd, Qt as correctnessEachIndexKey, R as a11yLabelHasControl, Rn as settingSeverity, Rt as securityRawHtml, S as a11yRequiredElement, Sn as performancePreconnect, St as CHILD_NODE_KEYS, T as a11yDeprecatedAria, Tn as listOption, Tt as attrValue, U as a11yUnknownAriaAttribute, Un as performancePreloadMissingAs, Ut as correctnessOrphanEffect, V as a11yInvalidAriaValue, Vn as performanceLcpImage, Vt as correctnessBasePathNavigation, W as a11yInvalidRole, Wn as linkRule, Wt as correctnessAutoplayMuted, X as performanceNamespaceImport, Xn as seoSitemapXml, Xt as correctnessEffectAsOnMount, Y as performanceMinifyDisabled, Yn as seoHtmlLang, Yt as correctnessUnmutatedState, Z as performanceHeavyImport, Zn as seoRobotsTxt, Zt as correctnessEffectAsDerived, _ as a11yNoMissingIdRef, _n as seoViewport, _t as decodeFragmentId, a as formatJsonReport, an as seoHreflang, ar as classify, at as collectTopLevelBindings, b as a11yDuplicateLandmark, bn as seoTwitterCard, bt as splitTokens, c as scoresByCategory, cn as seoDescriptionLength, cr as summarize, ct as resolveRepoLocalPath, d as messageText, dn as seoJsonLdPlaceholder, dt as collectSuppressions, en as seoSsrDisabled, er as seoOgImage, et as architectureReservedNamePlacement, f as ruleMetaById, fn as seoJsonLdDateFormat, fr as defaultConfig, ft as parseComponentFacts, g as a11yUnverifiedIdRef, gn as seoSitemapInRobots, gt as LANDMARK_ROLES, h as explainRule, hn as seoJsonLdValidity, ht as IDREF_ATTRS, i as buildJsonReport, in as seoSingleH1, ir as seoTitlePresence, it as architecturePrivateScopeImport, j as a11yNoDuplicateDt, jn as applyOverrides, jt as valueFromNodes, k as a11yPatternTitle, kn as validateRuleOptions, kt as parseSvelte, l as formatGithubReport, ln as seoTitleLength, lr as docsUrlFor, lt as resolveRunesModuleSpecifier, m as allRules, mn as seoJsonLdDeprecatedType, mt as unwrapTs, n as mdEscape, nn as seoDuplicateDescription, nr as seoDescriptionPresence, nt as architectureDirectoryNaming, o as computeHealth, on as seoImageAlt, or as effectiveSeverity, ot as parseInMemoryExports, p as severityToSarifLevel, pn as seoJsonLdRelativeUrl, pr as defaultProject, pt as parseModuleProgram, q as performanceSequentialAwaits, qn as performanceImageDimensions, qt as correctnessStalePropDerivation, r as terminalSafe, rn as seoDuplicateTitle, rr as headTagRule, rt as architectureUnitEntryFile, s as computeScore, sn as seoCharset, sr as hasFailureAtOrAbove, st as parseKitModuleFacts, t as formatMarkdownReport, tn as seoHeadingLevelSkip, tr as seoCanonicalUrl, tt as architectureReservedDirectoryNames, u as SEVERITY_RANK, un as seoJsonLdRequiredProps, ur as isPenalized, ut as collectNamedImportAliases, v as a11yIdDuplication, vn as seoOgUrl, vt as foldOccurrences, w as a11yDisallowedElement, wn as isMentionedAnywhere, wt as attrTextOf, x as a11yDoctype, xn as seoIndexability, xt as stripTextDirective, y as a11yTopLevelLandmark, yn as seoOgDescription, yt as isTopFragment, z as a11yAccessibleName, zn as withFailedRulesOff, zt as correctnessInstanceBrowserGlobal } from "./markdown-CP5TPy-s.js";
2
2
  //#region src/inline-directives.ts
3
3
  /** The directive silencing `r`, if one sits on its line and names its rule (or names nothing). */
4
4
  function directiveFor(index, r) {
@@ -1707,4 +1707,4 @@ function formatHtmlReport(results, config, meta) {
1707
1707
  return buildHtmlDocument(buildJsonReport(results, config, meta), meta);
1708
1708
  }
1709
1709
  //#endregion
1710
- export { APP_SCRIPT, APP_STYLE, BAND_COLOR, CHILD_NODE_KEYS, IDREF_ATTRS, LANDMARK_ROLES, READ_CONCURRENCY, ROBOTS_SOURCE_PATHS, SITEMAP_SOURCE_PATHS, SVELTE_CONFIG_FILES, VITE_CONFIG_FILES, a11yAccessibleName, a11yDeprecatedAria, a11yDeprecatedAttr, a11yDeprecatedElement, a11yDisallowedAriaProps, a11yDisallowedElement, a11yDoctype, a11yDuplicateLandmark, a11yIdDuplication, a11yInteractiveNesting, a11yInvalidAriaValue, a11yInvalidRole, a11yLabelHasControl, a11yNoMissingIdRef, a11yPermittedContents, a11yPlaceholderLabelOption, a11yPositiveTabindex, a11yRequireDatetime, a11yRequiredAriaProps, a11yRequiredElement, a11yTopLevelLandmark, a11yUnknownAriaAttribute, a11yUnverifiedIdRef, a11yUseList, allRules, applyInlineDirectives, applyOverrides, applyRuleSeverities, architectureComponentSize, architectureDirectoryNaming, architectureDocLinkTarget, architecturePrivateScopeImport, architecturePropCount, architectureReservedDirectoryNames, architectureReservedNamePlacement, architectureRouteComponentImport, architectureUnitEntryFile, attrText, attrTextOf, attrValue, attrValueOf, buildHtmlDocument, buildJsonReport, classify, collectComponentFacts, collectKitModuleFacts, collectSourceFiles, collectSuppressions, compileOverrides, computeHealth, computeScore, correctnessAutoplayMuted, correctnessBasePathNavigation, correctnessCheckableBindValue, correctnessEachIndexKey, correctnessEachKey, correctnessEffectAsDerived, correctnessEffectAsOnMount, correctnessInstanceBrowserGlobal, correctnessNonreactiveBuiltinState, correctnessOrphanEffect, correctnessOrphanLifecycle, correctnessPropMutation, correctnessServerBrowserGlobal, correctnessStalePropDerivation, correctnessUnmutatedState, decodeFragmentId, defaultConfig, defaultProject, docsUrlFor, effectiveSeverity, emptyComponentFacts, emptyKitModuleFacts, escapeHtml, explainRule, findAttr, findKitAliasesInSvelteConfig, findKitPathsBaseInSvelteConfig, findKitPathsBaseInViteConfig, findMinifyDisabled, foldOccurrences, formatAgentReport, formatConsoleReport, formatFailedRuleWarning, formatGithubReport, formatHtmlReport, formatJsonReport, formatMarkdownReport, formatSarifReport, hasFailureAtOrAbove, headTagRule, imageRule, intOption, isMentionedAnywhere, isPenalized, isTopFragment, lineOf, linkRule, listOption, mapOption, noColorPalette, overrideMatches, parseComponentFacts, parseKitModuleFacts, parseSvelte, performanceFontPreloadCrossorigin, performanceHeavyImport, performanceIframeLoading, performanceImageDimensions, performanceImageLoadingHint, performanceLcpImage, performanceLoadWaterfall, performanceMinifyDisabled, performanceNamespaceImport, performancePreconnect, performancePreloadMissingAs, performanceRenderBlockingScript, performanceResponsiveImage, performanceSequentialAwaits, performanceStateRaw, renderAppShell, resolveKitAliases, resolveKitPathsBase, resolveRepoLocalPath, resolveRuleOptions, resolveRunesModuleSpecifier, runRules, safeHref, scoreBand, scoreColor, scoresByCategory, securityHandlerStateWrite, securityJavascriptUrl, securityRawHtml, securityServerModuleState, securitySharedStateImport, selectRules, seoCanonicalUrl, seoCharset, seoDescriptionLength, seoDescriptionPresence, seoDuplicateDescription, seoDuplicateTitle, seoHeadingLevelSkip, seoHreflang, seoHtmlLang, seoImageAlt, seoIndexability, seoJsonLd, seoJsonLdDateFormat, seoJsonLdDeprecatedType, seoJsonLdPlaceholder, seoJsonLdRelativeUrl, seoJsonLdRequiredProps, seoJsonLdValidity, seoOgDescription, seoOgImage, seoOgTitle, seoOgUrl, seoRobotsTxt, seoSingleH1, seoSitemapInRobots, seoSitemapXml, seoSsrDisabled, seoTitleLength, seoTitlePresence, seoTwitterCard, seoViewport, settingOptions, settingSeverity, shouldSkipRangeCheck, skippedFileWarnings, splitTokens, stripTextDirective, summarize, terminalSafe, textFromNodes, unknownDirectiveIds, validateRuleOptions, validateRuleSetting, valueFromNodes, withFailedRulesOff, withReadLimit };
1710
+ export { APP_SCRIPT, APP_STYLE, BAND_COLOR, CHILD_NODE_KEYS, IDREF_ATTRS, LANDMARK_ROLES, READ_CONCURRENCY, ROBOTS_SOURCE_PATHS, SITEMAP_SOURCE_PATHS, SVELTE_CONFIG_FILES, VITE_CONFIG_FILES, a11yAbbrTitle, a11yAccessibleName, a11yDeprecatedAria, a11yDeprecatedAttr, a11yDeprecatedElement, a11yDisallowedAriaProps, a11yDisallowedElement, a11yDoctype, a11yDuplicateLandmark, a11yIdDuplication, a11yInteractiveNesting, a11yInvalidAriaValue, a11yInvalidRole, a11yLabelHasControl, a11yNoAccesskey, a11yNoAutofocus, a11yNoDuplicateDt, a11yNoMissingIdRef, a11yPatternTitle, a11yPermittedContents, a11yPlaceholderLabelOption, a11yPositiveTabindex, a11yRequireDatetime, a11yRequiredAriaProps, a11yRequiredElement, a11yTopLevelLandmark, a11yUnknownAriaAttribute, a11yUnverifiedIdRef, a11yUseList, allRules, applyInlineDirectives, applyOverrides, applyRuleSeverities, architectureComponentSize, architectureDirectoryNaming, architectureDocLinkTarget, architecturePrivateScopeImport, architecturePropCount, architectureReservedDirectoryNames, architectureReservedNamePlacement, architectureRouteComponentImport, architectureUnitEntryFile, attrText, attrTextOf, attrValue, attrValueOf, buildHtmlDocument, buildJsonReport, classify, collectComponentFacts, collectKitModuleFacts, collectSourceFiles, collectSuppressions, compileOverrides, computeHealth, computeScore, correctnessAutoplayMuted, correctnessBasePathNavigation, correctnessCheckableBindValue, correctnessEachIndexKey, correctnessEachKey, correctnessEffectAsDerived, correctnessEffectAsOnMount, correctnessInstanceBrowserGlobal, correctnessNonreactiveBuiltinState, correctnessOrphanEffect, correctnessOrphanLifecycle, correctnessPropMutation, correctnessServerBrowserGlobal, correctnessStalePropDerivation, correctnessUnmutatedState, decodeFragmentId, defaultConfig, defaultProject, docsUrlFor, effectiveSeverity, emptyComponentFacts, emptyKitModuleFacts, escapeHtml, explainRule, findAttr, findKitAliasesInSvelteConfig, findKitPathsBaseInSvelteConfig, findKitPathsBaseInViteConfig, findMinifyDisabled, foldOccurrences, formatAgentReport, formatConsoleReport, formatFailedRuleWarning, formatGithubReport, formatHtmlReport, formatJsonReport, formatMarkdownReport, formatSarifReport, hasFailureAtOrAbove, headTagRule, imageRule, intOption, isMentionedAnywhere, isPenalized, isTopFragment, lineOf, linkRule, listOption, mapOption, noColorPalette, overrideMatches, parseComponentFacts, parseKitModuleFacts, parseSvelte, performanceFontPreloadCrossorigin, performanceHeavyImport, performanceIframeLoading, performanceImageDimensions, performanceImageLoadingHint, performanceLcpImage, performanceLoadWaterfall, performanceMinifyDisabled, performanceNamespaceImport, performancePreconnect, performancePreloadMissingAs, performanceRenderBlockingScript, performanceResponsiveImage, performanceSequentialAwaits, performanceStateRaw, renderAppShell, resolveKitAliases, resolveKitPathsBase, resolveRepoLocalPath, resolveRuleOptions, resolveRunesModuleSpecifier, runRules, safeHref, scoreBand, scoreColor, scoresByCategory, securityHandlerStateWrite, securityJavascriptUrl, securityRawHtml, securityServerModuleState, securitySharedStateImport, selectRules, seoCanonicalUrl, seoCharset, seoDescriptionLength, seoDescriptionPresence, seoDuplicateDescription, seoDuplicateTitle, seoHeadingLevelSkip, seoHreflang, seoHtmlLang, seoImageAlt, seoIndexability, seoJsonLd, seoJsonLdDateFormat, seoJsonLdDeprecatedType, seoJsonLdPlaceholder, seoJsonLdRelativeUrl, seoJsonLdRequiredProps, seoJsonLdValidity, seoOgDescription, seoOgImage, seoOgTitle, seoOgUrl, seoRobotsTxt, seoSingleH1, seoSitemapInRobots, seoSitemapXml, seoSsrDisabled, seoTitleLength, seoTitlePresence, seoTwitterCard, seoViewport, settingOptions, settingSeverity, shouldSkipRangeCheck, skippedFileWarnings, splitTokens, stripTextDirective, summarize, terminalSafe, textFromNodes, unknownDirectiveIds, validateRuleOptions, validateRuleSetting, valueFromNodes, withFailedRulesOff, withReadLimit };
@@ -288,6 +288,11 @@ interface ComponentFacts {
288
288
  videosAutoplayNoMuted?: {
289
289
  line: number;
290
290
  }[];
291
+ /** `<dt>` elements whose static name duplicates an earlier sibling `<dt>` in the same `<dl>` (a11y/no-duplicate-dt). */
292
+ duplicateDts?: {
293
+ line: number;
294
+ text: string;
295
+ }[];
291
296
  /** Set when the file failed to read or parse and these facts are the empty fallback — the file was NOT analyzed. */
292
297
  parseFailed?: true;
293
298
  /** Set when the file could not be READ — an environment problem (permissions, a descriptor
@@ -4344,7 +4344,8 @@ function collectElements(node, source, acc, inSvg, parent) {
4344
4344
  tag,
4345
4345
  line: lineOf(source, node.start),
4346
4346
  attrs: node.attributes.filter((a) => a?.type === "Attribute" && typeof a.name === "string").map((a) => {
4347
- const value = a.value === true ? "" : attrValueOf(a) === "static" ? attrTextOf(a) ?? void 0 : void 0;
4347
+ const cls = classifyAttrValue(a.value);
4348
+ const value = "expression" in cls ? void 0 : cls.literal;
4348
4349
  return {
4349
4350
  name: String(a.name).toLowerCase(),
4350
4351
  line: lineOf(source, a.start ?? node.start),
@@ -4880,6 +4881,84 @@ function collectTimesMissingDatetime(node, source, acc) {
4880
4881
  for (const key of CHILD_NODE_KEYS) if (key in node) collectTimesMissingDatetime(node[key], source, acc);
4881
4882
  }
4882
4883
  /**
4884
+ * Fully-static text content of a node list: concatenated `Text` data, looked through static
4885
+ * regular elements (`<dt><code>HTTP</code></dt>` names "HTTP"), with comments contributing
4886
+ * nothing. `undefined` when anything dynamic appears anywhere below — an expression, a
4887
+ * component, a block, `{@html}`/`{@render}`, `<svelte:element>`, a `<slot>`, or a custom
4888
+ * element (its shadow root may supply content) — because the rendered text is then unknowable.
4889
+ */
4890
+ function staticTextOf(nodes) {
4891
+ let out = "";
4892
+ for (const n of nodes) {
4893
+ if (!n || typeof n !== "object") continue;
4894
+ if (n.type === "Comment") continue;
4895
+ if (n.type === "Text") {
4896
+ out += String(n.data ?? "");
4897
+ continue;
4898
+ }
4899
+ if (n.type === "RegularElement" && typeof n.name === "string" && !n.name.includes("-")) {
4900
+ const inner = staticTextOf(n.fragment?.nodes ?? []);
4901
+ if (inner === void 0) return void 0;
4902
+ out += inner;
4903
+ continue;
4904
+ }
4905
+ return;
4906
+ }
4907
+ return out;
4908
+ }
4909
+ /**
4910
+ * Duplicate `<dt>` names within one `<dl>` (a11y/no-duplicate-dt). Candidates are `<dt>`
4911
+ * elements that are direct children of the `<dl>`, or direct children of a direct `<div>`
4912
+ * child (the spec's div-wrapped name-value groups); a dt under a logic block or component is
4913
+ * not a candidate — its multiplicity or rendered content is unknowable, and unknowable names
4914
+ * can only ever add duplicates, never fabricate one between two static non-duplicates. A
4915
+ * candidate's name is its fully-static text content (`staticTextOf` above — static phrasing
4916
+ * markup like `<dt><code>HTTP</code></dt>` is looked through, comments contribute nothing),
4917
+ * trimmed and whitespace-collapsed; an empty name is not a candidate (two empty dts are a
4918
+ * missing-content defect, not a duplicate name).
4919
+ * Comparison is case-sensitive — the spec leaves the equality undefined, so only certain
4920
+ * duplicates are reported. Namespace is tracked like `collectElements`: a `<dl>` inside
4921
+ * `<svg>` never renders as an HTML definition list, so it is skipped; `<foreignObject>`
4922
+ * children return to HTML. Nested `<dl>`s get their own scope for free — the walk recurses
4923
+ * and a nested dl's dts are never the outer dl's direct children.
4924
+ */
4925
+ function collectDuplicateDts(node, source, acc, inSvg) {
4926
+ if (Array.isArray(node)) {
4927
+ for (const child of node) collectDuplicateDts(child, source, acc, inSvg);
4928
+ return;
4929
+ }
4930
+ if (!node || typeof node !== "object") return;
4931
+ let next = inSvg;
4932
+ if (node.type === "RegularElement" && typeof node.name === "string") {
4933
+ const tag = node.name.toLowerCase();
4934
+ if (tag === "svg") next = true;
4935
+ else if (tag === "foreignobject") next = false;
4936
+ if (!inSvg && tag === "dl") {
4937
+ const seen = /* @__PURE__ */ new Set();
4938
+ const judge = (dt) => {
4939
+ const raw = staticTextOf(dt.fragment?.nodes ?? []);
4940
+ if (raw === void 0) return;
4941
+ const name = raw.trim().replace(/\s+/g, " ");
4942
+ if (!name) return;
4943
+ if (seen.has(name)) acc.push({
4944
+ line: lineOf(source, dt.start),
4945
+ text: name
4946
+ });
4947
+ else seen.add(name);
4948
+ };
4949
+ for (const child of node.fragment?.nodes ?? []) {
4950
+ if (child?.type !== "RegularElement" || typeof child.name !== "string") continue;
4951
+ const childTag = child.name.toLowerCase();
4952
+ if (childTag === "dt") judge(child);
4953
+ else if (childTag === "div") {
4954
+ for (const inner of child.fragment?.nodes ?? []) if (inner?.type === "RegularElement" && typeof inner.name === "string" && inner.name.toLowerCase() === "dt") judge(inner);
4955
+ }
4956
+ }
4957
+ }
4958
+ }
4959
+ for (const key of CHILD_NODE_KEYS) if (key in node) collectDuplicateDts(node[key], source, acc, next);
4960
+ }
4961
+ /**
4883
4962
  * `<video>` with a literal `autoplay` attribute and no `muted` in any form
4884
4963
  * (correctness/autoplay-muted). Presence is what autoplays, so any literal value counts
4885
4964
  * (`autoplay="false"` still autoplays); an expression value is unknowable and is skipped.
@@ -5768,6 +5847,8 @@ function parseComponentFacts(source, filename) {
5768
5847
  collectTimesMissingDatetime(ast.fragment ?? ast, source, timesMissingDatetime);
5769
5848
  const videosAutoplayNoMuted = [];
5770
5849
  collectVideosAutoplayNoMuted(ast.fragment ?? ast, source, videosAutoplayNoMuted, ast.options?.namespace === "svg");
5850
+ const duplicateDts = [];
5851
+ collectDuplicateDts(ast.fragment ?? ast, source, duplicateDts, ast.options?.namespace === "svg");
5771
5852
  const basePathLinks = [];
5772
5853
  collectHrefLinks(ast.fragment ?? ast, source, basePathLinks);
5773
5854
  const gotoPrograms = [ast.module?.content, ast.instance?.content].filter(Boolean);
@@ -5980,7 +6061,8 @@ function parseComponentFacts(source, filename) {
5980
6061
  bulletTexts,
5981
6062
  selectsMissingPlaceholder,
5982
6063
  timesMissingDatetime,
5983
- videosAutoplayNoMuted
6064
+ videosAutoplayNoMuted,
6065
+ duplicateDts
5984
6066
  };
5985
6067
  }
5986
6068
  //#endregion
@@ -8430,18 +8512,54 @@ const a11yInteractiveNesting = componentRule({
8430
8512
  });
8431
8513
  //#endregion
8432
8514
  //#region src/rules/a11y/accessible-name.ts
8515
+ const NAMING_ATTRS = /* @__PURE__ */ new Set([
8516
+ "title",
8517
+ "aria-label",
8518
+ "aria-labelledby"
8519
+ ]);
8520
+ /**
8521
+ * The iframe arm reads the generic elements channel rather than the collector's
8522
+ * `unnamedInteractive` facts: an iframe has no name-from-content step (its children are fallback
8523
+ * content, never rendered), so the subtree scan the other targets need does not apply — and the
8524
+ * channel already carries the SVG-namespace flag (SVG has no iframe; the element never renders)
8525
+ * and the spread guard. Hidden or presentational iframes are skipped — `aria-hidden="true"`,
8526
+ * `hidden`, `role="presentation"`/`"none"` — the tracking/analytics-frame class where a name
8527
+ * helps nobody; an expression value in any of the skip attributes (and `hidden` in any form,
8528
+ * bare included) resolves unknowable → silence, this rule's convention throughout. The skip set
8529
+ * is deliberate to this arm only: a hidden focusable button is a different defect.
8530
+ */
8531
+ function unnamedIframes(c) {
8532
+ return (c.elements ?? []).filter((e) => {
8533
+ if (e.tag !== "iframe" || e.inSvg || e.hasSpread) return false;
8534
+ if (e.attrs.some((a) => NAMING_ATTRS.has(a.name) && (a.value === void 0 || a.value.trim() !== ""))) return false;
8535
+ const attr = (name) => e.attrs.find((a) => a.name === name);
8536
+ const ariaHidden = attr("aria-hidden");
8537
+ if (ariaHidden && (ariaHidden.value === void 0 || ariaHidden.value.trim().toLowerCase() === "true")) return false;
8538
+ if (attr("hidden")) return false;
8539
+ const role = attr("role");
8540
+ if (role) {
8541
+ if (role.value === void 0) return false;
8542
+ const resolved = resolveRole(splitTokens(role.value.toLowerCase()));
8543
+ if (resolved === "presentation" || resolved === "none") return false;
8544
+ }
8545
+ return true;
8546
+ });
8547
+ }
8433
8548
  const a11yAccessibleName = componentRule({
8434
8549
  id: "a11y/accessible-name",
8435
8550
  title: "Interactive element has no accessible name",
8436
8551
  category: "a11y",
8437
8552
  label: "Accessible names",
8438
- rationale: "A button, link, or image button with no accessible name is announced by assistive technology as its bare role (\"button\", \"link\") with nothing to distinguish it from any other control on the page.",
8439
- recommendation: "Give the element visible text or an aria-label/aria-labelledby; a button or link whose only content is an icon image is named by that image's alt, and an <input type=\"image\"> by its own alt.",
8440
- applies: (c) => (c.unnamedInteractive ?? []).length > 0,
8441
- bad: (c) => (c.unnamedInteractive ?? []).map((f) => ({
8553
+ rationale: "A button, link, or image button with no accessible name is announced by assistive technology as its bare role (\"button\", \"link\") with nothing to distinguish it from any other control on the page; an iframe without one is announced as an unnamed frame, with no way to tell an embedded video from an ad slot before entering it.",
8554
+ recommendation: "Give the element visible text or an aria-label/aria-labelledby; a button or link whose only content is an icon image is named by that image's alt, an <input type=\"image\"> by its own alt, and an <iframe> by its title.",
8555
+ applies: (c) => (c.unnamedInteractive ?? []).length > 0 || unnamedIframes(c).length > 0,
8556
+ bad: (c) => [...(c.unnamedInteractive ?? []).map((f) => ({
8442
8557
  line: f.line,
8443
8558
  message: `<${f.tag}> has no accessible name`
8444
- }))
8559
+ })), ...unnamedIframes(c).map((e) => ({
8560
+ line: e.line,
8561
+ message: "<iframe> has no accessible name"
8562
+ }))]
8445
8563
  });
8446
8564
  //#endregion
8447
8565
  //#region src/rules/a11y/label-has-control.ts
@@ -8538,6 +8656,185 @@ const a11yPositiveTabindex = componentRule({
8538
8656
  })
8539
8657
  });
8540
8658
  //#endregion
8659
+ //#region src/rules/a11y/no-accesskey.ts
8660
+ /**
8661
+ * a11y/no-accesskey — unlike most attribute rules, an expression-valued `accesskey` is reported
8662
+ * too: the attribute's presence is the problem and its value never matters, so there is nothing
8663
+ * unknowable about it. A spread-only carrier stays silent (the attribute never reaches `attrs`).
8664
+ * SVG elements are judged along with HTML — `accesskey` is meaningless there, which makes its
8665
+ * presence wrong in both namespaces.
8666
+ */
8667
+ const a11yNoAccesskey = componentRule({
8668
+ id: "a11y/no-accesskey",
8669
+ title: "Accesskey attribute",
8670
+ category: "a11y",
8671
+ severity: "warning",
8672
+ label: "Accesskey attributes",
8673
+ recommendation: "Remove the accesskey attribute. Provide visible, focusable controls instead; if a real keyboard shortcut is needed, implement it with a key handler and document it in the page.",
8674
+ rationale: "The accesskey attribute assigns a page-level shortcut key, but the actual key combination varies by browser and OS, is undiscoverable to users, and routinely conflicts with screen reader and browser keyboard bindings. Long-standing accessibility guidance is to not use it.",
8675
+ fix: { description: "Remove the accesskey attribute." },
8676
+ applies: (c) => (c.elements ?? []).some((e) => e.attrs.some((a) => a.name === "accesskey")),
8677
+ bad: (c) => (c.elements ?? []).filter((e) => e.attrs.some((a) => a.name === "accesskey")).map((e) => ({
8678
+ line: e.line,
8679
+ message: `accesskey on <${e.tag}> — the shortcut key varies by browser and OS, is undiscoverable, and conflicts with assistive-technology bindings`
8680
+ }))
8681
+ });
8682
+ //#endregion
8683
+ //#region src/rules/a11y/no-autofocus.ts
8684
+ /**
8685
+ * `<dialog>` and popover containers run their focusing steps on show, not on page load, and both
8686
+ * honour an `autofocus` descendant — so autofocus there is the correct tool, not focus theft.
8687
+ * The popover check accepts the attribute in any form (bare, literal, expression): an expression
8688
+ * could resolve to a real popover value, and a generous carve-out trades a false negative for
8689
+ * never flagging the documented pattern (same trade as correctness/autoplay-muted's `muted`).
8690
+ * Neither container form counts in the SVG namespace — the focusing steps are defined for the
8691
+ * HTML `dialog` element and HTML elements with a `popover` attribute only; a `<dialog>` inside
8692
+ * `<foreignObject>` is back in HTML and still counts.
8693
+ */
8694
+ function inShowTimeContainer(elements, start) {
8695
+ let e = start;
8696
+ while (e !== void 0) {
8697
+ if (!e.inSvg && (e.tag === "dialog" || e.attrs.some((a) => a.name === "popover"))) return true;
8698
+ e = e.parent === void 0 ? void 0 : elements[e.parent];
8699
+ }
8700
+ return false;
8701
+ }
8702
+ /**
8703
+ * a11y/no-autofocus — only a literal `autofocus` counts (a bare boolean attribute parses to
8704
+ * `value: ''`); an expression value could be `false` and passes as unknowable. The ancestor walk
8705
+ * uses `ElementFact.parent`, which looks through logic blocks but breaks at every non-lexical
8706
+ * construct (a component, `{#snippet}` body, `<svelte:element>`, custom element, `{@html}`,
8707
+ * `{@render}`, `<slot>`) — past a break the dialog cannot be proven, so the element is reported;
8708
+ * the docs page's Limitations section names these classes and the inline-suppression escape
8709
+ * hatch. SVG elements are judged along with HTML: SVG2 honours `autofocus` with the same
8710
+ * page-load focus semantics.
8711
+ */
8712
+ const a11yNoAutofocus = componentRule({
8713
+ id: "a11y/no-autofocus",
8714
+ title: "Autofocus outside a dialog",
8715
+ category: "a11y",
8716
+ severity: "warning",
8717
+ label: "Autofocus placement",
8718
+ recommendation: "Remove the autofocus attribute and let focus start at the top of the page, or move the control into the <dialog> or popover it belongs to; focus moved in response to a user action belongs in an event handler.",
8719
+ rationale: "autofocus moves focus on page load without the user asking, skipping everything before the target — screen reader users lose the page context they were building, and keyboard users are dropped mid-page. Inside a <dialog> or a popover it is the correct tool (their focusing steps run on show, not on load); anywhere else it is almost always a usability bug.",
8720
+ fix: { description: "Remove the autofocus attribute, or move the element inside the <dialog>/popover container it is meant to focus." },
8721
+ applies: (c) => literalAutofocusElements(c).length > 0,
8722
+ bad: (c) => {
8723
+ const elements = c.elements ?? [];
8724
+ return literalAutofocusElements(c).filter((e) => !inShowTimeContainer(elements, e)).map((e) => ({
8725
+ line: e.line,
8726
+ message: `autofocus on <${e.tag}> steals focus when the page loads — keyboard and screen reader users lose their place`
8727
+ }));
8728
+ }
8729
+ });
8730
+ function literalAutofocusElements(c) {
8731
+ return (c.elements ?? []).filter((e) => e.attrs.some((a) => a.name === "autofocus" && a.value !== void 0));
8732
+ }
8733
+ //#endregion
8734
+ //#region src/rules/a11y/no-duplicate-dt.ts
8735
+ /**
8736
+ * a11y/no-duplicate-dt — the candidate gathering (direct and div-wrapped `<dt>` children of a
8737
+ * `<dl>`, fully-static names only, whitespace-normalized, case-sensitive) lives in the
8738
+ * collector; see `collectDuplicateDts` in component-parse.ts for the exemption rationale.
8739
+ */
8740
+ const a11yNoDuplicateDt = componentRule({
8741
+ id: "a11y/no-duplicate-dt",
8742
+ title: "Duplicate <dt> names in a <dl>",
8743
+ category: "a11y",
8744
+ severity: "info",
8745
+ label: "Description-list names",
8746
+ rationale: "Within a single dl element, there should not be more than one dt element for each name — the HTML spec calls this out explicitly, and a duplicated term usually means a copy-paste error where two descriptions were meant to share one dt.",
8747
+ recommendation: "Merge the descriptions under a single <dt> — one dt may be followed by several <dd> — or rename the term if the entries are genuinely different.",
8748
+ fix: { description: "Merge the duplicated terms into one <dt> followed by both <dd> descriptions, or rename one of them." },
8749
+ applies: (c) => (c.duplicateDts ?? []).length > 0,
8750
+ bad: (c) => (c.duplicateDts ?? []).map((d) => ({
8751
+ line: d.line,
8752
+ message: `Duplicate <dt> "${d.text}" in the same <dl>`
8753
+ }))
8754
+ });
8755
+ //#endregion
8756
+ //#region src/rules/a11y/abbr-title.ts
8757
+ /**
8758
+ * a11y/abbr-title — a best-practice nudge, not a conformance check: the spec makes `title` on
8759
+ * `<abbr>` optional, and an expansion given in the surrounding prose is correct markup this
8760
+ * rule cannot see (the known false-positive class; the docs page names the inline-suppression
8761
+ * escape hatch for it). A blank literal `title=""` gives no expansion and is reported; an
8762
+ * expression value is unknowable and passes, the same predicate as a11y/accessible-name's
8763
+ * iframe check. SVG is skipped — `<abbr>` is not an SVG element.
8764
+ */
8765
+ function untitledAbbrs(c) {
8766
+ return (c.elements ?? []).filter((e) => e.tag === "abbr" && !e.inSvg && !e.hasSpread && !e.attrs.some((a) => a.name === "title" && (a.value === void 0 || a.value.trim() !== "")));
8767
+ }
8768
+ const a11yAbbrTitle = componentRule({
8769
+ id: "a11y/abbr-title",
8770
+ title: "Abbreviation without an expansion",
8771
+ category: "a11y",
8772
+ severity: "info",
8773
+ label: "Abbreviation expansions",
8774
+ rationale: "<abbr> marks an abbreviation, but without a title giving the expansion the element adds no information — visual users get no tooltip and assistive technology has nothing to expand. The spec keeps title optional (an expansion in the surrounding text is also fine), so this is a nudge toward the common case, not a conformance requirement.",
8775
+ recommendation: "Add title with the expansion, or spell the term out in full at first use instead of using <abbr>. If the expansion is already given in the surrounding text, the markup is fine as written — silence the finding instead.",
8776
+ fix: {
8777
+ description: "Add a title attribute with the expansion, or spell the term out at first use.",
8778
+ snippet: "<abbr title=\"HyperText Markup Language\">HTML</abbr>",
8779
+ lang: "svelte"
8780
+ },
8781
+ applies: (c) => untitledAbbrs(c).length > 0,
8782
+ bad: (c) => untitledAbbrs(c).map((e) => ({
8783
+ line: e.line,
8784
+ message: "<abbr> without a title gives readers no expansion of the abbreviation"
8785
+ }))
8786
+ });
8787
+ //#endregion
8788
+ //#region src/rules/a11y/pattern-title.ts
8789
+ /** The input types the `pattern` attribute applies to, per the spec's applies-to table. */
8790
+ const PATTERN_TYPES = /* @__PURE__ */ new Set([
8791
+ "text",
8792
+ "search",
8793
+ "url",
8794
+ "tel",
8795
+ "email",
8796
+ "password"
8797
+ ]);
8798
+ /**
8799
+ * a11y/pattern-title — only judged where `pattern` is effective: no `type` (defaults to Text)
8800
+ * or a literal type in the applies-to set. A literal type outside it (`type="number"`) makes
8801
+ * pattern inert, so requiring a title there would be wrong; an expression type or pattern is
8802
+ * unknowable and passes. An unknown type keyword (`type="txet"`) falls back to the Text state
8803
+ * where pattern does apply — skipping it is a deliberate, conservative false negative (docs
8804
+ * Limitations). A blank literal `title=""` describes nothing and is reported; an expression
8805
+ * title counts as present, the a11y/accessible-name predicate. SVG-namespace inputs never
8806
+ * render as form controls and are skipped.
8807
+ */
8808
+ function patternInputsMissingTitle(c) {
8809
+ return (c.elements ?? []).filter((e) => {
8810
+ if (e.tag !== "input" || e.inSvg || e.hasSpread) return false;
8811
+ const pattern = e.attrs.find((a) => a.name === "pattern");
8812
+ if (pattern === void 0 || pattern.value === void 0) return false;
8813
+ const type = e.attrs.find((a) => a.name === "type");
8814
+ if (type !== void 0 && (type.value === void 0 || !PATTERN_TYPES.has(type.value.trim().toLowerCase()))) return false;
8815
+ return !e.attrs.some((a) => a.name === "title" && (a.value === void 0 || a.value.trim() !== ""));
8816
+ });
8817
+ }
8818
+ const a11yPatternTitle = componentRule({
8819
+ id: "a11y/pattern-title",
8820
+ title: "Pattern input without a format description",
8821
+ category: "a11y",
8822
+ severity: "info",
8823
+ label: "Pattern descriptions",
8824
+ rationale: "When an <input> has a pattern attribute, the spec says authors should include a title describing the expected format — browsers surface it in the validation error, and without it a failed submit tells the user only that the value is wrong, not what right looks like.",
8825
+ recommendation: "Add a title describing the expected format in plain words (e.g. \"Letters, a dash, then digits\"), and mirror it in visible help text — title alone is unavailable to many users.",
8826
+ fix: {
8827
+ description: "Add a title attribute describing the expected format.",
8828
+ snippet: "<input pattern=\"[A-Za-z]+-[0-9]+\" title=\"Letters, a dash, then digits\" />",
8829
+ lang: "svelte"
8830
+ },
8831
+ applies: (c) => patternInputsMissingTitle(c).length > 0,
8832
+ bad: (c) => patternInputsMissingTitle(c).map((e) => ({
8833
+ line: e.line,
8834
+ message: "<input pattern> without a title — a failed match tells the user nothing about the expected format"
8835
+ }))
8836
+ });
8837
+ //#endregion
8541
8838
  //#region src/html-spec/index.ts
8542
8839
  /** The HTML element's spec row; `undefined` for SVG (`svg:*`) and unknown names. */
8543
8840
  function htmlElement(tag) {
@@ -9566,6 +9863,11 @@ const allRules = [
9566
9863
  a11yPlaceholderLabelOption,
9567
9864
  a11yRequireDatetime,
9568
9865
  a11yPositiveTabindex,
9866
+ a11yNoAccesskey,
9867
+ a11yNoAutofocus,
9868
+ a11yNoDuplicateDt,
9869
+ a11yAbbrTitle,
9870
+ a11yPatternTitle,
9569
9871
  a11yDeprecatedElement,
9570
9872
  a11yDeprecatedAttr,
9571
9873
  a11yDisallowedAriaProps,
@@ -10027,4 +10329,4 @@ function formatMarkdownReport(results, config, meta) {
10027
10329
  return lines.join("\n");
10028
10330
  }
10029
10331
  //#endregion
10030
- export { architecturePrivateScopeImport as $, seoTitlePresence as $n, seoSingleH1 as $t, a11yRequireDatetime as A, overrideMatches as An, securityServerModuleState as At, performanceIframeLoading as B, performanceResponsiveImage as Bn, correctnessCheckableBindValue as Bt, a11yPermittedContents as C, shouldSkipRangeCheck as Cn, lineOf as Ct, a11yDeprecatedAttr as D, applyRuleSeverities as Dn, architecturePropCount as Dt, a11yDisallowedAriaProps as E, applyOverrides as En, valueFromNodes as Et, a11yInteractiveNesting as F, performanceRenderBlockingScript as Fn, correctnessServerBrowserGlobal as Ft, performanceNamespaceImport as G, seoSitemapXml as Gn, correctnessEffectAsOnMount as Gt, performanceSequentialAwaits as H, performanceImageDimensions as Hn, correctnessStalePropDerivation as Ht, a11yInvalidAriaValue as I, performanceLcpImage as In, correctnessBasePathNavigation as It, architectureRouteComponentImport as J, seoOgTitle as Jn, correctnessEachKey as Jt, performanceHeavyImport as K, seoRobotsTxt as Kn, correctnessEffectAsDerived as Kt, a11yRequiredAriaProps as L, performanceFontPreloadCrossorigin as Ln, correctnessOrphanLifecycle as Lt, a11yUseList as M, settingOptions as Mn, securityJavascriptUrl as Mt, a11yLabelHasControl as N, settingSeverity as Nn, securityRawHtml as Nt, a11yDeprecatedElement as O, compileOverrides as On, architectureComponentSize as Ot, a11yAccessibleName as P, withFailedRulesOff as Pn, correctnessInstanceBrowserGlobal as Pt, architectureUnitEntryFile as Q, headTagRule as Qn, seoDuplicateTitle as Qt, a11yUnknownAriaAttribute as R, performancePreloadMissingAs as Rn, correctnessOrphanEffect as Rt, a11yRequiredElement as S, resolveRuleOptions as Sn, findAttr as St, a11yDeprecatedAria as T, validateRuleSetting as Tn, textFromNodes as Tt, performanceLoadWaterfall as U, imageRule as Un, correctnessPropMutation as Ut, performanceStateRaw as V, performanceImageLoadingHint as Vn, correctnessNonreactiveBuiltinState as Vt, performanceMinifyDisabled as W, seoHtmlLang as Wn, correctnessUnmutatedState as Wt, architectureReservedDirectoryNames as X, seoCanonicalUrl as Xn, seoHeadingLevelSkip as Xt, architectureReservedNamePlacement as Y, seoOgImage as Yn, seoSsrDisabled as Yt, architectureDirectoryNaming as Z, seoDescriptionPresence as Zn, seoDuplicateDescription as Zt, a11yNoMissingIdRef as _, performancePreconnect as _n, CHILD_NODE_KEYS as _t, formatJsonReport as a, seoJsonLdRequiredProps as an, isPenalized as ar, collectNamedImportAliases as at, a11yDuplicateLandmark as b, listOption as bn, attrValue as bt, scoresByCategory as c, seoJsonLdRelativeUrl as cn, defaultProject as cr, parseModuleProgram as ct, messageText as d, seoSitemapInRobots as dn, LANDMARK_ROLES as dt, seoHreflang as en, classify as er, collectTopLevelBindings as et, ruleMetaById as f, seoViewport as fn, decodeFragmentId as ft, a11yUnverifiedIdRef as g, seoIndexability as gn, stripTextDirective as gt, explainRule as h, seoTwitterCard as hn, splitTokens as ht, buildJsonReport as i, seoTitleLength as in, docsUrlFor as ir, resolveRunesModuleSpecifier as it, a11yPlaceholderLabelOption as j, selectRules as jn, securityHandlerStateWrite as jt, a11yPositiveTabindex as k, formatFailedRuleWarning as kn, securitySharedStateImport as kt, formatGithubReport as l, seoJsonLdDeprecatedType as ln, defineConfig as lr, unwrapTs as lt, allRules as m, seoOgDescription as mn, isTopFragment as mt, mdEscape as n, seoCharset as nn, hasFailureAtOrAbove as nr, parseKitModuleFacts as nt, computeHealth as o, seoJsonLdPlaceholder as on, CATEGORIES as or, collectSuppressions as ot, severityToSarifLevel as p, seoOgUrl as pn, foldOccurrences as pt, architectureDocLinkTarget as q, seoJsonLd as qn, correctnessEachIndexKey as qt, terminalSafe as r, seoDescriptionLength as rn, summarize as rr, resolveRepoLocalPath as rt, computeScore as s, seoJsonLdDateFormat as sn, defaultConfig as sr, parseComponentFacts as st, formatMarkdownReport as t, seoImageAlt as tn, effectiveSeverity as tr, parseInMemoryExports as tt, SEVERITY_RANK as u, seoJsonLdValidity as un, IDREF_ATTRS as ut, a11yIdDuplication as v, intOption as vn, attrText as vt, a11yDisallowedElement as w, validateRuleOptions as wn, parseSvelte as wt, a11yDoctype as x, mapOption as xn, attrValueOf as xt, a11yTopLevelLandmark as y, isMentionedAnywhere as yn, attrTextOf as yt, a11yInvalidRole as z, linkRule as zn, correctnessAutoplayMuted as zt };
10332
+ export { architectureRouteComponentImport as $, seoOgTitle as $n, correctnessEachKey as $t, a11yAbbrTitle as A, validateRuleSetting as An, textFromNodes as At, a11yInteractiveNesting as B, performanceRenderBlockingScript as Bn, correctnessServerBrowserGlobal as Bt, a11yPermittedContents as C, intOption as Cn, attrText as Ct, a11yDeprecatedAttr as D, resolveRuleOptions as Dn, findAttr as Dt, a11yDisallowedAriaProps as E, mapOption as En, attrValueOf as Et, a11yRequireDatetime as F, overrideMatches as Fn, securityServerModuleState as Ft, performanceIframeLoading as G, performanceResponsiveImage as Gn, correctnessCheckableBindValue as Gt, a11yRequiredAriaProps as H, performanceFontPreloadCrossorigin as Hn, correctnessOrphanLifecycle as Ht, a11yPlaceholderLabelOption as I, selectRules as In, securityHandlerStateWrite as It, performanceLoadWaterfall as J, imageRule as Jn, correctnessPropMutation as Jt, performanceStateRaw as K, performanceImageLoadingHint as Kn, correctnessNonreactiveBuiltinState as Kt, a11yUseList as L, settingOptions as Ln, securityJavascriptUrl as Lt, a11yNoAutofocus as M, applyRuleSeverities as Mn, architecturePropCount as Mt, a11yNoAccesskey as N, compileOverrides as Nn, architectureComponentSize as Nt, a11yDeprecatedElement as O, shouldSkipRangeCheck as On, lineOf as Ot, a11yPositiveTabindex as P, formatFailedRuleWarning as Pn, securitySharedStateImport as Pt, architectureDocLinkTarget as Q, seoJsonLd as Qn, correctnessEachIndexKey as Qt, a11yLabelHasControl as R, settingSeverity as Rn, securityRawHtml as Rt, a11yRequiredElement as S, performancePreconnect as Sn, CHILD_NODE_KEYS as St, a11yDeprecatedAria as T, listOption as Tn, attrValue as Tt, a11yUnknownAriaAttribute as U, performancePreloadMissingAs as Un, correctnessOrphanEffect as Ut, a11yInvalidAriaValue as V, performanceLcpImage as Vn, correctnessBasePathNavigation as Vt, a11yInvalidRole as W, linkRule as Wn, correctnessAutoplayMuted as Wt, performanceNamespaceImport as X, seoSitemapXml as Xn, correctnessEffectAsOnMount as Xt, performanceMinifyDisabled as Y, seoHtmlLang as Yn, correctnessUnmutatedState as Yt, performanceHeavyImport as Z, seoRobotsTxt as Zn, correctnessEffectAsDerived as Zt, a11yNoMissingIdRef as _, seoViewport as _n, decodeFragmentId as _t, formatJsonReport as a, seoHreflang as an, classify as ar, collectTopLevelBindings as at, a11yDuplicateLandmark as b, seoTwitterCard as bn, splitTokens as bt, scoresByCategory as c, seoDescriptionLength as cn, summarize as cr, resolveRepoLocalPath as ct, messageText as d, seoJsonLdPlaceholder as dn, CATEGORIES as dr, collectSuppressions as dt, seoSsrDisabled as en, seoOgImage as er, architectureReservedNamePlacement as et, ruleMetaById as f, seoJsonLdDateFormat as fn, defaultConfig as fr, parseComponentFacts as ft, a11yUnverifiedIdRef as g, seoSitemapInRobots as gn, LANDMARK_ROLES as gt, explainRule as h, seoJsonLdValidity as hn, IDREF_ATTRS as ht, buildJsonReport as i, seoSingleH1 as in, seoTitlePresence as ir, architecturePrivateScopeImport as it, a11yNoDuplicateDt as j, applyOverrides as jn, valueFromNodes as jt, a11yPatternTitle as k, validateRuleOptions as kn, parseSvelte as kt, formatGithubReport as l, seoTitleLength as ln, docsUrlFor as lr, resolveRunesModuleSpecifier as lt, allRules as m, seoJsonLdDeprecatedType as mn, defineConfig as mr, unwrapTs as mt, mdEscape as n, seoDuplicateDescription as nn, seoDescriptionPresence as nr, architectureDirectoryNaming as nt, computeHealth as o, seoImageAlt as on, effectiveSeverity as or, parseInMemoryExports as ot, severityToSarifLevel as p, seoJsonLdRelativeUrl as pn, defaultProject as pr, parseModuleProgram as pt, performanceSequentialAwaits as q, performanceImageDimensions as qn, correctnessStalePropDerivation as qt, terminalSafe as r, seoDuplicateTitle as rn, headTagRule as rr, architectureUnitEntryFile as rt, computeScore as s, seoCharset as sn, hasFailureAtOrAbove as sr, parseKitModuleFacts as st, formatMarkdownReport as t, seoHeadingLevelSkip as tn, seoCanonicalUrl as tr, architectureReservedDirectoryNames as tt, SEVERITY_RANK as u, seoJsonLdRequiredProps as un, isPenalized as ur, collectNamedImportAliases as ut, a11yIdDuplication as v, seoOgUrl as vn, foldOccurrences as vt, a11yDisallowedElement as w, isMentionedAnywhere as wn, attrTextOf as wt, a11yDoctype as x, seoIndexability as xn, stripTextDirective as xt, a11yTopLevelLandmark as y, seoOgDescription as yn, isTopFragment as yt, a11yAccessibleName as z, withFailedRulesOff as zn, correctnessInstanceBrowserGlobal as zt };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@svelte-vitals/core",
3
- "version": "0.48.0",
3
+ "version": "0.49.0",
4
4
  "description": "Shared, runtime-agnostic core for svelte-vitals (types, rule engine, scorer, reporter).",
5
5
  "type": "module",
6
6
  "license": "MIT",