import*as i18n from"../i18n/i18n.js";import{Issue,IssueCategory}from"./Issue.js";const UIStrings={colorAndContrastAccessibility:"Color and contrast accessibility"},str_=i18n.i18n.registerUIStrings("sdk/LowTextContrastIssue.ts",UIStrings),i18nString=i18n.i18n.getLocalizedString.bind(void 0,str_);export class LowTextContrastIssue extends Issue{constructor(s){super("LowTextContrastIssue"),this.issueDetails=s}primaryKey(){return`${this.code()}-(${this.issueDetails.violatingNodeId})`}getCategory(){return IssueCategory.LowTextContrast}details(){return this.issueDetails}getDescription(){return{file:"issues/descriptions/LowTextContrast.md",substitutions:void 0,links:[{link:"https://web.dev/color-and-contrast-accessibility/",linkTitle:i18nString(UIStrings.colorAndContrastAccessibility)}]}}}