a11yengine-mcp 0.0.0-stage → 1.4.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.
@@ -0,0 +1,70 @@
1
+ (function(){var e={lang:`de`,rules:JSON.parse(`{"accesskeys":{"description":"Stellt sicher, dass die Werte der accesskey-Attribute einzigartig sind.","help":"Der Wert des accesskey-Attributes muss einzigartig sein."},"area-alt":{"description":"Stellt sicher, dass <area>-Elemente Alternativtexte besitzen.","help":"Aktive <area>-Elemente müssen einen Alternativtext besitzen."},"aria-allowed-attr":{"description":"Stellt sicher, dass ARIA-Attribute für die vergebene Rolle eines Elements erlaubt sind.","help":"Elemente dürfen nur erlaubte ARIA-Attribute verwenden."},"aria-allowed-role":{"description":"Stellt sicher, dass der Wert des role-Attributes für dieses Element geeignet ist.","help":"Der Wert des role-Attributes muss für dieses Element geeignet sein."},"aria-braille-equivalent":{"description":"Stellt sicher, dass aria-braillelabel und aria-brailleroledescription ein non-braille Äquivalent haben.","help":"aria-braille Attribute müssen ein non-braille Äquivalent haben."},"aria-command-name":{"description":"Stellt sicher, dass jeder ARIA-button, -link und jedes -menuitem einen zugänglichen Namen (accessible name) hat.","help":"ARIA Befehle müssen einen zugänglichen Namen (accessible name) besitzen."},"aria-conditional-attr":{"description":"Stellt sicher, dass ARIA-Attribute wie in der Spezifikation der Rolle des Elements beschrieben verwendet werden.","help":"ARIA-Attribute müssen entsprechend der Rolle des Elements verwendet werden."},"aria-deprecated-role":{"description":"Stellt sicher, dass die Elemente keine veralteten Rollen verwenden.","help":"Veraltete ARIA-Rollen dürfen nicht verwendet werden."},"aria-dialog-name":{"description":"Stellt sicher, dass jeder ARIA-dialog und -alertdialog Knoten einen zugänglichen Namen (accessible name) hat.","help":"ARIA-dialog und -alertdialog Knoten müssen einen zugänglichen Namen (accessible name) besitzen."},"aria-hidden-body":{"description":"Stellt sicher, dass aria-hidden='true' nicht am <body>-Element des Dokumentes verwendet wird.","help":"Aria-hidden='true' darf nicht für den <body> des Dokumentes verwendet werden."},"aria-hidden-focus":{"description":"Stellt sicher, dass ARIA-hidden Elemente keine fokussierbaren Elemente beinhalten.","help":"ARIA-hidden Elemente dürfen keine fokussierbaren Elemente beinhalten."},"aria-input-field-name":{"description":"Stellt sicher, dass jeder ARIA-input einen zugänglichen Namen (accessible name) besitzt.","help":"ARIA-inputs müssen einen zugänglichen Namen (accessible name) besitzen."},"aria-meter-name":{"description":"Stellt sicher, dass jeder ARIA-meter Knoten einen zugänglichen Namen (accessible name) besitzt.","help":"ARIA-meter Knoten müssen einen zugänglichen Namen (accessible name) besitzen."},"aria-progressbar-name":{"description":"Stellt sicher, dass jeder ARIA-progressbar Knoten einen zugänglichen Namen (accessible name) besitzt.","help":"ARIA-progressbar Knoten müssen einen zugänglichen Namen (accessible name) besitzen."},"aria-prohibited-attr":{"description":"Stellt sicher, dass ARIA-Attribute für die Rolle eines Elements nicht verboten sind.","help":"Elemente dürfen nur erlaubte ARIA-Attribute verwenden."},"aria-required-attr":{"description":"Stellt sicher, dass Elemente mit ARIA-Rollen alle erforderlichen ARIA-Attribute besitzen.","help":"Erforderliche ARIA-Attribute müssen bereitgestellt werden."},"aria-required-children":{"description":"Stellt sicher, dass Elemente mit einer ARIA-Rolle, welche bestimmte untergeordnete Rollen voraussetzten diese auch enthalten.","help":"Bestimmte ARIA-Rollen müssen spezifische, untergeordnete Kind-Rollen enthalten."},"aria-required-parent":{"description":"Stellt sicher, dass Elemente mit ARIA-Rollen, welche übergeordnete Rollen voraussetzen auch in diesen enthalten sind.","help":"Bestimmte ARIA-Rollen müssen in spezifischen, übergeordneten Eltern-Rollen enthalten sein."},"aria-roledescription":{"description":"Stellt sicher, dass ARIA-roledescription nur im Zusammenhang mit einer im- oder expliziten Rolle verwendet wird.","help":"Nutze aria-roledescription für Elemente mit einer semantischen Rolle."},"aria-roles":{"description":"Stellt sicher, dass alle Elemente mit einer ARIA-Rolle auch einen gültigen Wert verwenden.","help":"Verwendete ARIA-Rollen müssen gültigen Werten entsprechen."},"aria-text":{"description":"Stellt sicher, dass role=\\"text\\" für Elemente verwendet wird, die keine fokussierbaren Nachkommen (descendants) haben.","help":"\\"role=text\\" sollte keine fokussierbaren Nachkommen (descendants) haben."},"aria-toggle-field-name":{"description":"Stellt sicher, dass jedes ARIA-toggle-Feld ein zugänglichen Namen (accessible name) besitzt.","help":"ARIA-toggle-Felder benötigen einen zugänglichen Namen (accessible name)."},"aria-tooltip-name":{"description":"Stellt sicher, dass jeder ARIA-tooltip Knoten einen zugänglichen Namen (accessible name) besitzt.","help":"ARIA-tooltip-Knoten benötigen einen zugänglichen Namen (accessible name)."},"aria-treeitem-name":{"description":"Stellt sicher, dass jeder ARIA-treeitem Knoten einen zugänglichen Namen (accessible name) besitzt.","help":"ARIA-treeitem-Knoten benötigen einen zugänglichen Namen (accessible name)."},"aria-valid-attr-value":{"description":"Stellt sicher, dass alle ARIA-Attribute gültige Werte verwenden.","help":"Verwendete ARIA-Attribute müssen gültigen Werten entsprechen."},"aria-valid-attr":{"description":"Stellt sicher, dass Attribute, welche mit aria- beginnen auch valide ARIA-Attribute sind.","help":"Verwendete ARIA-Attribute müssen gültigen Namen entsprechen."},"audio-caption":{"description":"Stellt sicher, dass <audio>-Elemente Untertitel besitzen.","help":"<audio>-Elemente müssen eine Untertitelung (captions track) besitzen."},"autocomplete-valid":{"description":"Stellt sicher, dass das autocomplete-Attribut korrekt ist und für das form-Feld geeignet ist.","help":"autocomplete-Attribute müssen korrekt genutzt werden."},"avoid-inline-spacing":{"description":"Stellt sicher, dass der Zeichenabstand durch benutzerdefinierte Stylesheets angepasst werden kann.","help":"Zeichenabstände müssen durch benutzerdefinierte Stylesheets anpassbar sein."},"blink":{"description":"Stellt sicher, dass keine <blink>-Elemente verwendet werden.","help":"<blink>-Elemente sind veraltet und dürfen nicht verwendet werden."},"button-name":{"description":"Stellt sicher, dass Schaltflächen wahrnehmbaren Text enthalten.","help":"Schaltflächen müssen wahrnehmbaren Text enthalten."},"bypass":{"description":"Stellt sicher, dass jede Seite mindestens ein Mittel bereitstellt, welches dem Nutzer erlaubt direkt zum Inhalt der Seite zu springen.","help":"Wiederholende Blöcke müssen vom Nutzer mit Hilfe von der Seite bereitgestellten Mitteln übersprungen werden können."},"color-contrast-enhanced":{"description":"Stellt sicher, dass der Kontrast zwischen Vorder- und Hintergrundfarbe den in der WCAG 2 als AAA ausgewiesenen Kontrastgrenzwerten entspricht.","help":"Elemente müssen einen ausreichenden Farbkontrast haben."},"color-contrast":{"description":"Stellt sicher, dass der Kontrast zwischen Vorder- und Hintergrundfarbe den in der WCAG 2 als AA ausgewiesenen Kontrastgrenzwerten entspricht.","help":"Elemente müssen einen ausreichenden Farbkontrast haben."},"css-orientation-lock":{"description":"Stellt sicher, dass der Inhalt nicht nur auf einer sondern auf allen spezifischen Bildschirmausrichtungen angezeigt werden kann.","help":"CSS Media Queries dürfen nicht genutzt werden um die Bildschirmausrichtung zu sperren."},"definition-list":{"description":"Stellt sicher, dass <dl>-Elemente ordnungsgemäß strukturiert sind.","help":"<dl>-Elemente dürfen unmittelbar nur korrekt verschachtelte <dt>- und <dd>-Gruppen, <script>- oder <template>-Elemente enthalten."},"dlitem":{"description":"Stellt sicher, dass <dt> und <dd>-Elemente in einem <dl>-Element enthalten sind.","help":"<dt>- und <dd>-Elemente müssen in einem <dl>-Element enthalten sein."},"document-title":{"description":"Stellt sicher, dass jedes HTML-Dokument ein nichtleeres <title>-Element besitzt.","help":"Dokumente müssen ein <title>-Element besitzen, um die Navigation zu erleichtern."},"duplicate-id-active":{"description":"Stellt sicher, dass jeder Wert des ID-Attributes von aktiven Elemente einzigartig ist.","help":"IDs von aktiven Elementen müssen einzigartig sein."},"duplicate-id-aria":{"description":"Stellt sicher, dass jeder Wert des ID-Attributes, welcher in ARIA und labels genutzt wird einzigartig ist.","help":"IDs, welche in ARIA und Lables genutzt werden, müssen einzigartig sein."},"duplicate-id":{"description":"Stellt sicher, dass der Wert eines id-Attributes einzigartig ist.","help":"Der Wert des id-Attributes muss einzigartig sein."},"empty-heading":{"description":"Stellt sicher, dass Überschriften einen wahrnehmbaren Text beinhalten.","help":"Überschriften dürfen nicht leer sein."},"empty-table-header":{"description":"Stellt sicher, dass Tabellenkopfzeilen einen wahrnehmbaren Text beinhalten.","help":"Tabellenkopfzeilen sollten nicht leer sein."},"focus-order-semantics":{"description":"Stellt sicher, dass Elemente in der Fokusreihenfolge eine geeignete Rolle besitzen.","help":"Elemente in der Fokusreihenfolge benötigen eine Rolle, die für interaktive Elemente geeignet ist."},"form-field-multiple-labels":{"description":"Stellt sicher, dass ein form-Feld nur ein label-Element besitzt.","help":"form-Felder sollten nur ein label-Element besitzen."},"frame-focusable-content":{"description":"Stellt sicher, dass <frame>- und <iframe>-Elemente mit fokussierbarem Inhalt keinen tabindex=-1 haben.","help":"Frames mit fokussierbarem Inhalt dürfen keinen tabindex=-1 haben."},"frame-tested":{"description":"Stellt sicher, dass <iframe> und <frame>-Elemente das axe-core Script beinhalten.","help":"Frames müssen mit axe-core getestet werden."},"frame-title-unique":{"description":"Stellt sicher, dass <iframe> und <frame>-Elemente ein einzigartiges title-Attribut besitzen.","help":"Frames müssen ein einzigartiges title-Attribut besitzen."},"frame-title":{"description":"Stellt sicher, dass <iframe> und <frame>-Elemente ein nichtleeres title-Attribut besitzen.","help":"Frames müssen ein nichtleeres title-Attribut besitzen."},"heading-order":{"description":"Stellt sicher, dass Überschriften in der semantisch korrekten Reihenfolge sind.","help":"Überschriftenebenen sollten nur jeweils um eins steigen."},"hidden-content":{"description":"Informiert den Nutzer über versteckten Inhalt.","help":"Versteckter Inhalt auf der Seite konnte nicht analysiert werden."},"html-has-lang":{"description":"Stellt sicher, dass jedes HTML Dokument ein lang-Attribut besitzt.","help":"Das <html>-Element muss ein lang-Attribut besitzen."},"html-lang-valid":{"description":"Stellt sicher, dass das lang-Attribut des <html>-Elements einen validen Wert besitzt.","help":"Das <html>-Element muss einen gültigen Attributwert für das lang-Attribut besitzen."},"html-xml-lang-mismatch":{"description":"Stellt sicher, dass HTML Elemente mit validen lang und xml:lang Attributen dieselbe Angabe über die Sprache machen.","help":"HTML Elemente mit lang und xml:lang Attributen müssen dieselbe Sprache ausweisen."},"identical-links-same-purpose":{"description":"Stellt sicher, dass Links mit dem selben zugänglichen Namen (accessible name) denselben Zweck folgen.","help":"Links mit dem selben zugänglichen Namen (accessible name) verfolgen denselben Zweck."},"image-alt":{"description":"Stellt sicher, dass <img>-Elemente einen Alternativtext oder eine ARIA-Rolle mit dem Wert none oder presentation besitzen.","help":"Abbildungen müssen einen Alternativtext besitzen."},"image-redundant-alt":{"description":"Stellt sicher, dass Alternativtexte von Bildern nicht als Text wiederholt werden.","help":"Der Alternativtext von Bildern sollte nicht als Text wiederholt werden."},"input-button-name":{"description":"Stellt sicher, dass Eingabeschaltflächen wahrnehmbaren Text beinhalten.","help":"Eingabeschaltflächen müssen wahrnehmbaren Text beinhalten."},"input-image-alt":{"description":"Stellt sicher, dass <input type=\\"image\\">-Elemente einen Alternativtext besitzen.","help":"<input type=\\"image\\">-Elemente müssen einen Alternativtext besitzen."},"label-content-name-mismatch":{"description":"Stellt sicher, dass Elemente, die durch ihren Inhalt beschrieben sind, auch ihren sichtbaren Text als Teil des zugänglichen Namens (accessible name) haben.","help":"Elemente müssen ihren sichtbaren Text auch als Teil des zugänglichen Namens (accessible name) haben."},"label-title-only":{"description":"Stellt sicher, dass jedes <form>-Element nicht ausschließlich durch ein title oder aria-describedby-Attribut beschrieben sind.","help":"<form>-Elemente sollten eine sichtbare Beschriftung haben."},"label":{"description":"Stellt sicher, dass jedes <form>-Element über eine Beschriftung verfügt.","help":"<form>-Elemente müssen eine Beschriftung haben."},"landmark-banner-is-top-level":{"description":"Stellt sicher, dass die banner landmark sich auf der obersten Ebene befindet.","help":"Banner landmark muss sich auf der obersten Ebene befinden."},"landmark-complementary-is-top-level":{"description":"Stellt sicher, dass die ergänzende landmark oder aside sich auf dem höchsten Level befindet.","help":"Das aside-Elemente darf sich nicht in einer anderen landmark befinden."},"landmark-contentinfo-is-top-level":{"description":"Stellt sicher, dass die contentinfo landmark sich auf der obersten Ebene befindet.","help":"Contentinfo landmark muss sich auf der obersten Ebene befinden."},"landmark-main-is-top-level":{"description":"Stellt sicher, dass die main landmark sich auf der obersten Ebene befindet.","help":"Main landmark ist nicht auf der obersten Ebene."},"landmark-no-duplicate-banner":{"description":"Stellt sicher, dass das Dokument höchstens eine banner landmark besitzt.","help":"Das Dokument sollte höchstens eine banner landmark enthalten."},"landmark-no-duplicate-contentinfo":{"description":"Stellt sicher, dass das Dokument höchstens eine contentinfo landmark besitzt.","help":"Das Dokument sollte höchstens eine contentinfo landmark enthalten."},"landmark-no-duplicate-main":{"description":"Stellt sicher, dass das Dokument höchstens eine main landmark besitzt.","help":"Das Dokument sollte nur eine main landmark besitzen."},"landmark-one-main":{"description":"Stellt sicher, dass das Dokument eine main landmark besitzt.","help":"Seite muss eine main landmark enthalten."},"landmark-unique":{"description":"Stellt sicher, dass landmarks einzigartig sind.","help":"Landmarks müssen eine einzigartige role oder role/label/title Kombination (bzw. zugänglicher Name / accessible name) besitzen."},"link-in-text-block":{"description":"Stellt sicher, dass Links vom umgebenden Text nicht allein durch die Farbe unterschieden werden können.","help":"Links müssen vom umgebenden Text auf eine Weise unterschieden werden können, die nicht allein auf Farbe beruht."},"link-name":{"description":"Stellt sicher, dass Links wahrnehmbaren Text beinhalten.","help":"Links müssen wahrnehmbaren Text beinhalten."},"list":{"description":"Stellt sicher, dass Listen korrekt strukturiert sind.","help":"<ul>- und <ol>-Elemente dürfen unmittelbar nur <li>-, <script>- oder <template>-Elemente enthalten."},"listitem":{"description":"Stellt sicher, dass <li>-Elemente semantisch korrekt verwendet werden.","help":"<li>-Elemente müssen in einem <ul>- oder <ol>-Element enthalten sein."},"marquee":{"description":"Stellt sicher, dass <marquee>-Elemente nicht verwendet werden.","help":"<marquee>-Elemente sind veraltet und dürfen nicht verwendet werden."},"meta-refresh-no-exceptions":{"description":"Stellt sicher, dass <meta http-equiv=\\"refresh\\"> nicht für die verzögerte Aktualisierung verwendet wird.","help":"Die verzögerte Aktualisierung darf nicht verwendet werden."},"meta-refresh":{"description":"Stellt sicher, dass <meta http-equiv=\\"refresh\\"> nicht verwendet werden.","help":"Eine zeitgesteuerte Aktualisierung (refresh) sollte nicht verwendet werden."},"meta-viewport-large":{"description":"Stellt sicher, dass <meta name=\\"viewport\\"> nicht verhindert, dass ein signifikanter Zoom verwendet werden kann.","help":"Benutzer sollten in der Lage sein, den Text um bis zu 500% vergrößern und skalieren zu können."},"meta-viewport":{"description":"Stellt sicher, dass <meta name=\\"viewport\\"> Textskalierung und -zoom nicht verhindert werden.","help":"Zoomen und Skalieren darf nicht deaktiviert werden."},"nested-interactive":{"description":"Stellt sicher, dass interaktive Steuerelemente nicht verschachtelt (nested) sind, da sie nicht immer von Bildschirmlesegeräten angezeigt werden oder Probleme bei der Fokussierung von Hilfstechnologien verursachen können.","help":"Interaktive Steuerelemente dürfen nicht verschachtelt (nested) werden."},"no-autoplay-audio":{"description":"Stellt sicher, dass <video> oder <audio> Elemente keine Töne automatisch abspielen für mehr als 3 Sekunden (autoplay) ohne eine Möglichkeit dies zu stoppen.","help":"<video> oder <audio> Elemente geben keine Töne automatisch aus."},"object-alt":{"description":"Stellt sicher, dass <object>-Elemente einen Alternativtext besitzen.","help":"<object>-Elemente müssen einen Alternativtext besitzen."},"p-as-heading":{"description":"Stellt sicher, dass <p>-Elemente nicht dafür verwendet werden um Überschriften zu formatieren.","help":"Die Schriftschnitte bold und italic sowie die Schriftgröße dürfen nicht verwendet werden, um <p>-Elemente wie Überschriften zu formatieren."},"page-has-heading-one":{"description":"Stellt sicher, dass die Seite oder zumindest eins der frame-Elemente eine Überschrift der ersten Ebene enthalten.","help":"Die Seite muss eine Überschrift der ersten Ebene enthalten."},"presentation-role-conflict":{"description":"Elemente mit role=\\"none\\" oder role=\\"presentation\\" sollten kein globales ARIA-Attribute besitzen oder fokussierbar sein, damit sie von Screenreadern ignoriert werden.","help":"Elemente mit \\"role=none\\" oder \\"role=presentation\\" sollen von Screenreadern ignoriert werden."},"region":{"description":"Stellt sicher, dass jeglicher Inhalt in einer landmark region enthalten ist.","help":"Inhalte sollten in einer landmark region enthalten sein."},"role-img-alt":{"description":"Stellt sicher, dass [role='img'] Elemente einen Alternativ Text besitzen.","help":"[role='img'] Elemente haben ein Alternativtext."},"scope-attr-valid":{"description":"Stellt sicher, dass das scope-Attribut bei Tabellen korrekt verwendet wird.","help":"Das scope-Attribut sollte korrekt verwendet werden."},"scrollable-region-focusable":{"description":"Elemente, welche scrollbaren Inhalt besitzen sollten durch die Tastatur erreichbar und bedienbar sein.","help":"Scrollbare Regionen müssen per Tastatur erreichbar sein."},"select-name":{"description":"Stellt sicher, dass <select> Elemente einen zugänglichen Namen (accessible name) besitzen.","help":"<select> Elemente müssen einen zugänglichen Namen (accessible name) besitzen."},"server-side-image-map":{"description":"Stellt sicher, dass serverseitige Imagemaps nicht verwendet werden.","help":"Serverseitige Imagemaps dürfen nicht verwendet werden."},"skip-link":{"description":"Stellt sicher, dass alle Skip-Links ein fokussierbares Ziel enthalten.","help":"Das Ziel eines Skip-Links sollte existieren und fokussierbar sein."},"summary-name":{"description":"Stellt sicher, dass die summary-Elemente einen erkennbaren Text haben","help":"summary-Elemente müssen einen erkennbaren Text haben"},"svg-img-alt":{"description":"Stellt sicher, dass <svg> Elemente mit einer img, graphics-document oder graphics-symbol Rolle einen zugänglichen Namen (accessible name) besitzen.","help":"<svg> Elemente mit einer img Rolle sollten einen Alternativtext besitzen."},"tabindex":{"description":"Stellt sicher, dass keine tabindex-Attribute mit einem Wert größer als null verwendet werden.","help":"Elemente sollten keinen tabindex besitzen, der größer als null ist."},"table-duplicate-name":{"description":"Stellt sicher, dass Tabellen nicht den gleichen Text im <caption>-Element wie im summary-Attribut enthalten.","help":"Das <caption>-Element sollte nicht den gleichen Text wie das summary-Attribut enthalten."},"table-fake-caption":{"description":"Stellt sicher, dass Tabellen mit einer Beschriftung auch das <caption>-Element verwenden.","help":"Daten- oder Kopfzellen sollten nicht verwendet werden, um einer Datentabelle eine Überschrift zu geben."},"target-size":{"description":"Stellt sicher, dass Berührungsobjekte (touch targets) ausreichend groß sind und genügend Platz bieteen.","help":"Alle Berührungsobjekte (touch targets) müssen 24 Pixel groß sein oder ausreichend Platz lassen."},"td-has-header":{"description":"Stellt sicher, dass jede nichtleere Zelle einer Tabelle ein oder mehrere Tabellenköpfe haben.","help":"In Tabellen, die größer als 3 mal 3 sind, müssen alle nichtleeren <td>-Elemente einen zugehörigen Tabellenkopf haben."},"td-headers-attr":{"description":"Stellt sicher, dass jede Zelle in einer Tabelle, welche das headers-Attribut verwendet, sich nur auf andere Zellen derselben Tabelle beziehen.","help":"Innerhalb eines <table>-Elementes dürfen sich Zellen, die das headers-Attribut verwenden, nur auf andere Zellen derselben Tabelle beziehen."},"th-has-data-cells":{"description":"Stellt sicher, dass jeder Tabellenkopf in einer Datentabelle sich auf Datenzellen bezieht.","help":"Alle <th>-Elemente sowie Elemente mit role=columnheader/rowheader müssen Datenzellen haben, die sie beschreiben."},"valid-lang":{"description":"Stellt sicher, dass lang-Attribute gültige Werte haben.","help":"Das lang-Attribut muss einen gültigen Wert haben."},"video-caption":{"description":"Stellt sicher, dass <video>-Elemente Untertitel besitzen.","help":"<video>-Elemente müssen Untertitel besitzen."}}`),checks:JSON.parse('{"abstractrole":{"pass":"abstract Rolle wird nicht verwendet.","fail":{"singular":"abstract Rolle kann nicht so verwendet werden: ${data.values}","plural":"abstract Rollen können nicht so verwendet werden: ${data.values}"}},"aria-allowed-attr":{"pass":"ARIA-Attribute werden korrekt für die definierte Rolle verwendet.","fail":{"singular":"Folgendes ARIA Attribut ist nicht erlaubt: ${data.values}","plural":"Folgende ARIA Attribute sind nicht erlaubt: ${data.values}"},"incomplete":"Prüfe, dass es kein Problem gibt, wenn das ARIA-Attribut bei diesem Element ignoriert wird: ${data.values}"},"aria-allowed-role":{"pass":"ARIA Rolle ist für dieses Element erlaubt.","fail":{"singular":"ARIA Rolle ${data.values} ist nicht für dieses Element erlaubt.","plural":"ARIA Rollen ${data.values} sind nicht für dieses Element erlaubt."},"incomplete":{"singular":"ARIA Rolle ${data.values} muss entfernt werden, wenn das Element sichtbar wird, da es nicht für dieses Element erlaubt ist.","plural":"ARIA Rollen ${data.values} müssen entfernt werden, wenn das Element sichtbar wird, da sie nicht für dieses Element erlaubt sind."}},"aria-busy":{"pass":"Element hat ein aria-busy-Attribut.","fail":"Element verwendet aria-busy=\\"true\\" bei der Anzeige eines Ladevorgangs (loader)."},"aria-conditional-attr":{"pass":"ARIA-Attribut ist erlaubt.","fail":{"checkbox":"Entferne aria-checked, oder setze es auf \\"${data.checkState}\\", damit es dem tatsächlichen Zustand des Kontrollkästchens entspricht.","rowSingular":"Dieses Attribut wird bei treegrid-Zeilen unterstützt, aber nicht bei ${data.ownerRole}: ${data.invalidAttrs}.","rowPlural":"Diese Attribute werden von treegrid-Zeilen unterstützt, aber nicht von ${data.ownerRole}: ${data.invalidAttrs}"}},"aria-errormessage":{"pass":"aria-errormessage Attribut existiert und referenziert Elemente, die sichtbar für Screen Reader sind, welche die entsprechende Technologie unterstützen.","fail":{"singular":"aria-errormessage Wert `${data.values}` benötigt eine Möglichkeit um entsprechend vorgeschlagen zu werden (z.B. aria-live, aria-describedby, role=alert, usw.).","plural":"aria-errormessage Werte `${data.values}` benötigen eine Möglichkeit um entsprechend vorgeschlagen zu werden (z.B. aria-live, aria-describedby, role=alert, usw.).","hidden":"aria-errormessage Wert `${data.values}` kann nicht auf ein verstecktes Element verweisen."},"incomplete":{"singular":"Stellt sicher, dass aria-errormessage Wert `${data.values}` auf ein existierendes Element verweist.","plural":"Stellt sicher, dass aria-errormessage Werte `${data.values}` zu existierenden Elementen verweisen.","idrefs":"Es konnte nicht festgestellt werden, ob das Element aria-errormessage auf der Seite existiert: ${data.values}"}},"aria-hidden-body":{"pass":"Kein aria-hidden Attribut ist im <body>-Element des Dokuments vorhanden.","fail":"Das <body>-Element des Dokumentes darf nicht das Attribut aria-hidden=\\"true\\" besitzen."},"aria-level":{"pass":"aria-level Werte sind gültig.","incomplete":"Aria-Level Werte größer als 6 werden nicht von allen Screenreader- und Browser-Kombinationen unterstützt."},"aria-prohibited-attr":{"pass":"ARIA-Attribut ist erlaubt","fail":{"hasRolePlural":"${data.prohibited} Attribute können nicht mit der Rolle \\"${data.role}\\" verwendet werden.","hasRoleSingular":"${data.prohibited} Attribut kann nicht mit der Rolle \\"${data.role}\\" verwendet werden.","noRolePlural":"${data.prohibited} Attribute können nicht auf ${data.nodeName} ohne gültiges role Attribut verwendet werden.","noRoleSingular":"${data.prohibited} Attribut kann nicht auf ${data.nodeName} ohne gültiges role Attribut verwendet werden."},"incomplete":{"hasRoleSingular":"${data.prohibited} Attribut wird von der Rolle \\"${data.role}\\" nicht gut unterstützt.","hasRolePlural":"${data.prohibited} Attribute werden von der Rolle \\"${data.role}\\" nicht gut unterstützt.","noRoleSingular":"${data.prohibited} Attribut wird bei ${data.nodeName} ohne gültiges role Attribute nicht gut unterstützt.","noRolePlural":"${data.prohibited} Attribute werdeb bei ${data.nodeName} ohne gültiges role Attribute nicht gut unterstützt."}},"aria-required-attr":{"pass":"Alle benötigten ARIA-Attribute sind vorhanden.","fail":{"singular":"Benötigtes ARIA Attribut nicht vorhanden: ${data.values}","plural":"Benötigte ARIA Attribute nicht vorhanden: ${data.values}"}},"aria-required-children":{"pass":{"default":"Alle benötigten ARIA Kinder sind vorhanden.","aria-busy":"Element hat ein aria-busy-Attribut, daher ist es erlaubt, erforderliche ARIA Kinder wegzulassen"},"fail":{"singular":"Benötigte ARIA Kindrolle nicht vorhanden: ${data.values}","plural":"Benötigte ARIA Kindrollen nicht vorhanden: ${data.values}","unallowed":"Element hat Kinder, die nicht erlaubt sind: ${data.values}"},"incomplete":{"singular":"Entsprechende ARIA Kindrolle muss hinzugefügt werden: ${data.values}","plural":"Entsprechende ARIA Kindrollen müssen hinzugefügt werden: ${data.values}"}},"aria-required-parent":{"pass":"Alle ARIA Elternrollen sind vorhanden.","fail":{"singular":"Benötigte ARIA Elternrolle nicht vorhanden: ${data.values}","plural":"Benötigte ARIA Elternrollen nicht vorhanden: ${data.values}"}},"aria-roledescription":{"pass":"aria-roledescription mit einer unterstützten semantischen Rolle verwendet.","incomplete":"Es sollte überprüft werden ob aria-roledescription von einem Screenreader vorgelesen wird.","fail":"Das Element muss mit einer Rolle, welche aria-roledescription unterstützt, versehen werden."},"aria-unsupported-attr":{"pass":"ARIA Attribut wird unterstützt","fail":"ARIA Attribut ist nicht allgemein in Screenreadern und anderen assistiven Technologien unterstützt: ${data.values}"},"aria-valid-attr-value":{"pass":"ARIA Attributwerte sind gültig.","fail":{"singular":"Ungültiger Wert des ARIA Attributes ${data.values}","plural":"Ungültige Werte der ARIA Attribute: ${data.values}"},"incomplete":{"noId":"Verwendete ID im ARIA Attribut existiert nicht auf der Seite: ${data.needsReview}","noIdShadow":"ARIA-Attribut Element-ID existiert nicht auf der Seite oder ist ein Nachkomme (descendant) eines anderen Schatten-DOM-tree: ${data.needsReview}","ariaCurrent":"Folgendes ARIA Attributwert ist ungültig und wird wie \\"aria-current=true\\" gesehen: ${data.needsReview}","idrefs":"Es konnte nicht festgestellt werden, ob das ARIA-Attribut element ID auf der Seite existiert: ${data.needsReview}","empty":"ARIA-Attributwert wird ignoriert, wenn leer: ${data.needsReview}","controlsWithinPopup":"Bei der Verwendung von aria-haspopup konnte nicht festgestellt werden, ob die von aria-controls referenzierte ID auf der Seite existiert: ${data.needsReview}"}},"aria-valid-attr":{"pass":"Alle ARIA Attributnamen sind gültig.","fail":{"singular":"Ungültige ARIA Attribut Name: ${data.values}","plural":"Ungültige ARIA Attribut Namen: ${data.values}"}},"braille-label-equivalent":{"pass":"aria-braillelabel wird für ein Element mit zugänglichem Text verwendet.","fail":"aria-braillelabel wird für ein Element ohne zugänglichen Text verwendet.","incomplete":"Zugänglicher Text kann nicht berechnet werden."},"braille-roledescription-equivalent":{"pass":"aria-brailleroledescription wird für ein Element mit aria-roledescription verwendet.","fail":{"noRoleDescription":"aria-brailleroledescription wird für ein Element ohne aria-roledescription verwendet.","emptyRoleDescription":"aria-brailleroledescription wird für ein Element mit einer leeren aria-roledescription verwendet."}},"deprecatedrole":{"pass":"ARIA Rolle ist nicht veraltet.","fail":"Die verwendete Rolle ist veraltet: ${data}"},"fallbackrole":{"pass":"Nur ein Wert für role genutzt.","fail":"Es sollte nur ein Wert für role benutzt werden, da Fallback-Werte in älteren Browsern nicht unterstützt werden.","incomplete":"Verwende nur die Rolle \'presentation\' oder \'none\', da sie synonym sind."},"has-global-aria-attribute":{"pass":{"singular":"Element hat globales ARIA Attribut: ${data.values}","plural":"Element hat globale ARIA Attribute: ${data.values}"},"fail":"Das Element hat keine globalen ARIA Attribute."},"has-widget-role":{"pass":"Element hat eine widget-Rolle.","fail":"Das Element besitzt keine widget-Rolle."},"invalidrole":{"pass":"ARIA Rolle ist gültig.","fail":{"singular":"Folgende Rolle muss eine von den validen ARIA Rollen sein: ${data.values}","plural":"Folgende Rollen müssen jeweils eine von den validen ARIA Rollen sein: ${data.values}"}},"is-element-focusable":{"pass":"Element ist fokussierbar.","fail":"Element ist nicht fokussierbar."},"no-implicit-explicit-label":{"pass":"Kein Unterschied zwischen dem <label> und dem zugänglichen Namen (accessible name).","incomplete":"Überprüfe, dass das <label> nicht Teil des ARIA ${data} Feldnamens ist."},"unsupportedrole":{"pass":"ARIA Rolle wird unterstützt.","fail":"Folgende Rollen werden nicht allgemein in Screenreadern und assistiven Technologien unterstützt: ${data.values}"},"valid-scrollable-semantics":{"pass":"Das Element hat eine gültige Semantik für ein Element in der Fokusreihenfolge.","fail":"Das Element hat eine ungültige Semantik für ein Element in der Fokusreihenfolge."},"color-contrast-enhanced":{"pass":"Das Element hat einen ausreichenden Kontrast von ${data.contrastRatio}.","fail":{"default":"Das Element hat einen unzureichenden Kontrast von ${data.contrastRatio} (Vordergrundfarbe: ${data.fgColor}, Hintergrundfarbe: ${data.bgColor}, Schriftgröße: ${data.fontSize}, Schriftstärke: ${data.fontWeight}). Erwartetes Kontrastverhältnis von ${data.expectedContrastRatio}","fgOnShadowColor":"Das Element hat einen unzureichenden Kontrast von ${data.contrastRatio} zwischen der Vordergrund- und der Schattenfarbe (Vordergrundfarbe: ${data.fgColor}, Textschattenfarbe: ${data.shadowColor}, Schriftgröße: ${data.fontSize}, Schriftstärke: ${data.fontWeight}). Erwartetes Kontrastverhältnis von ${data.expectedContrastRatio}","shadowOnBgColor":"Das Element hat einen unzureichenden Kontrast von ${data.contrastRatio} zwischen der Schattenfarbe und der Hintergrundfarbe (Textschattenfarbe: ${data.shadowColor}, Hintergrundfarbe: ${data.bgColor}, Schriftgröße: ${data.fontSize}, Schriftstärke: ${data.fontWeight}). Erwartetes Kontrastverhältnis von ${data.expectedContrastRatio}"},"incomplete":{"default":"Das Kontrastverhältnis konnte nicht ermittelt werden.","bgImage":"Die Hintergrundfarbe des Elementes konnte aufgrund eines Hintergrundbildes nicht bestimmt werden.","bgGradient":"Die Hintergrundfarbe des Elementes konnte aufgrund eines Hintergrundfarbverlaufes nicht bestimmt werden.","imgNode":"Die Hintergrundfarbe des Elementes konnte nicht bestimmt werden, da das Element einen Image Node enthält.","bgOverlap":"Die Hintergrundfarbe des Elementes konnte nicht bestimmt werden, da es von einem anderen Element überlagert wird.","fgAlpha":"Die Vordergrundfarbe des Elementes konnte aufgrund der Alpha-Transparenz nicht ermittelt werden.","elmPartiallyObscured":"Die Hintergrundfarbe des Elements konnte nicht bestimmt werden, da es teilweise von anderen Elementen überdeckt wird.","elmPartiallyObscuring":"Die Hintergrundfarbe des Elements konnte nicht bestimmt werden, da es teilweise andere Elemente überdeckt.","outsideViewport":"Die Hintergrundfarbe des Elements konnte nicht bestimmt werden, da es sich außerhalb des Viewports befindet.","equalRatio":"Das Element hat einen 1:1 Kontrast mit der Hintergrundfarbe.","shortTextContent":"Der Inhalt des Elements ist zu kurz um zu bestimmen ob es sich wirklich um Textinhalt handelt.","nonBmp":"Das Element enthält ausschließlich Nicht-Text Zeichen.","pseudoContent":"Die Hintergrundfarbe konnte aufgrund eines pseudo Elementes nicht bestimmt werden."}},"color-contrast":{"pass":{"default":"Das Element hat einen ausreichenden Kontrast von ${data.contrastRatio}.","hidden":"Das Element ist versteckt."},"fail":{"default":"Das Element hat einen unzureichenden Kontrast von ${data.contrastRatio} (Vordergrundfarbe: ${data.fgColor}, Hintergrundfarbe: ${data.bgColor}, Schriftgröße: ${data.fontSize}, Schriftstärke: ${data.fontWeight}). Erwartetes Kontrastverhältnis von ${data.expectedContrastRatio}","fgOnShadowColor":"Das Element hat einen unzureichenden Kontrast von ${data.contrastRatio} zwischen der Vordergrund- und der Schattenfarbe (Vordergrundfarbe: ${data.fgColor}, Textschattenfarbe: ${data.shadowColor}, Schriftgröße: ${data.fontSize}, Schriftstärke: ${data.fontWeight}). Erwartetes Kontrastverhältnis von ${data.expectedContrastRatio}","shadowOnBgColor":"Das Element hat einen unzureichenden Kontrast von ${data.contrastRatio} zwischen der Schattenfarbe und der Hintergrundfarbe (Textschattenfarbe: ${data.shadowColor}, Hintergrundfarbe: ${data.bgColor}, Schriftgröße: ${data.fontSize}, Schriftstärke: ${data.fontWeight}). Erwartetes Kontrastverhältnis von ${data.expectedContrastRatio}"},"incomplete":{"default":"Das Kontrastverhältnis konnte nicht ermittelt werden.","bgImage":"Die Hintergrundfarbe des Elementes konnte aufgrund eines Hintergrundbildes nicht bestimmt werden.","bgGradient":"Die Hintergrundfarbe des Elementes konnte aufgrund eines Hintergrundfarbverlaufes nicht bestimmt werden.","imgNode":"Die Hintergrundfarbe des Elementes konnte nicht bestimmt werden, da das Element einen Image Node enthält.","bgOverlap":"Die Hintergrundfarbe des Elementes konnte nicht bestimmt werden, da es von einem anderen Element überlagert wird.","complexTextShadows":"Der Kontrast des Elements konnte nicht bestimmt werden, da es komplexe Textschatten verwendet.","fgAlpha":"Die Vordergrundfarbe des Elementes konnte aufgrund der Alpha-Transparenz nicht ermittelt werden.","elmPartiallyObscured":"Die Hintergrundfarbe des Elements konnte nicht bestimmt werden, da es teilweise von anderen Elementen überdeckt wird.","elmPartiallyObscuring":"Die Hintergrundfarbe des Elements konnte nicht bestimmt werden, da es teilweise andere Elemente überdeckt.","outsideViewport":"Die Hintergrundfarbe des Elements konnte nicht bestimmt werden, da es sich außerhalb des Viewports befindet.","equalRatio":"Das Element hat einen 1:1 Kontrast mit der Hintergrundfarbe.","shortTextContent":"Der Inhalt des Elements ist zu kurz um zu bestimmen ob es sich wirklich um Textinhalt handelt.","nonBmp":"Das Element enthält ausschließlich Nicht-Text Zeichen.","pseudoContent":"Die Hintergrundfarbe konnte aufgrund eines pseudo Elementes nicht bestimmt werden."}},"link-in-text-block-style":{"pass":"Links können durch visuelle Gestaltung vom umgebenden Text unterschieden werden.","incomplete":{"default":"Prüfe, ob der Link ein Styling benötigt, um sich vom umgebenden Text zu unterscheiden.","pseudoContent":"Prüfe, ob der Pseudostil des Links ausreicht, um ihn vom umgebenden Text zu unterscheiden."},"fail":"Der Link hat kein Styling (z.B. Unterstreichung), um ihn vom umgebenden Text zu unterscheiden."},"link-in-text-block":{"pass":"Links können vom umgebenenden Text auf unterschiedliche Art und Weise unterschieden werden.","fail":{"fgContrast":"Der Link hat einen unzureichenden Kontrast von ${data.contrastRatio}:1 mit dem umgebenden Text (Mindestkontrast ist ${data.requiredContrastRatio}:1, Linktext: ${data.nodeColor}, umgebender Text: ${data.parentColor}).","bgContrast":"Der Link-Hintergrund hat einen unzureichenden Kontrast von ${data.contrastRatio} (Mindestkontrast ist ${data.requiredContrastRatio}:1, Link-Hintergrundfarbe: ${data.nodeBackgroundColor}, umgebende Hintergrundfarbe: ${data.parentBackgroundColor})."},"incomplete":{"default":"Das Kontrastverhältnis konnte nicht ermittelt werden.","bgContrast":"Das Kontrastverhältnis des Elements konnte nicht bestimmt werden. Suchen Sie nach einem bestimmten Hover/Fokus-Stil.","bgImage":"Das Kontrastverhältnis des Elements konnte aufgrund eines Hintergrundbildes nicht bestimmt werden.","bgGradient":"Das Kontrastverhältnis des Elements konnte aufgrund eines Hintergrundfarbverlaufes nicht bestimmt werden.","imgNode":"Das Kontrastverhältnis des Elements konnte nicht bestimmt werden, da das Element einen Image Node enthält.","bgOverlap":"Das Kontrastverhältnis des Elements konnte aufgrund einer Überlagerung nicht bestimmt werden."}},"autocomplete-appropriate":{"pass":"Der Wert des autocomplete Attributes ist für diese Art des Eingabefeldes geeignet.","fail":"Der Wert des autocomplete Attributes ist für diese Art des Eingabefeldes nicht geeignet."},"autocomplete-valid":{"pass":"Der Wert des autocomplete Attributes ist korrekt formatiert.","fail":"Der Wert des autocomplete Attributes ist inkorrekt formatiert.","incomplete":"Der Wert des autocomplete Attributes hat einen Nicht-Standardwert. Prüfe, ob stattdessen ein Standardwert verwendet werden kann."},"accesskeys":{"pass":"Alle accesskey-Attribute sind einzigartig.","fail":"Das Dokument enthält mehrere Elemente mit dem gleichen accesskey-Attribut."},"focusable-content":{"pass":"Das Element beeinhaltet fokussierbaren Inhalt.","fail":"Das Element beeinhaltet keinen fokussierbaren Inhalt."},"focusable-disabled":{"pass":"Das Element beeinhaltet keinen fokussierbaren Inhalt.","incomplete":"Prüfe, ob die fokussierbaren Elemente den Fokusindikator sofort bewegen.","fail":"Fokussierbarer Inhalt sollte deaktiviert oder vom DOM entfernt werden."},"focusable-element":{"pass":"Element ist fokussierbar.","fail":"Element sollte fokussierbar sein."},"focusable-modal-open":{"pass":"Keine fokussierbaren Elemente während ein modaler Dialog offen ist.","incomplete":"Überprüfe ob Elemente während des derzeitigen Status fokussierbar sind."},"focusable-no-name":{"pass":"Das Element befindet sich nicht in der Tabreihenfolge und enthält keinen zugänglichen Text.","fail":"Das Element befindet sich in der Tabreihenfolge und enthält keinen zugänglichen Text.","incomplete":"Es ist nicht möglich herauszufinden ob Element einen zugänglichen Namen (accessible name) besitzt."},"focusable-not-tabbable":{"pass":"Keine fokussierbaren Elemente innerhalb des Elements.","incomplete":"Prüfe, ob die fokussierbaren Elemente den Fokusindikator sofort bewegen.","fail":"Fokussierbare Elemente sollten mit tabindex=\'-1\' versehen oder vom DOM entfernt werden."},"frame-focusable-content":{"pass":"Element hat keine fokussierbaren Nachkommen (descendants).","fail":"Element hat fokussierbare Nachkommen (descendants).","incomplete":"Es konnte nicht festgestellt werden, ob das Element Nachkommen (descendants) hat."},"landmark-is-top-level":{"pass":"Die ${data.role} landmark befindet sich auf höchster Ebene.","fail":"Die ${data.role} landmark befindet sich innerhalb einer anderen landmark."},"no-focusable-content":{"pass":"Element hat keine fokussierbaren Nachkommen (descendants).","fail":{"default":"Element hat fokussierbare Nachkommen (descendants).","notHidden":"Die Verwendung eines negativen Tabindex für ein Element innerhalb eines interaktiven Steuerelements verhindert nicht, dass assistive Technologien das Element fokussieren (selbst bei aria-hidden=\\"true\\")"},"incomplete":"Es konnte nicht festgestellt werden, ob das Element Nachkommen (descendants) hat."},"page-has-heading-one":{"pass":"Die Seite besitzt mindestens eine Überschrift der ersten Ebene.","fail":"Die Seite muss eine Überschrift erster Ebene besitzen."},"page-has-main":{"pass":"Die Seite besitzt eine main landmark.","fail":"Die Seite muss eine main landmark besitzen."},"page-no-duplicate-banner":{"pass":"Das Dokument besitzt nicht mehr als eine banner landmark.","fail":"Das Dokument besitzt mehr als eine banner landmark."},"page-no-duplicate-contentinfo":{"pass":"Das Dokument besitzt nicht mehr als eine contentinfo landmark.","fail":"Das Dokument besitzt mehr als eine contentinfo landmark."},"page-no-duplicate-main":{"pass":"Das Dokument besitzt nicht mehr als eine main landmark.","fail":"Das Dokument besitzt mehr als eine main landmark."},"tabindex":{"pass":"Das Element besitzt einen tabindex-Attributwert der nicht größer als 0 ist.","fail":"Das Element besitzt einen tabindex-Attributwert größer als 0."},"alt-space-value":{"pass":"Element hat ein valides alt Attribut.","fail":"Element hat ein alt Attribut, welches ausschließlich Leerzeichen beeinhaltet, die jedoch nicht durch Screenreader ignoriert werden."},"duplicate-img-label":{"pass":"Das Element besitzt einen Alternativtext der anderweitig vorhanden Text nicht wiederholt.","fail":"Das Element besitzt ein <img>-Element mit Alternativtext, der vorhandenen Text wiederholt."},"explicit-label":{"pass":"Das <form>-Element besitzt ein explizites <label>.","fail":"Das <form>-Element besitzt kein explizites <label>.","incomplete":"Es ist nicht möglich herauszufinden ob das <form> Element ein explizites <label> besitzt."},"help-same-as-label":{"pass":"Der Hilfstext (title oder aria-describedby) dupliziert den label-Text nicht.","fail":"Der Hilfstext (angegeben durch ein title- oder aria-describedby-Attribut) wiederholt den label-Text."},"hidden-explicit-label":{"pass":"Das <form> Element besitzt ein sichtbares explizites <label>.","fail":"Das <form> Element besitzt ein <label>, welches nicht sichtbar ist.","incomplete":"Nicht möglich herauszufinden ob <form> Element ein sichtbares <label> besitzt."},"implicit-label":{"pass":"Das <form>-Element besitzt ein implizites (umschlossenes) <label>-Element.","fail":"Das <form>-Element besitzt kein implizites <label>-Element.","incomplete":"Nicht möglich herauszufinden ob das <form> Element ein implizites (umschlossenes) <label> besitzt."},"label-content-name-mismatch":{"pass":"Element beeinhaltet sichtbaren Text als Teil des zugänglichen Namens (accessible name).","fail":"Das Element beeinhaltet Text, welcher nicht Teil des zugänglichen Namens (accessible name) ist."},"multiple-label":{"pass":"Das <form>-Element besitzt keine multiplen <label>-Elemente.","incomplete":"Elemente mit mehreren Labeln werden in assistiven Technologien nicht allgemein unterstützt. Es sollte sichergestellt werden, dass alle relevanten Informationen im ersten Label enthalten sind."},"title-only":{"pass":"Das <form>-Element ist nicht nur lediglich durch ein title-Attribut beschriftet.","fail":"Das <form>-Element ist lediglich durch ein title-Attribut beschriftet."},"landmark-is-unique":{"pass":"Landmarks besitzen eine einzigartige Rolle oder Rollen/Label/Titel (zugänglicher Name / accessible name) Kombination.","fail":"Landmark muss ein einzigartiges aria-label, aria-labelledby oder einen Titel besitzen, um es von anderen zu unterscheiden."},"has-lang":{"pass":"Das <html>-Element besitzt ein lang-Attribut.","fail":{"noXHTML":"Das xml:lang-Attribut ist auf HTML Seiten nicht valide, es sollte das lang-Attribut genutzt werden.","noLang":"Das <html>-Element besitzt kein lang-Attribut."}},"valid-lang":{"pass":"Der Wert des lang-Attributes ist in der Liste der gültigen Sprachen enthalten.","fail":"Der Wert des lang-Attributes ist nicht valide."},"xml-lang-mismatch":{"pass":"Das lang- und xml:lang-Attribut verweisen auf dieselbe Sprache.","fail":"Das lang- und xml:lang-Attribut verweisen nicht auf dieselbe Sprache."},"dlitem":{"pass":"Der Definitionslisteneintrag besitzt ein <dl>-Elternelement.","fail":"Der Definitionslisteneintrag besitzt kein <dl>-Elternelement."},"listitem":{"pass":"Das Aufzählungselement besitzt ein gültiges Elternelement (<ul>, <ol> oder Element mit role=\\"list\\").","fail":{"default":"Aufzählungselement besitzt kein gültiges Elternelement (<ul>, <ol>)","roleNotValid":"Aufzählungselement besitzt kein gültiges Elternelement ohne role-Attribut (<ul>, <ol>) oder mit role=\\"list\\"."}},"only-dlitems":{"pass":"Das Aufzählungselement enthält Kindelemente, welche innerhalb der <dt> oder <dd>-Elemente erlaubt sind.","fail":"Das <dl>-Element enthält unerlaubte Kindelemente."},"only-listitems":{"pass":"Das Aufzählungselement besitzt Kinder, welche innerhalb eines <li>-Elements erlaubt sind.","fail":"Das Aufzählungselement besitzt Kinder, die nicht erlaubt sind: ${data.values}"},"structured-dlitems":{"pass":"Das Definitionslisten-Element enthält sowohl <dt> als auch <dd>-Elemente, falls es nicht leer sein sollte.","fail":"Das Definitionslisten-Element enthält kein <dt>-Element, welches von keinem <dd>-Element gefolgt wird."},"caption":{"pass":"Das Multimedia-Element besitzt eine Untertitelung (captions track).","incomplete":"Für das Element konnte keine Untertitelung (captions track) gefunden werden."},"frame-tested":{"pass":"Das iFrame konnte mit axe-core getestet werden.","fail":"Das iFrame konnte nicht mit axe-core getestet werden.","incomplete":"Das iFrame muss noch mit axe-core getestet werden."},"no-autoplay-audio":{"pass":"Die <video> oder <audio>-Elemente geben keinen Ton über die erlaubte Zeitspanne aus oder haben Kontrollmöglichkeiten.","fail":"Die <video> oder <audio>-Elemente geben Ton über die erlaubte Zeitspanne aus oder haben keine Kontrollmöglichkeiten.","incomplete":"Es sollte überprüft werden, dass <video> oder <audio>-Elemente keinen Ton über die erlaubte Zeitspanne ausgeben oder Kontrollmöglichkeiten haben."},"css-orientation-lock":{"pass":"Display ist bedienbar, und eine CSS-Ausrichtungssperre ist nicht vorhanden.","fail":"CSS-Ausrichtungssperre wird angewendet und macht die Anzeige unbrauchbar.","incomplete":"Der Wert der CSS-Ausrichtungssperre kann nicht ermittelt werden."},"meta-viewport-large":{"pass":"Der <meta>-Tag schränkt das Zoomen nicht ein.","fail":"Die viewport-Einstellungen im <meta>-Tag schränken das Zoomen auf mobilen Geräten ein."},"meta-viewport":{"pass":"Der <meta>-Tag blockiert das Zoomen auf mobilen Geräten nicht.","fail":"Die viewport-Einstellungen im <meta>-Tag blockieren das Zoomen auf mobilen Geräten."},"target-offset":{"pass":{"default":"Das Ziel hat genügend Abstand zu seinen nächsten Nachbarn. Der sichere klickbare Bereich hat einen Durchmesser von ${data.closestOffset}px, der mindestens ${data.minOffset}px beträgt.","large":"Das Ziel überschreitet bei weitem die Mindestgröße von ${data.minOffset}px."},"fail":"Das Ziel hat nicht genügend Abstand zu seinen nächsten Nachbarn. Der sichere klickbare Bereich hat einen Durchmesser von ${data.closestOffset}px statt mindestens ${data.minOffset}px.","incomplete":{"default":"Element mit negativem Tabindex hat nicht genügend Abstand zu seinen nächsten Nachbarn. Der sichere klickbare Bereich hat einen Durchmesser von ${data.closestOffset}px statt mindestens ${data.minOffset}px. Ist dies ein Ziel?","nonTabbableNeighbor":"Das Ziel hat nicht genügend Abstand zu seinen nächsten Nachbarn. Der sichere klickbare Bereich hat einen Durchmesser von ${data.closestOffset}px statt mindestens ${data.minOffset}px. Ist der Nachbar ein Ziel?","tooManyRects":"Die Zielgröße konnte nicht ermittelt werden, da zu viele überlappende Elemente vorhanden sind."}},"target-size":{"pass":{"default":"Das Steuerelement hat eine ausreichende Größe (${data.width}px x ${data.height}px, sollte mindestens ${data.minSize}px x ${data.minSize}px sein).","obscured":"Das Steuerelement wird ignoriert, da es vollständig verdeckt ist und daher nicht angeklickt werden kann.","large":"Das Ziel überschreitet bei weitem die Mindestgröße von ${data.minSize}px."},"fail":{"default":"Das Ziel hat eine unzureichende Größe (${data.width}px x ${data.height}px, sollte mindestens ${data.minSize}px x ${data.minSize}px sein).","partiallyObscured":"Das Ziel hat eine unzureichende Größe, weil es teilweise verdeckt ist (der kleinste Platz ist ${data.width}px mal ${data.height}px, sollte mindestens ${data.minSize}px mal ${data.minSize}px sein)."},"incomplete":{"default":"Element mit negativem Tabindex hat unzureichende Größe (${data.width}px mal ${data.height}px, sollte mindestens ${data.minSize}px mal ${data.minSize}px sein). Ist dies ein Ziel?","contentOverflow":"Elementgröße konnte aufgrund von Überlaufinhalten nicht genau bestimmt werden","partiallyObscured":"Element mit negativem Tabindex hat unzureichende Größe, weil es teilweise verdeckt ist (kleinster Platz ist ${data.width}px mal ${data.height}px, sollte mindestens ${data.minSize}px mal ${data.minSize}px sein). Ist dies ein Ziel?","partiallyObscuredNonTabbable":"Das Ziel hat eine unzureichende Größe, weil es teilweise von einem Nachbarn mit negativem Tabindex verdeckt wird (der kleinste Platz ist ${data.width}px mal ${data.height}px, sollte mindestens ${data.minSize}px mal ${data.minSize}px sein). Ist der Nachbar ein Ziel?","tooManyRects":"Die Zielgröße konnte nicht ermittelt werden, da zu viele überlappende Elemente vorhanden sind."}},"header-present":{"pass":"Die Seite besitzt eine Seitenüberschrift.","fail":"Die Seite besitzt keine Seitenüberschrift."},"heading-order":{"pass":"Die Überschriftenstruktur ist gültig.","fail":"Die Überschriftenstruktur ist nicht valide.","incomplete":"Vorherige Überschrift kann nicht ermittelt werden."},"identical-links-same-purpose":{"pass":"Es befinden sich keine Links auf der Seite, welche mit demselben Namen auf dasselbe Ziel verweisen.","incomplete":"Prüfen Sie, ob die Links den gleichen Zweck haben oder absichtlich mehrdeutig sind."},"internal-link-present":{"pass":"Es wurde ein gültiger Skip-Link gefunden.","fail":"Kein gültiger Skip-Link gefunden."},"landmark":{"pass":"Die Seite besitzt eine landmark region.","fail":"Die Seite besitzt keine landmark region."},"meta-refresh-no-exceptions":{"pass":"<meta> Tag aktualisiert die Seite nicht sofort.","fail":"<meta> Tag erzwingt eine zeitgesteuerte Aktualisierung der Seite."},"meta-refresh":{"pass":"Der <meta>-Tag erzwingt keine sofortige Aktualisierung der Seite.","fail":"Der <meta>-Tag erzwingt eine zeitgesteuerte Aktualisierung der Seite."},"p-as-heading":{"pass":"<p>-Elemente werden nicht als Überschriftenelement zweckentfremdet.","fail":"Anstelle eines Überschriftenelementes wird lediglich ein durch Formatierungen hervorgehobenes <p>-Element verwendet.","incomplete":"Es kann nicht festgestellt werden, ob <p>-Elemente als Überschriften gestylt sind."},"region":{"pass":"Jeglicher Inhalt der Seite befindet sich in einer landmark.","fail":"Der Inhalt befindet sich nicht in einer ARIA landmark."},"skip-link":{"pass":"Das Ziel des Skip-Links existiert.","incomplete":"Der Skip-Link sollte bei Aktivierung sichtbar werden.","fail":"Es existiert kein Ziel für den Skip-Link."},"unique-frame-title":{"pass":"Das title-Attribut des Elements ist einzigartig.","fail":"Das title-Attribut des Elementes ist nicht einmalig."},"duplicate-id-active":{"pass":"Dokument hat keine aktiven Elemente mit denselben ID-Attributen.","fail":"Dokument hat aktiven Elemente mit denselben ID-Attributen: ${data}."},"duplicate-id-aria":{"pass":"Dokument besitzt keine Elemente, welche mit ARIA oder Labels referenziert werden, welche die gleiche ID besitzen.","fail":"Dokument besitzt Elemente, welche mit ARIA oder Labels referenziert werden, welche folgende gleiche ID besitzen: ${data}"},"duplicate-id":{"pass":"Das Dokument besitzt eine einzigartige ID.","fail":"Das Dokument besitzt mehrere Elemente mit demselben id-Attributwert: ${data}."},"aria-label":{"pass":"Das aria-label-Attribut existiert und ist nicht leer.","fail":"Es existiert kein aria-label-Attribut oder das Attribut ist leer."},"aria-labelledby":{"pass":"Das aria-labelledby-Attribut existiert und referenziert ein Element, welches für Screen Reader sichtbar ist.","fail":"Das aria-labelledby-Attribut existiert nicht oder referenziert ein Element, das nicht existiert, nicht sichtbar oder leer ist.","incomplete":"Es sollte sichergestellt werden, dass aria-labelledby auf ein existierendes Element verweist."},"avoid-inline-spacing":{"pass":"Es werden keine inline-Stilangaben mit \'!important\' spezifiziert, welche den Textabstand beeinflussen.","fail":{"singular":"Es sollte \'!important\' vom inline-Stil ${data.values} entfernt werden, da das Überschreiben in den meisten Browsern nicht erlaubt ist.","plural":"Es sollte \'!important\' von den inline-Stilen ${data.values} entfernt werden, da das Überschreiben in den meisten Browsern nicht erlaubt ist."}},"button-has-visible-text":{"pass":"Das Element besitzt Text, der für Screenreader sichtbar ist.","fail":"Das Element besitzt keinen Text, der für Screenreader sichtbar ist.","incomplete":"Ob das Element über Kindelemente bzw. textuelle Inhalte verfügt, kann nicht ermittelt werden."},"doc-has-title":{"pass":"Das Dokument besitzt ein nichtleeres <title>-Element.","fail":"Das Dokument besitzt kein <title>-Element oder das <title>-Element ist leer."},"exists":{"pass":"Das Element existiert nicht.","incomplete":"Das Element existiert."},"has-alt":{"pass":"Das Element besitzt ein alt-Attribut.","fail":"Das Element besitzt kein alt-Attribut."},"has-visible-text":{"pass":"Das Element besitzt Text, der für Screenreader sichtbar ist.","fail":"Das Element besitzt keinen Text, der für Screenreader sichtbar ist.","incomplete":"Es ist nicht möglich zu ermitteln, ob das Element Kinder besitzt."},"important-letter-spacing":{"pass":"letter-spacing im style-Attribut ist nicht auf !important gesetzt oder entspricht dem Minimum.","fail":"letter-spacing im style-Attribut darf nicht !important sein oder muss ${data.minValue}em (aktuell ${data.value}em) entsprechen."},"important-line-height":{"pass":"line-height im style-Attribut ist nicht auf !important gesetzt oder entspricht dem Minimum.","fail":"line-height im style-Attribut darf nicht !important sein oder muss ${data.minValue}em (aktuell ${data.value}em) entsprechen."},"important-word-spacing":{"pass":"word-spacing im style-Attribut ist nicht auf !important gesetzt oder entspricht dem Minimum.","fail":"word-spacing im style-Attribut darf nicht !important sein oder muss ${data.minValue}em (aktuell ${data.value}em) entsprechen."},"is-on-screen":{"pass":"Das Element ist nicht sichtbar.","fail":"Das Element ist sichtbar."},"non-empty-alt":{"pass":"Das Element hat ein nichtleeres alt-Attribut.","fail":{"noAttr":"Das Element hat kein alt-Attribut.","emptyAttr":"Das Element hat ein leeres alt-Attribut."}},"non-empty-if-present":{"pass":{"default":"Das Element hat kein value-Attribut.","has-label":"Das Element hat ein nichtleeres value-Attribut."},"fail":"Das Element besitzt ein value-Attribut und das value-Attribut ist leer."},"non-empty-placeholder":{"pass":"Element hat ein nichtleeres Platzhalterattribut.","fail":{"noAttr":"Element hat kein Platzhalterattribut.","emptyAttr":"Element hat ein leeres Platzhalterattribut."}},"non-empty-title":{"pass":"Das Element hat ein nichtleeres title-Attribut.","fail":{"noAttr":"Element hat kein title-Attribut.","emptyAttr":"Element hat ein leeres title-Attribut."}},"non-empty-value":{"pass":"Das Element hat ein nichtleeres value-Attribut","fail":{"noAttr":"Element hat kein value-Attribut.","emptyAttr":"Element hat ein leeres value-Attribut."}},"presentational-role":{"pass":"Die Standardsemantik des Elements wurden mit der Rolle \\"${data.role}\\" überschrieben.","fail":{"default":"Die Standardsemantik des Elements wurden nicht mit der Rolle role=\\"none\\" oder role=\\"presentation\\" überschrieben.","globalAria":"Die Rolle des Elements ist nicht präsentativ aufgrund des globalen ARIA Attributs.","focusable":"Die Rolle des Elements ist nicht präsentativ aufgrund der Möglichkeit es zu fokussieren.","both":"Die Rolle des Elements ist nicht präsentativ aufgrund des zugewiesenen globalen ARIA Attributs und der Möglichkeit es zu fokussieren.","iframe":"Die Verwendung des \\"title\\"-Attributs auf einem ${data.nodeName}-Element mit einer Präsentationsrolle verhält sich inkonsistent zwischen Screenreadern."}},"role-none":{"pass":"Die Standard-Semantik des Elementes ist mit role=\\"none\\" überschrieben.","fail":"Die Standard-Semantik des Elementes ist nicht mit role=\\"none\\" überschrieben."},"role-presentation":{"pass":"Die Standard-Semantik des Elementes ist mit role=\\"presentation\\" überschrieben.","fail":"Die Standard-Semantik des Elementes ist nicht mit role=\\"presentation\\" überschrieben."},"svg-non-empty-title":{"pass":"Element hat ein Kind, welches ein Titel ist.","fail":{"noTitle":"Element hat ein Kind, welches kein Titel ist.","emptyTitle":"Das Kind des Elements, welches ein Titel ist, ist leer."},"incomplete":"Es ist nicht möglich zu ermitteln ob das Element ein Kind hat, welches ein Titel ist."},"caption-faked":{"pass":"Die erste Zeile der Tabelle wird nicht als Tabellenüberschrift verwendet.","fail":"Die erste Zeile der Tabelle sollte nicht als Tabellenüberschrift verwendet werden."},"html5-scope":{"pass":"Das scope-Attribut wird nur für Tabellenkopfzellen (<th>) verwendet.","fail":"In HTML5 dürfen scope-Attribute lediglich für Tabellenkopfzellen (<th>) verwendet werden."},"same-caption-summary":{"pass":"Die Inhalte des summary-Attributes und des <caption>-Elementes sind nicht identisch.","fail":"Die Inhalte des summary-Attributes und des <caption>-Elementes sind identisch.","incomplete":"Es kann nicht festgestellt werden, ob das <table>-Element eine Überschrift hat."},"scope-value":{"pass":"Das scope-Attribut wird korrekt verwendet.","fail":"Das <td>-Element besitzt ein scope-Attribut. In HTML5 dürfen scope-Attribute jedoch lediglich für Tabellenkopfzellen <th> verwendet werden."},"td-has-header":{"pass":"Alle nichtleeren Datenzellen haben eine Tabellenkopfzelle.","fail":"Nicht alle (nichtleeren) Datenzellen haben eine Tabellenkopfzelle."},"td-headers-attr":{"pass":"Das headers-Attribut wird ausschließlich dafür verwendet, um auf andere Kopfzellen in der Tabelle zu verweisen.","incomplete":"Das headers-Attribut ist leer.","fail":{"cell-header-not-in-table":"Das headers-Attribut wird nicht ausschließlich dafür verwendet, um auf andere Kopfzellen in der Tabelle zu verweisen.","cell-header-not-th":"Das headers-Attribut muss auf Kopfzellen verweisen, nicht auf Datenzellen.","header-refs-self":"Das Element mit dem headers-Attribut verweist auf sich selbst."}},"th-has-data-cells":{"pass":"Alle Tabellenkopfzellen beziehen sich auf Datenzellen.","fail":"Nicht alle Tabellenkopfzellen beziehen sich auf Datenzellen.","incomplete":"Datenzellen der Tabelle fehlen oder sind leer."},"hidden-content":{"pass":"Jeglicher Inhalt der Seite wurde analysiert.","fail":"Beim Analysieren der Inhalte auf dieser Seite sind Probleme aufgetreten.","incomplete":"Auf der Seite befinden sich versteckte Inhalte, die nicht analysiert werden konnten. Um den Inhalt analysieren zu können, müssen Sie die Anzeige dieser Inhalte auslösen."}}'),failureSummaries:{any:{failureMessage:`Korrigiere mindestens einen der folgenden Punkte:{{~it:value}}
2
+ {{=value.split('\\n').join('\\n ')}}{{~}}`},none:{failureMessage:`Korrigiere alle der folgenden Punkte:{{~it:value}}
3
+ {{=value.split('\\n').join('\\n ')}}{{~}}`}},incompleteFallbackMessage:`axe konnte den Grund nicht ermitteln. Versuchen Sie es mit dem Element Inspector.`},t={lang:`fr`,rules:JSON.parse(`{"accesskeys":{"description":"Vérifier que chaque valeur de l’attribut accesskey est unique","help":"La valeur de l’attribut accesskey doit être unique"},"area-alt":{"description":"Vérifier que les éléments <area> d’une image réactive ont une alternative textuelle","help":"Les éléments <area> actifs doivent avoir une alternative textuelle"},"aria-allowed-attr":{"description":"Vérifier que les attributs ARIA sont autorisés pour le rôle d’un élément","help":"Les éléments doivent seulement utiliser les attributs ARIA autorisés"},"aria-allowed-role":{"description":"Vérifier que l’attribut role a une valeur valide pour cet élément","help":"Le rôle ARIA doit être valide pour cet élément"},"aria-command-name":{"description":"Vérifier que chaque \\"button\\", \\"link\\" et \\"menuitem\\" ARIA a un nom accessible","help":"Les commandes ARIA doivent avoir un nom accessible"},"aria-dialog-name":{"description":"Vérifier que chaque nœud ARIA \\"dialog\\" et \\"alertdialog\\" a un nom accessible","help":"Les nœuds ARIA \\"dialog\\" and \\"alertdialog\\" doivent avoir un nom accessible"},"aria-hidden-body":{"description":"Vérifier qu’aria-hidden='true' n’est pas présent sur le corps du document (élément body)","help":"aria-hidden='true' ne doit pas être présent sur <body>"},"aria-hidden-focus":{"description":"Vérifier qu’aria-hidden n’est pas assigné aux éléments qui reçoivent le focus au clavier","help":"aria-hidden n’est pas assigné aux éléments qui reçoivent le focus au clavier"},"aria-input-field-name":{"description":"Vérifier que chaque champ de formulaire avec ARIA est doté d’un intitulé accessible","help":"Les champs de formulaire ARIA ont un intitulé accessible"},"aria-meter-name":{"description":"Vérifier que chaque nœud ARIA \\"meter\\" a un nom accessible","help":"Les nœuds ARIA \\"meter\\" doivent avoir un nom accessible"},"aria-progressbar-name":{"description":"Vérifier que chaque nœud ARIA \\"progressbar\\" a un nom accessible","help":"Les nœuds ARIA \\"progressbar\\" doivent avoir un nom accessible"},"aria-required-attr":{"description":"Vérifier que les éléments avec des rôles ARIA ont les attributs ARIA requis","help":"Les attributs ARIA requis doivent être présents"},"aria-required-children":{"description":"Vérifier que les éléments avec un rôle ARIA comportent aussi des rôles pour les descendants directs","help":"Certains rôles ARIA doivent comporter des descendants directs spécifiques"},"aria-required-parent":{"description":"Vérifier que les éléments avec un rôle ARIA requérant des rôles parents y sont contenus","help":"Certains rôles ARIA doivent être contenus par des parents spécifiques"},"aria-roledescription":{"description":"Vérifier qu’aria-roledescription n’est utilisé que sur des éléments qui ont un rôle implicite ou explicite","help":"Utiliser aria-roledescription sur les éléments dont le rôle a une valeur sémantique"},"aria-roles":{"description":"Vérifier que les éléments avec un attribut role utilisent une valeur valide","help":"Les rôles ARIA doivent se conformer aux valeurs valides"},"aria-text":{"description":"Vérifier que \\"role=text\\" est uniquement utilisé sur des éléments sans descendants focalisables","help":"\\"role=text\\" ne doit pas avoir de descendant focalisable"},"aria-toggle-field-name":{"description":"Vérifier que chaque champ de basculement ARIA a un libellé accessible","help":"Les champs de basculement ARIA ont un libellé accessible"},"aria-tooltip-name":{"description":"Vérifier que chaque nœud ARIA \\"tooltip\\" a un nom accessible","help":"Les nœuds ARIA \\"tooltip\\" doivent avoir un nom accessible"},"aria-treeitem-name":{"description":"Vérifier que chaque nœud ARIA \\"treeitem\\" a un nom accessible","help":"Les nœuds ARIA \\"treeitem\\" doivent avoir un nom accessible"},"aria-valid-attr-value":{"description":"Vérifier que tous les attributs ARIA comportent des valeurs valides","help":"Les attributs ARIA doivent comporter des valeurs valides"},"aria-valid-attr":{"description":"Vérifier que les attributs commençant par aria- sont des attributs ARIA valides","help":"Les attributs ARIA doivent se conformer aux noms valides"},"audio-caption":{"description":"Vérifier que les éléments <audio> ont des sous-titres","help":"Les éléments <audio> doivent avoir une piste de sous-titres"},"autocomplete-valid":{"description":"Vérifier que l’attribut autocomplete est correctement adapté au champ de formulaire","help":"L’attribut autocomplete doit être utilisé correctement"},"avoid-inline-spacing":{"description":"Vérifier que l’espacement du texte défini à travers une attribution de styles peut être ajusté via une feuille de style personnalisée","help":"L’espacement du texte inline peut être ajusté avec des feuilles de style personnalisées"},"blink":{"description":"Vérifier que l’élément <blink> n’est pas utilisé","help":"L’élément <blink> est déprécié et ne doit pas être utilisé"},"button-name":{"description":"Vérifier que les boutons ont un texte perceptible","help":"Les boutons doivent avoir un texte perceptible"},"bypass":{"description":"Vérifier que chaque page dispose au minimum d’un mécanisme de contournement de la navigation pour accéder directement au contenu","help":"Chaque page doit fournir des moyens de contourner les contenus répétés"},"color-contrast-enhanced":{"description":"Vérifier que les contrastes entre le premier plan et l’arrière-plan rencontrent les seuils de contrastes exigés par les WCAG 2 AAA","help":"Les éléments doivent avoir un contraste de couleurs suffisant"},"color-contrast":{"description":"Vérifier que les contrastes entre le premier plan et l’arrière-plan rencontrent les seuils de contrastes exigés par les WCAG 2 AA","help":"Les éléments doivent avoir un contraste de couleurs suffisant"},"css-orientation-lock":{"description":"Vérifier que les contenus ne sont pas limités à une orientation spécifique de l’écran, et que le contenu est utilisable sous toutes les orientations de l’écran","help":"Les CSS Media queries ne sont pas utilisées pour verrouiller l’orientation de l’écran"},"definition-list":{"description":"Vérifier que les éléments <dl> sont correctement structurés","help":"Les éléments <dl> ne doivent contenir directement que des groupes d’éléments <dt> et <dd> correctement ordonnés, ou des éléments <script> ou <template>"},"dlitem":{"description":"Vérifier que les éléments <dt> et <dd> sont contenus dans un élément <dl>","help":"Les éléments <dt> et <dd> doivent être contenus dans un élément <dl>"},"document-title":{"description":"Vérifier que chaque document HTML contient un élément <title> non vide","help":"Chaque document doit avoir un élément <title> pour aider à la navigation"},"duplicate-id-active":{"description":"Vérifier que la valeur d’attribut id de chaque élément actif est unique","help":"Les IDs des éléments actifs doivent être uniques"},"duplicate-id-aria":{"description":"Vérifier que chaque valeur d’attribut id utilisée avec ARIA et dans les étiquettes est unique","help":"Les IDs utilisés avec ARIA et dans les étiquettes doivent être uniques"},"duplicate-id":{"description":"Vérifier que la valeur de chaque attribut id est unique","help":"La valeur de l’attribut id doit être unique"},"empty-heading":{"description":"Vérifier que les niveaux de titre ont un texte perceptible","help":"Les niveaux de titre ne doivent pas être vides"},"empty-table-header":{"description":"Vérifier que les entêtes de tableaux ont un texte perceptible","help":"Les textes d’entêtes de tableaux ne doivent pas être vides"},"focus-order-semantics":{"description":"Vérifier que les éléments dans le parcours du focus ont un rôle approprié","help":"Les éléments dans le parcours du focus doivent avoir un rôle approprié pour le contenu interactif"},"form-field-multiple-labels":{"description":"Vérifier que le champ de formulaire n’a pas plusieurs éléments d’étiquettes","help":"Le champ de formulaire ne devrait pas comporter plusieurs éléments d’étiquettes"},"frame-focusable-content":{"description":"Vérifier que les éléments <frame> et <iframe> avec du contenu focalisable n’ont pas de tabindex=-1","help":"Les cadres avec du contenu focalisable ne doivent pas avoir tabindex=-1"},"frame-tested":{"description":"Vérifier que les éléments <iframe> et <frame> contiennent le script axe-core","help":"Les cadres doivent être testés avec axe-core"},"frame-title-unique":{"description":"Vérifier que les éléments <iframe> et <frame> ont un attribut title unique","help":"Chaque cadre doit avoir un attribut title unique"},"frame-title":{"description":"Vérifier que les éléments <iframe> et <frame> ont un attribut title non vide","help":"Chaque cadre doit avoir un attribut title"},"heading-order":{"description":"Vérifier que la hiérarchie des niveaux de titre est sémantiquement correcte","help":"Les niveaux de titre doivent s’incrémenter d’un seul niveau à la fois"},"hidden-content":{"description":"Informer les utilisateurs sur les contenus cachés","help":"Le contenu caché sur la page ne peut pas être analysé"},"html-has-lang":{"description":"Vérifier que chaque document HTML a un attribut lang","help":"L’élément <html> doit avoir un attribut lang"},"html-lang-valid":{"description":"Vérifier que l’attribut lang sur l’élément <html> a une valeur valide","help":"L’élément <html> doit avoir une valeur valide pour l’attribut lang"},"html-xml-lang-mismatch":{"description":"Vérifier que les éléments HTML avec les attributs lang et xml:lang valides indiquent la même langue de base pour la page","help":"Les éléments HTML avec les attributs lang et xml:lang doivent avoir la même langue de base"},"identical-links-same-purpose":{"description":"Vérifier que les liens qui ont le même nom accessible ont la même finalité","help":"Les liens avec le même nom ont la même finalité"},"image-alt":{"description":"Vérifier que les éléments <img> ont une alternative textuelle, ou un rôle de type 'none' ou 'presentation'","help":"Les images doivent avoir une alternative textuelle"},"image-redundant-alt":{"description":"Vérifier que l’intitulé des liens et boutons n’est pas répété dans l’alternative de l’image","help":"L’intitulé des liens et boutons ne doit pas être répété dans l’alternative de l’image"},"input-button-name":{"description":"Vérifier que la valeur textuelle des contrôles de boutons est perceptible","help":"La valeur textuelle des contrôles de boutons doit être perceptible"},"input-image-alt":{"description":"Vérifier que les éléments <input type=\\"image\\"> ont une alternative textuelle","help":"Les boutons images doivent avoir une alternative textuelle"},"label-content-name-mismatch":{"description":"Vérifier que dans le cas d’éléments identifiés par leur contenu textuel, le texte visible fait partie de l’intitulé accessible","help":"Le contenu textuel des éléments doit aussi se retrouver dans leur intitulé accessible"},"label-title-only":{"description":"Vérifier que chaque élément de formulaire n’est pas labellisé uniquement par les attributs title ou aria-describedby","help":"Chaque élément de formulaire doit avoir un label visible"},"label":{"description":"Vérifier que chaque élément de formulaire a une étiquette","help":"Chaque élément de formulaire doit avoir une étiquette"},"landmark-banner-is-top-level":{"description":"La région banner ne devrait pas être contenue dans une autre région","help":"La région banner doit être au niveau le plus haut"},"landmark-complementary-is-top-level":{"description":"Vérifier que les landmarks complementary ou aside se retrouvent au plus haut niveau","help":"Aside ne doit pas être contenu dans un autre landmark"},"landmark-contentinfo-is-top-level":{"description":"La région contentinfo ne devrait pas être contenue dans une autre région","help":"La région contentinfo doit être au niveau le plus haut"},"landmark-main-is-top-level":{"description":"La région main ne devrait pas être contenue dans une autre région","help":"La région main doit être au niveau le plus haut"},"landmark-no-duplicate-banner":{"description":"Vérifier que le document n’a pas plus d’une région banner","help":"Le document contient au plus une région banner"},"landmark-no-duplicate-contentinfo":{"description":"Vérifier que le document n’a pas plus d’une région contentinfo","help":"Le document contient au plus une région contentinfo"},"landmark-no-duplicate-main":{"description":"Vérifier que le document a tout au plus, un seul landmark main","help":"Le document ne doit pas contenir plus d’un landmark main"},"landmark-one-main":{"description":"Vérifier qu’une navigation pointe vers le contenu principal de la page. Si la page contient des iframes, chaque iframe ne doit contenir au plus qu’une région main","help":"La page doit contenir une région main"},"landmark-unique":{"help":"Vérifier que chaque landmark est unique","description":"Les landmarks doivent comporter un rôle unique, ou une étiquette accessible par la combinaison de role/label/title"},"link-in-text-block":{"description":"Les liens doivent pouvoir être distingués autrement que par la couleur","help":"Les liens doivent pouvoir être distingués du texte environnant d’une façon qui ne repose pas sur la couleur"},"link-name":{"description":"Vérifier que les liens ont un texte perceptible","help":"Les liens doivent avoir un texte perceptible"},"list":{"description":"Vérifier que les listes sont structurées correctement","help":"<ul> et <ol> ne doivent contenir directement que des éléments <li>, <script> ou <template>"},"listitem":{"description":"Vérifier que les éléments <li> sont utilisés sémantiquement","help":"Les éléments <li> doivent être contenus dans un élément <ul> ou <ol>"},"marquee":{"description":"Vérifier que l’élément <marquee> n’est pas utilisé","help":"L’élément <marquee> est déprécié et ne doit pas être utilisé"},"meta-refresh-no-exceptions":{"description":"Vérifier que <meta http-equiv=\\"refresh\\"> n’est pas utilisé pour une actualisation différée","help":"L'actualisation différée ne doit pas être utilisée"},"meta-refresh":{"description":"Vérifier que <meta http-equiv=\\"refresh\\"> n’est pas utilisé pour une actualisation différée","help":"L'actualisation différée en dessous de 20 heures ne doit pas être utilisée"},"meta-viewport-large":{"description":"Vérifier que <meta name=\\"viewport\\"> permet un agrandissement significatif","help":"Les utilisateurs devraient pouvoir zoomer et agrandir le texte jusqu’à 500%"},"meta-viewport":{"description":"Vérifier que <meta name=\\"viewport\\"> ne désactive pas le zoom ni l’agrandissement","help":"Le zoom et l’agrandissement ne doivent pas être désactivés"},"nested-interactive":{"description":"Les éléments interactifs imbriqués ne sont pas annoncés par les lecteurs d’écrans","help":"Verifier que les éléments interactifs ne sont pas imbriqués"},"no-autoplay-audio":{"description":"Vérifier que les éléments <video> ou <audio> ne jouent pas de son automatiquement pendant plus de 3 secondes sans mécanisme de contrôle pour stopper la lecture ou couper le son.","help":"Les éléments <video> ou <audio> ne jouent pas de son automatiquement"},"object-alt":{"description":"Vérifier que les éléments <object> ont une alternative textuelle","help":"Les éléments <object> doivent avoir une alternative textuelle"},"p-as-heading":{"description":"Vérifier que les éléments p ne sont pas utilisés pour styler des niveaux de titres","help":"La graisse, le style et le corps du texte ne doivent pas être utilisés pour styler les éléments p comme des niveaux de titres"},"page-has-heading-one":{"description":"Vérifier que la page, ou au moins une de ses iframes, contient un titre de niveau 1","help":"La page doit contenir un titre de niveau 1"},"presentation-role-conflict":{"description":"Signaler les éléments dont le rôle est 'none' ou 'presentation' et qui déclenchent la résolution de conflits de rôles.","help":"Les éléments avec un rôle 'none' ou 'presentation' doivent être signalés"},"region":{"description":"Vérifier que tout le contenu est localisé dans une région","help":"Le contenu doit être localisé dans une région"},"role-img-alt":{"description":"Vérifier que les éléments avec [role='img'] ont une équivalence textuelle","help":"Les éléments avec [role='img'] ont une équivalence textuelle"},"scope-attr-valid":{"description":"Vérifier que l’attribut scope est utilisé correctement dans les tableaux","help":"L’attribut scope doit être utilisé correctement"},"scrollable-region-focusable":{"description":"Les éléments dont le contenu défile devraient être accessibles au clavier","help":"Vérifier que les régions défilantes sont accessibles au clavier"},"select-name":{"description":"Vérifier que l’élément 'select' a un nom accessible","help":"L’élément 'select' doit avoir un nom accessible"},"server-side-image-map":{"description":"Vérifier que les images réactives côté serveur ne sont pas utilisées","help":"Les images réactives côté serveur ne devraient pas être utilisées"},"skip-link":{"description":"Vérifier que tous les liens d’évitement ont une cible pouvant recevoir le focus","help":"La cible d’un lien d’évitement doit exister et pouvoir recevoir le focus"},"svg-img-alt":{"description":"Vérifier que les éléments svg avec un rôle 'img', 'graphics-document', ou 'graphics-symbol' ont un texte accessible","help":"Les éléments svg avec un rôle 'img' ont un texte alternatif"},"tabindex":{"description":"Vérifier que les valeurs de l’attribut tabindex ne sont pas supérieures à 0","help":"Aucun élément ne devrait avoir un tabindex avec une valeur supérieure à zéro"},"table-duplicate-name":{"description":"Vérifier que chaque tableau n’ait pas un summary et un caption identiques","help":"L’élément <caption> ne devrait pas contenir le même texte que l’attribut summary"},"table-fake-caption":{"description":"Vérifier que les tableaux avec une légende utilisent l’élément <caption>","help":"Les données ou les cellules d’entête ne devraient pas être utilisées pour légender un tableau de données"},"target-size":{"description":"Vérifier que la cible tactile a une taille et un espace suffisants","help":"Toutes les cibles tactiles doivent faire 24px de large, ou être suffisamment grandes"},"td-has-header":{"description":"Vérifier que chaque cellule de données non vide dans un tableau de données a une ou plusieurs cellules d’entête","help":"Chaque élément td non vide dans un tableau plus grand que 3 × 3 doit avoir une cellule d’entête associée"},"td-headers-attr":{"description":"Vérifier que chaque cellule utilisant l’attribut headers fait référence à une autre cellule du même tableau","help":"Les cellules utilisant l’attribut headers ne doivent faire référence qu’à d’autres cellules du même tableau"},"th-has-data-cells":{"description":"Vérifier que chaque cellule d’entête dans un tableau de données fait référence à des cellules de données","help":"Tous les éléments th et ceux avec role=columnheader/rowheader doivent décrire des cellules de données"},"valid-lang":{"description":"Vérifier que les attributs lang ont des valeurs valides","help":"L’attribut lang doit avoir une valeur valide"},"video-caption":{"description":"Vérifier que les éléments <video> ont des sous-titres","help":"Les éléments <video> doivent avoir des sous-titres"}}`),checks:JSON.parse('{"abstractrole":{"pass":"Les rôles abstraits ne sont pas utilisés","fail":{"singular":"Le rôle abstrait ne peut pas être utilisé directement : ${data.values}","plural":"Les rôles abstraits ne peuvent pas être utilisés directement : ${data.values}"}},"aria-allowed-attr":{"pass":"Les attributs ARIA sont utilisés correctement pour le rôle défini","fail":{"singular":"L’attribut ARIA n’est pas autorisé : ${data.values}","plural":"Les attributs ARIA ne sont pas autorisés : ${data.values}"}},"aria-allowed-role":{"pass":"Le rôle ARIA est autorisé pour l’élément donné","fail":{"singular":"Le rôle ARIA ${data.values} n’est pas autorisé pour l’élément donné","plural":"Les rôles ARIA ${data.values} ne sont pas autorisés pour l’élément donné"},"incomplete":{"singular":"Le rôle ARIA ${data.values} doit être retiré lorsque l’élément est rendu visible, car il n’est pas autorisé pour cet élément","plural":"Les rôles ARIA ${data.values} doivent être retirés lorsque l’élément est rendu visible, car ils ne sont pas autorisés pour cet élément"}},"aria-errormessage":{"pass":"Utiliser une technique prise en charge pour aria-errormessage","fail":{"singular":"La valeur d’aria-errormessage `${data.values}` doit recourir à une technique pour annoncer le message (aria-live, aria-describedby, role=alert, etc.)","plural":"Les valeurs aria-errormessage `${data.values}` doivent recourir à une technique pour annoncer le message (aria-live, aria-describedby, role=alert, etc.)"},"incomplete":{"singular":"Vérifier que la valeur de l’attribut \'aria-errormessage\' `${data.values}` se réfère à un élément existant","plural":"Vérifier que les valeurs de l’attribut \'aria-errormessage\' `${data.values}` se réfèrent à des éléments existants","idrefs":"Impossible de déterminer si l’élément référencé par \'aria-errormessage\' existe dans la page : ${data.values}"}},"aria-hidden-body":{"pass":"Aucun attribut aria-hidden n’est présent sur body","fail":"aria-hidden=true ne devrait pas être présent sur body"},"aria-level":{"pass":"Les valeurs d’aria-level sont valides","incomplete":"Les valeurs d’aria-level supérieures à 6 ne sont pas supportées par toutes les combinaisons de navigateurs et de lecteurs d’écrans"},"aria-prohibited-attr":{"pass":"L’attribut ARIA est autorisé","fail":"L’attribut ARIA ne peut pas être utilisé, ajoutez un attribut role ou utilisez un élément différent : ${data.values}","incomplete":"L’attribut ARIA n’est pas bien supporté sur l’élément et le contenu texte sera utilisé à la place : ${data.values}"},"aria-required-attr":{"pass":"Tous les attributs ARIA requis sont présents","fail":{"singular":"L’attribut ARIA requis est manquant : ${data.values}","plural":"Les attributs ARIA requis sont manquants : ${data.values}"}},"aria-required-children":{"pass":{"default":"Les descendants ARIA requis sont présents"},"fail":{"singular":"Le descendant ARIA requis est manquant : ${data.values}","plural":"Les descendants ARIA requis sont manquants : ${data.values}"},"incomplete":{"singular":"Le rôle du descendant ARIA attendu doit être ajouté : ${data.values}","plural":"Les rôles des descendants ARIA attendus doivent être ajoutés : ${data.values}"}},"aria-required-parent":{"pass":"Les rôles parents ARIA requis sont présents","fail":{"singular":"Le rôle parent ARIA requis est manquant : ${data.values}","plural":"Les rôles parents ARIA requis sont manquants : ${data.values}"}},"aria-roledescription":{"pass":"aria-roledescription utilisé sur un élément sémantique supporté","incomplete":"Vérifier que la valeur d’aria-roledescription est annoncée par les lecteurs d’écran supportés","fail":"Attribuer à l’élément un rôle qui supporte aria-roledescription"},"aria-unsupported-attr":{"pass":"L’attribut ARIA est supporté","fail":"L’attribut ARIA n’est pas suffisamment supporté par les lecteurs d’écran et autres technologies d’assistance : ${data.values}"},"aria-valid-attr-value":{"pass":"Les valeurs d’attribut ARIA sont valides","fail":{"singular":"La valeur d’attribut ARIA est invalide : ${data.values}","plural":"Les valeurs d’attribut ARIA sont invalides : ${data.values}"},"incomplete":{"noId":"L’ID d’élément référencé par l’attribut ARIA n’existe pas dans la page : ${data.needsReview}","ariaCurrent":"La valeur de l’attribut ARIA est invalide et sera traitée comme \\"aria-current=true\\" : ${data.needsReview}","idrefs":"Impossible de vérifier si l’ID d’élément référencé par l’attribut ARIA existe dans la page : ${data.needsReview}"}},"aria-valid-attr":{"pass":{"singular":"Les noms d’attributs ARIA sont valides","plural":"Le nom d’attribut ARIA est valide"},"fail":{"singular":"Le nom d’attribut ARIA est invalide : ${data.values}","plural":"Les noms d’attributs ARIA sont invalides : ${data.values}"}},"fallbackrole":{"pass":"Une seule valeur de rôle utilisée","fail":"Utiliser une seule valeur de rôle, dans la mesure où les rôles de secours ne sont pas supportés par les navigateurs anciens","incomplete":"Utiliser seulement les rôles \'presentation\' ou \'none\' puisqu’ils sont synonymes."},"has-global-aria-attribute":{"pass":{"singular":"L’élément a un attribut ARIA global : ${data.values}","plural":"L’élément a des attributs ARIA globaux : ${data.values}"},"fail":"L’élément n’a pas d’attribut ARIA global"},"has-widget-role":{"pass":"L’élément a un rôle widget.","fail":"L’élément n’a pas de rôle widget."},"invalidrole":{"pass":"Le rôle ARIA est valide","fail":{"singular":"Le rôle doit être un rôle ARIA valide : ${data.values}","plural":"Les rôles doivent être des rôles ARIA valides : ${data.values}"}},"is-element-focusable":{"pass":"L’élément est focalisable.","fail":"L’élément n’est pas focalisable."},"no-implicit-explicit-label":{"pass":"Il n’y a pas de décalage entre le <label> et l’intitulé accessible","incomplete":"Vérifier que le <label> n’a pas à faire partie du nom du champ de formulaire ARIA ${data}"},"unsupportedrole":{"pass":"Le rôle ARIA est supporté","fail":"Le rôle utilisé n’est pas suffisamment supporté par les technologies d’assistance"},"valid-scrollable-semantics":{"pass":"L’élément a une sémantique valide pour un élément dans l’ordre de tabulation.","fail":"L’élément n’a pas une sémantique valide pour un élément dans l’ordre de tabulation."},"color-contrast":{"pass":"L’élément a un contraste de couleurs suffisant de ${data.contrastRatio}","fail":{"default":"L’élément a un contraste de couleurs insuffisant de ${data.contrastRatio} (couleur d’avant plan : ${data.fgColor}, couleur d’arrière plan : ${data.bgColor}, taille de police : ${data.fontSize}, graisse : ${data.fontWeight}). Contraste de couleur attendu : ${data.expectedContrastRatio}","fgOnShadowColor":"L’élément a un contraste de couleurs insuffisant de ${data.contrastRatio} entre l’avant plan et la couleur de l’ombre de texte (couleur d’avant plan : ${data.fgColor}, couleur de l’ombre de texte : ${data.shadowColor}, taille de police : ${data.fontSize}, graisse: ${data.fontWeight}). Contraste de couleurs attendu : ${data.expectedContrastRatio}","shadowOnBgColor":"L’élément a un contraste de couleurs insuffisant de ${data.contrastRatio} entre la couleur de l’ombre de texte et l’arrière plan (couleur de l’ombre de texte : ${data.shadowColor}, couleur d’arrière plan : ${data.bgColor}, taille de police : ${data.fontSize}, graisse: ${data.fontWeight}). Contraste de couleurs attendu : ${data.expectedContrastRatio}"},"incomplete":{"default":"Impossible de déterminer le rapport de contraste","bgImage":"La couleur d’arrière-plan de l’élément n’a pu être déterminée à cause d’une image d’arrière-plan","bgGradient":"La couleur d’arrière-plan de l’élément n’a pu être déterminée à cause d’un dégradé d’arrière-plan","imgNode":"La couleur d’arrière-plan de l’élément n’a pu être déterminée, car l’élément contient une balise image","bgOverlap":"La couleur d’arrière-plan de l’élément n’a pu être déterminée, car un autre élément le chevauche","fgAlpha":"La couleur du texte de l’élément n’a pu être déterminée à cause d’une opacité réduite","elmPartiallyObscured":"La couleur d’arrière-plan de l’élément n’a pu être déterminée, car l’élément est partiellement masqué par un autre élément","elmPartiallyObscuring":"La couleur d’arrière-plan de l’élément n’a pu être déterminée, car il chevauche partiellement un autre élément","outsideViewport":"La couleur d’arrière-plan de l’élément n’a pu être déterminée, car il est à l’extérieur du viewport","equalRatio":"L’élément a un rapport de contraste de 1:1 avec son arrière-plan","shortTextContent":"Le contenu de l’élément est trop court pour déterminer s’il s’agit réellement d’un contenu textuel","nonBmp":"Le contenu de l’élément contient seulement des caractères non textuels","pseudoContent":"La couleur d’arrière plan de l’élément n’a pu être déterminée à cause d’un pseudo-élément"}},"color-contrast-enhanced":{"pass":"L’élément a un contraste de couleurs suffisant de ${data.contrastRatio}","fail":{"default":"L’élément a un contraste de couleurs insuffisant de ${data.contrastRatio} (couleur d’avant plan : ${data.fgColor}, couleur d’arrière plan : ${data.bgColor}, taille de police : ${data.fontSize}, graisse : ${data.fontWeight}). Contraste de couleur attendu : ${data.expectedContrastRatio}","fgOnShadowColor":"L’élément a un contraste de couleurs insuffisant de ${data.contrastRatio} entre l’avant plan et la couleur de l’ombre de texte (couleur d’avant plan : ${data.fgColor}, couleur de l’ombre de texte : ${data.shadowColor}, taille de police : ${data.fontSize}, graisse: ${data.fontWeight}). Contraste de couleurs attendu : ${data.expectedContrastRatio}","shadowOnBgColor":"L’élément a un contraste de couleurs insuffisant de ${data.contrastRatio} entre la couleur de l’ombre de texte et l’arrière plan (couleur de l’ombre de texte : ${data.shadowColor}, couleur d’arrière plan : ${data.bgColor}, taille de police : ${data.fontSize}, graisse: ${data.fontWeight}). Contraste de couleurs attendu : ${data.expectedContrastRatio}"},"incomplete":{"default":"Impossible de déterminer le rapport de contraste","bgImage":"La couleur d’arrière-plan de l’élément n’a pu être déterminée à cause d’une image d’arrière-plan","bgGradient":"La couleur d’arrière-plan de l’élément n’a pu être déterminée à cause d’un dégradé d’arrière-plan","imgNode":"La couleur d’arrière-plan de l’élément n’a pu être déterminée, car l’élément contient une balise image","bgOverlap":"La couleur d’arrière-plan de l’élément n’a pu être déterminée, car un autre élément le chevauche","fgAlpha":"La couleur du texte de l’élément n’a pu être déterminée à cause d’une opacité réduite","elmPartiallyObscured":"La couleur d’arrière-plan de l’élément n’a pu être déterminée, car l’élément est partiellement masqué par un autre élément","elmPartiallyObscuring":"La couleur d’arrière-plan de l’élément n’a pu être déterminée, car il chevauche partiellement un autre élément","outsideViewport":"La couleur d’arrière-plan de l’élément n’a pu être déterminée, car il est à l’extérieur du viewport","equalRatio":"L’élément a un rapport de contraste de 1:1 avec son arrière-plan","shortTextContent":"Le contenu de l’élément est trop court pour déterminer s’il s’agit réellement d’un contenu textuel","nonBmp":"Le contenu de l’élément contient seulement des caractères non textuels","pseudoContent":"La couleur d’arrière plan de l’élément n’a pu être déterminée à cause d’un pseudo-élément"}},"link-in-text-block":{"pass":"Les liens peuvent être distingués du texte environnant par un autre moyen que la couleur","fail":"Les liens doivent se distinguer du texte environnant par un autre moyen que la couleur","incomplete":{"default":"Impossible de déterminer le rapport de contraste","bgContrast":"Le rapport de contraste de l’élément n’a pu être déterminé. Recherchez un style différent pour le hover/focus.","bgImage":"Le rapport de contraste de l’élément n’a pu être déterminé à cause d’une image d’arrière-plan","bgGradient":"Le rapport de contraste de l’élément n’a pu être déterminé à cause d’un dégradé d’arrière-plan","imgNode":"Le rapport de contraste de l’élément n’a pu être déterminé, car l’élément contient une balise image","bgOverlap":"Le rapport de contraste de l’élément n’a pu être déterminé à cause d’un chevauchement"}},"autocomplete-appropriate":{"pass":"La valeur autocomplete est sur un élément approprié","fail":"La valeur autocomplete est inappropriée sur ce type de champ de formulaire"},"autocomplete-valid":{"pass":"L’attribut autocomplete est formaté correctement","fail":"L’attribut autocomplete n’est pas formaté correctement"},"accesskeys":{"pass":"La valeur de l’attribut accesskey est unique","fail":"Plusieurs éléments ont le même accesskey au sein du document"},"focusable-content":{"pass":"L’élément contient des éléments focalisables","fail":"L’élément devrait avoir du contenu focalisable"},"focusable-disabled":{"pass":"Aucun élément focalisable contenu dans l’élément","fail":"Le contenu focalisable devrait être désactivé ou retiré du DOM"},"focusable-element":{"pass":"L’élément est focalisable","fail":"L’élément devrait être focalisable"},"focusable-modal-open":{"pass":"Pas d’élément focalisable quand une modale est ouverte","incomplete":"Vérifiez que les éléments focalisables ne sont pas atteignables via la tabulation dans l’état actuel"},"focusable-no-name":{"pass":"L’élément n’est pas dans l’ordre de tabulation ou a un intitulé accessible","fail":"L’élément est dans l’ordre de tabulation et n’a pas d’intitulé accessible","incomplete":"Impossible de déterminer si l’élément a un nom accessible"},"focusable-not-tabbable":{"pass":"Aucun élément focalisable contenu dans l’élément","fail":"Le contenu focalisable devrait se voir assigné un tabindex=\'-1\' ou être retiré du DOM"},"frame-focusable-content":{"pass":"L’élément n’a pas de descendants focalisables","fail":"L’élément a des descendants focalisables","incomplete":"Impossible de déterminer si l’élément a des descendants"},"landmark-is-top-level":{"pass":"La région ${data.role} est au niveau le plus haut.","fail":"La région ${data.role} est contenue dans une autre région."},"no-focusable-content":{"pass":"L’élément n’a pas de descendants focalisables","fail":"L’élément a des descendants focalisables","incomplete":"Impossible de déterminer si l’élément a des descendants"},"page-has-heading-one":{"pass":"La page a au moins un titre de niveau un","fail":"La page doit avoir un titre de niveau un"},"page-has-main":{"pass":"La page a au moins une région main","fail":"La page doit avoir une région main"},"page-no-duplicate-banner":{"pass":"Le document n’a pas plus d’une région banner","fail":"Le document a plus d’une région banner"},"page-no-duplicate-contentinfo":{"pass":"Le document n’a pas plus d’une région contentinfo","fail":"Le document a plus d’une région contentinfo"},"page-no-duplicate-main":{"pass":"Le document n’a pas plus d’une région main","fail":"Le document a plus d’une région banner"},"tabindex":{"pass":"L’élément n’a pas de tabindex supérieur à 0","fail":"L’élément a un tabindex supérieur à 0"},"alt-space-value":{"pass":"L’élément a une valeur d’attribut alt valide","fail":"L’élément a un attribut alt qui contient un caractère d’espacement qui n’est pas ignoré par les lecteurs d’écran"},"duplicate-img-label":{"pass":"L’élément ne duplique pas un texte existant dans l’alternative textuelle de l’élément <img>","fail":"L’élément contient un élément <img> dont l’alternative textuelle duplique un texte existant"},"explicit-label":{"pass":"L’élément de formulaire a un <label> explicite","fail":"L’élément de formulaire n’a pas de <label> explicite","incomplete":"Impossible de déterminer si l’élément de formulaire a un <label> explicite"},"help-same-as-label":{"pass":"L’aide à la saisie (title ou aria-describedby) ne duplique pas le contenu du label","fail":"L’aide à la saisie (title ou aria-describedby) est identique au contenu du label"},"hidden-explicit-label":{"pass":"L’élément de formulaire a un <label> visible et explicite","fail":"L’élément de formulaire a un <label> explicite qui est masqué","incomplete":"Impossible de déterminer si l’élément de formulaire a un <label> explicite qui est masqué"},"implicit-label":{"pass":"L’élément de formulaire a un <label> implicite (imbriqué)","fail":"L’élément de formulaire n’a pas de <label> implicite (imbriqué)","incomplete":"Impossible de déterminer si l’élément de formulaire a un <label> implicite (imbriqué)"},"label-content-name-mismatch":{"pass":"L’élément contient du texte visible qui n’est pas inclus dans l’intitulé accessible","fail":"Le texte contenu dans l’élément n’est pas inclus dans l’intitulé accessible"},"multiple-label":{"pass":"L’élément de formulaire n’a pas plusieurs éléments <label>","incomplete":"Des éléments associés à plusieurs étiquettes ne sont pas suffisamment supportés par les technologies d’assistance. Vérifier que la première étiquette contient toute l’information nécessaire."},"title-only":{"pass":"L’élément de formulaire n’a pas uniquement l’attribut title comme étiquette","fail":"Seul l’attribut title est utilisé comme étiquette pour l’élément de formulaire"},"landmark-is-unique":{"pass":"Les landmarks doivent comporter un rôle unique, ou une étiquette accessible par la combinaison de role/label/title","fail":"L’attribut landmark doit comporter une valeur d’attribut aria-label, aria-labelledby, ou title unique pour rendre le landmark distinct"},"has-lang":{"pass":"L’élément <html> a un attribut lang","fail":{"noXHTML":"L’attribut xml:lang n’est pas valide sur les pages HTML, utiliser l’attribut lang.","noLang":"L’élément <html> n’a pas d’attribut lang"}},"valid-lang":{"pass":"La valeur de l’attribut lang fait partie des codes de langues valides","fail":"La valeur de l’attribut lang ne fait pas partie des codes de langues valides"},"xml-lang-mismatch":{"pass":"Les attributs lang et xml:lang indiquent la même langue de base","fail":"Les attributs lang et xml:lang indiquent des langues de base différentes"},"dlitem":{"pass":"L’item de liste de description a un élément <dl> parent","fail":"L’item de liste de description n’a pas d’élément <dl> parent"},"listitem":{"pass":"L’item de liste a un élément <ul>, <ol> ou role=\\"list\\" parent","fail":{"default":"L’item de liste n’a pas d’élément <ul> ou <ol> parent","roleNotValid":"L’item de liste n’a pas d’élément <ul> ou <ol> parent sans un role ou un role=\\"list\\""}},"only-dlitems":{"pass":"L’élément de liste n’a que des descendants directs qui sont autorisés dans les éléments <dt> ou <dd>","fail":"L’élément de liste a des descendants directs qui ne sont pas autorisés dans les éléments <dt> ou <dd>"},"only-listitems":{"pass":"L’élément de liste n’a que des descendants directs qui sont autorisés dans les éléments <li>","fail":{"default":"L’élément de liste comporte des descendants directs qui ne sont pas autorisés à l’intérieur de l’élément <li>","roleNotValid":"L’élément de liste comporte des descendants directs avec un rôle qui n’est pas autorisé : ${data.roles}"}},"structured-dlitems":{"pass":"S’il n’est pas vide, l’élément contient au moins un élément <dt> et un élément <dd>","fail":"S’il n’est pas vide, l’élément doit contenir au moins un élément <dt> et un élément <dd>"},"caption":{"pass":"L’élément multimédia a une piste de sous-titres","incomplete":"Aucune piste de sous-titres n’a pu être trouvée pour cet élément"},"frame-tested":{"pass":"L’iframe a été testée avec axe-core","fail":"L’iframe n’a pu être testée avec axe-core","incomplete":"L’iframe doit encore être testée avec axe-core"},"no-autoplay-audio":{"pass":"<video> ou <audio> ne produit pas de son pour une durée plus grande que celle permise ou a un mécanisme de contrôle","fail":"<video> ou <audio> produisent du son pour une durée plus grande que celle permise et n’ont pas de mécanisme de contrôle","incomplete":"Verifier que l’élément <video> ou <audio> ne produit pas de son pour une durée plus grande que celle permise ou a un mécanisme de contrôle"},"css-orientation-lock":{"pass":"L’utilisation de l’écran est indépendante de l’orientation et n’est pas limitée à un mode d’affichage donné","fail":"L’utilisation de l’écran est limitée à une orientation donnée par CSS, rendant l’affichage inutilisable","incomplete":"Le verrouillage de l’orientation d’affichage par CSS ne peut être déterminé"},"meta-viewport-large":{"pass":"La balise <meta> ne limite pas l’agrandissement sur les appareils mobiles","fail":"La balise <meta> limite l’agrandissement sur les appareils mobiles"},"meta-viewport":{"pass":"La balise <meta> n’empêche pas l’agrandissement sur les appareils mobiles","fail":"La balise <meta> empêche l’agrandissement sur les appareils mobiles"},"header-present":{"pass":"La page a un entête","fail":"La page n’a pas d’entête"},"heading-order":{"pass":"Hiérarchie entre les titres valide","fail":"Hiérarchie entre les titres invalide","incomplete":"Impossible de déterminer le titre précédent"},"identical-links-same-purpose":{"pass":"Il n’y a pas d’autre lien avec le même nom qui a pour destination une URL différente","incomplete":"Vérifier que les liens ont la même finalité ou sont volontairement ambigus."},"internal-link-present":{"pass":"Lien d’évitement valide trouvé","fail":"Aucun lien d’évitement valide trouvé"},"landmark":{"pass":"La page a une région","fail":"La page n’a pas de région"},"meta-refresh":{"pass":"Aucune balise <meta> ne rafraîchit immédiatement la page","fail":"La balise <meta> force le rafraîchissement minuté de la page"},"p-as-heading":{"pass":"Les éléments <p> ne sont pas stylés comme des titres","fail":"Des titres doivent être utilisés au lieu de styler des éléments <p>"},"region":{"pass":"Contenu imbriqué dans une région ARIA","fail":"Contenu non imbriqué dans une région ARIA"},"skip-link":{"pass":"La cible du lien d’évitement existe","incomplete":"La cible du lien d’évitement devrait devenir visible lors de l’activation","fail":"Lien d’évitement sans cible"},"unique-frame-title":{"pass":"L’attribut title de l’élément est unique","fail":"L’attribut title de l’élément n’est pas unique"},"duplicate-id-active":{"pass":"Le document ne comporte aucun élément actif partageant la même valeur d’attribut id","fail":"Le document comporte ou un plusieurs éléments actifs partageant la même valeur d’attribut id : ${data}"},"duplicate-id-aria":{"pass":"Le document ne comporte aucun élément référencé par ARIA ou étiquettes partageant la même valeur d’attribut id","fail":"Le document comporte un ou plusieurs éléments référencés par ARIA partageant la même valeur d’attribut id : ${data}"},"duplicate-id":{"pass":"Le document n’a pas d’éléments qui partagent le même attribut id","fail":"Le document a plusieurs éléments avec le même attribut id : ${data}"},"aria-label":{"pass":"L’attribut aria-label existe et n’est pas vide","fail":"L’attribut aria-label n’existe pas ou est vide"},"aria-labelledby":{"pass":"L’attribut aria-labelledby existe et fait référence à des éléments visibles par les lecteurs d’écran","fail":"L’attribut aria-labelledby n’existe pas, fait référence à des éléments qui n’existent pas ou à des éléments vides ou non visibles","incomplete":"S’assurer que l’attribut aria-labelledby fait référence à un élément existant"},"avoid-inline-spacing":{"pass":"Aucun style inline affectant l’espacement du texte avec \'!important\' n’a été spécifié","fail":{"singular":"Retirer \'!important\' du style inline ${data.values}, car le remplacement n’est pas pris en charge par la plupart des navigateurs","plural":"Retirer \'!important\' des styles inline ${data.values}, car le remplacement n’est pas pris en charge par la plupart des navigateurs"}},"button-has-visible-text":{"pass":"L’élément a un contenu textuel visible par les lecteurs d’écran","fail":"L’élément n’a aucun contenu textuel visible par les lecteurs d’écran","incomplete":"Impossible de vérifier si l’élément a des enfants"},"doc-has-title":{"pass":"Le document a un élément <title> non vide","fail":"Le document n’a pas d’élément <title> non vide"},"exists":{"pass":"L’élément n’existe pas","incomplete":"L’élément existe"},"has-alt":{"pass":"L’élément a un attribut alt","fail":"L’élément n’a pas d’attribut alt"},"has-visible-text":{"pass":"L’élément a un contenu textuel visible par les lecteurs d’écran","fail":"L’élément n’a aucun contenu textuel visible par les lecteurs d’écran","incomplete":"Impossible de vérifier si l’élément a des enfants"},"is-on-screen":{"pass":"L’élément n’est pas visible","fail":"L’élément est visible"},"non-empty-alt":{"pass":"L’élément a un attribut alt non vide","fail":{"noAttr":"L’élément n’a pas d’attribut alt","emptyAttr":"L’élément a un attribut alt vide"}},"non-empty-if-present":{"pass":{"default":"L’élément n’a pas d’attribut value","has-label":"L’élément a un attribut value non-vide"},"fail":"L’élément a un attribut value, et cet attribut est vide"},"non-empty-placeholder":{"pass":"L’élément a un attribut placeholder","fail":{"noAttr":"L’élément n’a pas d’attribut placeholder","emptyAttr":"L’élément a un attribut placeholder vide"}},"non-empty-title":{"pass":"L’élément a un attribut title","fail":{"noAttr":"L’élément n’a pas d’attribut title","emptyAttr":"L’élément a un attribut title vide"}},"non-empty-value":{"pass":"L’élément a un attribut value non vide","fail":{"noAttr":"L’élément n’a pas d’attribut value","emptyAttr":"L’élément a un attribut value vide"}},"presentational-role":{"pass":"La sémantique par défaut de l’élément a été remplacée par role=\\"${data.role}\\"","fail":{"default":"La sémantique par défaut de l’élément n’a pas été remplacée par role=\\"none\\" ou role=\\"presentation\\"","globalAria":"Le rôle de l’élément n’est pas un rôle de présentation car il a un attribut ARIA global","focusable":"Le rôle de l’élément n’est pas un rôle de présentation car il est focalisable","both":"Le rôle de l’élément n’est pas un rôle de présentation car il a un attribut ARIA global et est focalisable"}},"role-none":{"pass":"La sémantique par défaut de l’élément est annulée avec role=\\"none\\"","fail":"La sémantique par défaut de l’élément n’est pas annulée avec role=\\"none\\""},"role-presentation":{"pass":"La sémantique par défaut de l’élément est annulée avec role=\\"presentation\\"","fail":"La sémantique par défaut de l’élément n’est pas annulée avec role=\\"presentation\\""},"svg-non-empty-title":{"pass":"L’élément a un enfant qui est un titre","fail":{"noTitle":"L’élément n’a pas d’enfant qui est un titre","emptyTitle":"Le titre qui est enfant de cet élément est vide"},"incomplete":"Impossible de déterminer si l’élément a un enfant qui est un titre"},"caption-faked":{"pass":"La première ligne d’un tableau n’est pas utilisée en guise de légende","fail":"La première ligne d’un tableau devrait être un caption et non des cellules de tableau"},"html5-scope":{"pass":"L’attribut scope est utilisé uniquement sur des cellules d’entête de tableau","fail":"En HTML 5, l’attribut scope ne peut être utilisé que sur des cellules d’entête de tableau"},"same-caption-summary":{"pass":"Les contenus de l’attribut summary et de <caption> ne sont pas identiques","fail":"Les contenus de l’attribut summary et de <caption> sont identiques"},"scope-value":{"pass":"L’attribut scope est utilisé correctement","fail":"La valeur de l’attribut scope ne peut être que \'row\' ou \'col\'"},"td-has-header":{"pass":"Toutes les cellules de données non vides ont un entête de tableau","fail":"Certaines cellules de données non vides n’ont pas d’entête de tableau"},"td-headers-attr":{"pass":"L’attribut headers est utilisé exclusivement pour faire référence à d’autres cellules dans le tableau","incomplete":"L’attribut headers est vide","fail":"L’attribut headers n’est pas utilisé exclusivement pour faire référence à d’autres cellules dans le tableau"},"th-has-data-cells":{"pass":"Toutes les cellules d’entête de tableau font référence à des cellules de données","fail":"Toutes les cellules d’entête de tableau ne font pas référence à des cellules de données","incomplete":"Les cellules de données sont absentes ou vides"},"hidden-content":{"pass":"Tout le contenu de la page a été analysé.","fail":"Il y a eu des problèmes pour analyser le contenu de cette page.","incomplete":"Il y a du contenu caché sur la page qui n’a pas été analysé. Vous allez devoir modifier l’affichage de ce contenu afin de l’analyser."}}'),failureSummaries:{any:{failureMessage:`Corriger l’un des éléments suivants\xA0: {{~it:value}}
4
+ {{=value.split('\\n').join('\\n ')}}{{~}}`},none:{failureMessage:`Corriger tous les éléments suivants\xA0: {{~it:value}}
5
+ {{=value.split('\\n').join('\\n ')}}{{~}}`}},incompleteFallbackMessage:`axe n’a pu en déterminer la raison. Il est temps de sortir l’inspecteur d’éléments !`},n={lang:`es`,rules:JSON.parse(`{"accesskeys":{"description":"Garantiza que cada valor para el atributo accesskey es único","help":"El valor del atributo accesskey debe ser único"},"area-alt":{"description":"Garantiza que los elementos <area> de los mapas de imágenes tienen texto alternativo","help":"Los elementos <area> activos deben tener texto alternativo"},"aria-allowed-attr":{"description":"Garantiza que los atributos ARIA están permitidos para el rol de un elemento","help":"Los elementos solo deben usar atributos ARIA permitidos"},"aria-allowed-role":{"description":"Garantiza que el atributo role tiene un valor apropiado para el elemento","help":"ARIA role debe ser apropiado para el elemento"},"aria-hidden-body":{"description":"Garantiza que aria-hidden='true' no está presente en el 'body' del documento.","help":"aria-hidden='true' no debe estar presente en el 'body' del documento"},"aria-hidden-focus":{"description":"Garantiza que los elementos 'aria-hidden' no contienen elementos que admitan el foco","help":"Los elementos 'ARIA hidden' no deben contener elementos que admitan el foco"},"aria-input-field-name":{"description":"Garantiza que cada 'ARIA input field' tiene un nombre accesible","help":"Los 'ARIA input fields' tienen un nombre accesible"},"aria-required-attr":{"description":"Garantiza que los elementos con 'ARIA roles' tienen todos los atributos ARIA requeridos","help":"Deben proporcionarse los atributos ARIA requeridos"},"aria-required-children":{"description":"Garantiza que los elementos con un 'ARIA role' que requieren 'child roles' los contienen","help":"Ciertos 'ARIA roles' deben contener determinados hijos"},"aria-required-parent":{"description":"Garantiza que los elementos con un 'ARIA role' que requieren 'parent roles' están contenidos en ellos","help":"Ciertos 'ARIA roles' deben estar contenidos en determinados padres"},"aria-roles":{"description":"Garantiza que todos los elementos con un atributo role usan un valor válido","help":"Los 'ARIA roles' usados deben cumplir los requisitos para valores válidos"},"aria-toggle-field-name":{"description":"Garantiza que cada 'ARIA toggle field' tiene un nombre accesible","help":"Los 'ARIA toggle fields' tienen un nombre accesible"},"aria-valid-attr-value":{"description":"Garantiza que todos los atributos ARIA tienen valores válidos","help":"Los atributos ARIA deben cumplir los requisitos para valores válidos"},"aria-valid-attr":{"description":"Garantiza que los atributos que empiezan por aria- son atributos ARIA válidos","help":"Los atributos ARIA deben cumplir los requisitos para nombres válidos"},"audio-caption":{"description":"Garantiza que los elementos <audio> tienen subtítulos","help":"Los elementos <audio> deben tener una pista de subtítulos"},"autocomplete-valid":{"description":"Garantizar que el atributo autocomplete es correcto y adecuado para el campo de formulario","help":"El atributo autocomplete debe usarse correctamente"},"avoid-inline-spacing":{"description":"Garantizar que el espaciado de texto establecido mediante atributos style se puede ajustar con hojas de estilo personalizadas","help":"El espaciado de texto 'inline' debe poder ajustarse mediante hojas de estilo personalizadas"},"blink":{"description":"Garantiza que no se usan elementos <blink>","help":"Los elementos <blink> están obsoletos y no deben usarse"},"button-name":{"description":"Garantiza que los botones tienen texto discernible","help":"Los botones deben tener texto discernible"},"bypass":{"description":"Garantiza que cada página tiene al menos un medio para que un usuario pueda saltarse la navegación y pasar directamente al contenido","help":"Las páginas deben tener medios para saltarse bloques repetidos"},"color-contrast":{"description":"Garantiza que el contraste entre colores de primer plano y fondo cumple los límites de la ratio para contraste WCAG 2 AA","help":"Los elementos deben tener un contraste de colores suficiente"},"color-contrast-enhanced":{"description":"Garantiza que el contraste entre colores de primer plano y fondo cumple los límites de la ratio para contraste WCAG 2 AAA","help":"Los elementos deben tener un contraste de colores suficiente"},"css-orientation-lock":{"description":"Garantiza que el contenido no está bloqueado en ninguna orientación de pantalla específica, y que el contenido es manejable en cualquier orientación de pantalla","help":"Las 'CSS Media queries' no se usan para bloquear la orientación de pantalla"},"definition-list":{"description":"Garantiza que los elementos <dl> están estructurados correctamente","help":"Los elementos <dl> solo deben contener directamente grupos de <dt> y <dd> debidamente ordenados, o elementos <script> o <template>"},"dlitem":{"description":"Garantiza que los elementos <dt> y <dd> están contenidos en un <dl>","help":"Los elementos <dt> y <dd> deben estar contenidos en un <dl>"},"document-title":{"description":"Garantiza que cada documento HTML tiene un elemento <title> no vacío","help":"Los documentos deben tener elementos <title> para ayudar en la navegación"},"duplicate-id-active":{"description":"Garantiza que cada valor para el atributo id de elementos activos es único","help":"Los 'IDs' de elementos activos deben ser únicos"},"duplicate-id-aria":{"description":"Garantiza que cada valor del atributo id usado en ARIA y en 'labels' es único","help":"Los 'IDs' usados en ARIA y en 'labels' deben ser únicos"},"duplicate-id":{"description":"Garantiza que cada valor para el atributo id es único","help":"El valor del atributo id debe ser único"},"empty-heading":{"description":"Garantiza que los encabezados tienen texto discernible","help":"Los encabezados no deben estar vacíos"},"focus-order-semantics":{"description":"Garantiza que los elementos en orden de foco tienen un rol apropiado","help":"Los elementos en orden de foco necesitan un rol apropiado para contenido interactivo"},"form-field-multiple-labels":{"description":"Garantiza que el campo de formulario no tiene múltiples elementos label","help":"El campo de formulario no debe tener múltiples elementos label"},"frame-tested":{"description":"Garantiza que los elementos <iframe> y <frame> contienen el script axe-core","help":"Los marcos deben probarse con axe-core"},"frame-title-unique":{"description":"Garantiza que los elementos <iframe> y <frame> contienen un atributo título único","help":"Los marcos deben tener un único atributo title"},"frame-title":{"description":"Garantiza que los elementos <iframe> y <frame> contienen un atributo título no vacío","help":"Los marcos deben tener el atributo title"},"heading-order":{"description":"Garantiza que el orden de los encabezados es semánticamente correcto","help":"El nivel de encabezados solo debería incrementarse en 1"},"hidden-content":{"description":"Informa a los usuarios sobre contenido oculto.","help":"El contenido oculto de la página no se puede analizar"},"html-has-lang":{"description":"Garantiza que cada documento HTML tiene un atributo lang","help":"El elemento <html> debe tener un atributo lang"},"html-lang-valid":{"description":"Garantiza que el atributo lang del elemento <html> tiene un valor válido","help":"El elemento <html> debe tener un valor válido para el atributo lang"},"html-xml-lang-mismatch":{"description":"Garantizar que en los elementos HTML con atributos tanto lang como xml:lang válidos haya concordancia en el idioma base de la página","help":"Los elementos HTML con lang y xml:lang deben tener el mismo idioma base"},"image-alt":{"description":"Garantiza que los elementos <img> tienen texto alternativo o un rol de none o presentation","help":"Las imágenes deben tener texto alternativo"},"image-redundant-alt":{"description":"Garantiza que la alternativa a la imagen no se repite como texto","help":"El texto alternativo de las imágenes no debe repetirse como texto"},"input-button-name":{"description":"Garantizar que los 'input buttons' tienen texto discernible","help":"Los 'Input buttons' deben tener texto discernible"},"input-image-alt":{"description":"Garantiza que los elementos <input type=\\"image\\"> tienen texto alternativo","help":"Los 'image buttons' deben tener texto alternativo"},"label-content-name-mismatch":{"description":"Garantiza que, en los elementos etiquetados mediante su contenido, su texto visible debe formar parte de su nombre accesible","help":"Los elementos deben tener su texto visible como parte de su nombre accesible"},"label-title-only":{"description":"Garantiza que cada elemento de formulario no está etiquetado únicamente mediante los atributos title o aria-describedby ","help":"Los elementos de formulario deben tener una etiqueta visible"},"label":{"description":"Garantiza que cada elemento de formulario tiene una etiqueta","help":"Los elementos de formulario deben tener etiquetas"},"landmark-banner-is-top-level":{"description":"Garantiza que el punto de referencia banner está en el nivel superior","help":"El punto de referencia banner no debe estar contenido en otro punto de referencia"},"landmark-complementary-is-top-level":{"description":"Garantiza que el punto de referencia complementary o aside está en el nivel superior","help":"Aside no debe estar contenido en otro punto de referencia"},"landmark-contentinfo-is-top-level":{"description":"Garantiza que el punto de referencia contentinfo está en el nivel superior","help":"El punto de referencia contentinfo no debe estar contenido en otro punto de referencia"},"landmark-main-is-top-level":{"description":"Garantiza que el punto de referencia main está en el nivel superior","help":"El punto de referencia main no debe estar contenido en otro punto de referencia"},"landmark-no-duplicate-banner":{"description":"Garantiza que el documento tiene, como mucho, un punto de referencia banner","help":"El documento no debe tener más de un punto de referencia banner"},"landmark-no-duplicate-contentinfo":{"description":"Garantiza que el documento tiene, como mucho, un punto de referencia contentinfo","help":"El documento no debe tener más de un punto de referencia contentinfo"},"landmark-one-main":{"description":"Garantiza que el documento solo tiene un punto de referencia main y que cada marco incorporado en la página tiene, como mucho, un punto de referencia main","help":"El documento debe tener un punto de referencia main"},"landmark-unique":{"help":"Garantiza que los puntos de referencia son únicos","description":"Los puntos de referencia deben tener una única combinación de role o role/label/title (es decir, un nombre accesible único)"},"link-in-text-block":{"description":"Los enlaces pueden distinguirse sin depender del color","help":"Los enlaces deben distinguirse del texto adyacente por un medio que no dependa del color"},"link-name":{"description":"Garantiza que los enlaces tienen texto discernible","help":"Los enlaces deben tener texto discernible"},"list":{"description":"Garantiza que las listas están estructuradas correctamente","help":"<ul> y <ol> solo deben contener directamente elementos <li>, <script> o <template>"},"listitem":{"description":"Garantiza que los elementos <li> se utilizan semánticamente","help":"Los elementos <li> deben estar contenidos en un <ul> o un <ol>"},"marquee":{"description":"Garantiza que no se usan elementos <marquee>","help":"Los elementos <marquee> están obsoletos y no deben usarse"},"meta-refresh":{"description":"Garantiza que no se usa <meta http-equiv=\\"refresh\\">","help":"El refresco programado no debe existir"},"meta-viewport-large":{"description":"Garantizar que <meta name=\\"viewport\\"> puede ampliarse en grado significativo","help":"Los usuarios deben poder hacer zum y ampliar el texto hasta 500%"},"meta-viewport":{"description":"Garantiza que <meta name=\\"viewport\\"> no impide la ampliación y el zum en el texto","help":"No debe impedirse el zum y la ampliación"},"object-alt":{"description":"Garantiza que los elementos <object> tienen texto alternativo","help":"Los elementos <object> deben tener texto alternativo"},"p-as-heading":{"description":"Garantizar que los elementos p no se usan para diseñar encabezados","help":"No se usa texto en negrita, cursiva o tamaño de fuente para dar estilo de encabezados a elementos p"},"page-has-heading-one":{"description":"Garantizar que la página, o al menos uno de sus marcos, contiene un encabezado de nivel 1","help":"La página debe contener un encabezado de nivel 1"},"region":{"description":"Garantiza que todo el contenido de la página está incluido en puntos de referencia","help":"Todo el contenido de la página debe estar incluido en puntos de referencia"},"role-img-alt":{"description":"Garantiza que los elementos [role='img'] tienen texto alternativo","help":"Los elementos [role='img'] tienen un texto alternativo"},"scope-attr-valid":{"description":"Garantiza que el atributo scope se usa correctamente en las tablas","help":"El atributo scope debería usarse correctamente"},"scrollable-region-focusable":{"description":"Los elementos que tienen contenido que puede desplazarse verticalmente (en 'scroll') deberían ser accesibles mediante el teclado","help":"Asegurar que la región de desplazamiento vertical ('scroll') tiene acceso por teclado"},"server-side-image-map":{"description":"Garantiza que no se usan mapas de imágenes del lado del servidor","help":"No deben usarse mapas de imágenes del lado del servidor"},"skip-link":{"description":"Garantizar que todos los enlaces de salto ('skip') tienen un destino que admite el foco","help":"El destino del enlace de salto ('skip') debería existir y admitir el foco"},"tabindex":{"description":"Garantiza que los valores del atributo tabindex no son mayores que 0","help":"Los elementos no deberían tener un tabindex mayor que 0"},"table-duplicate-name":{"description":"Garantizar que las tablas no tienen el mismo summary y caption","help":"El elemento <caption> no debería contener el mismo texto que el atributo summary"},"table-fake-caption":{"description":"Garantizar que las tablas con título usan el elemento <caption>.","help":"Las celdas de datos o de encabezados no deberían usarse para dar título a una tabla de datos."},"td-has-header":{"description":"Garantizar que cada celda de datos no vacía de una tabla grande tiene uno o más encabezados de tabla","help":"Todos los elementos td no vacíos de una tabla mayor que 3 por 3 deben tener un encabezado de tabla asociado"},"td-headers-attr":{"description":"Garantizar que cada celda que use los encabezados en una tabla haga referencia a otra celda de esa tabla","help":"Todas las celdas de un elemento table que usen el atributo headers deben hacer referencia solo a otras celdas de esa misma tabla"},"th-has-data-cells":{"description":"Garantizar que cada encabezado de tabla en una tabla de datos hace referencia a celdas de datos","help":"Todos los elementos th y elementos con role=columnheader/rowheader deben tener las celdas de datos que describen"},"valid-lang":{"description":"Garantiza que los atributos lang tienen valores válidos","help":"El atributo lang debe tener un valor válido"},"video-caption":{"description":"Garantiza que los elementos <video> tienen subtítulos","help":"Los elementos <video> deben tener subtítulos"}}`),checks:JSON.parse(`{"abstractrole":{"pass":"No se usan 'abstract roles'","fail":"Los 'abstract roles' no se pueden usar directamente"},"aria-allowed-attr":{"pass":"Los atributos ARIA se usan correctamente para el rol definido","fail":{"singular":"En ARIA, atributos no están permitidos : \${data.values}","plural":"En ARIA, atributono está permitido : \${data.values}"}},"aria-allowed-role":{"pass":"El rol ARIA está permitido para el elemento proporcionado","fail":{"singular":"En ARIA, roles \${data.values} no están permitidos para el elemento proporcionado","plural":"En ARIA, role \${data.values} no está permitido para el elemento proporcionado"},"incomplete":{"singular":"En ARIA, hay que eliminar roles \${data.values} cuando el elemento se haga visible, ya que no están permitidos para el elemento","plural":"En ARIA, hay que eliminar role \${data.values} cuando el elemento se haga visible, ya que no está permitido para el elemento"}},"aria-hidden-body":{"pass":"No hay ningún atributo aria-hidden presente en el 'body' del documento","fail":"aria-hidden=true no debe estar presente en el 'body' del documento"},"aria-errormessage":{"pass":"Usa una técnica admitida para aria-errormessage","fail":{"singular":"En aria-errormessage, valores \${data.values}\`, se debe usar una técnica para anunciar el mensaje (p. ej., aria-live, aria-describedby, role=alert, etc.)","plural":"En aria-errormessage, valor \${data.values}\`, se debe usar una técnica para anunciar el mensaje (p. ej., aria-live, aria-describedby, role=alert, etc.)"}},"has-widget-role":{"pass":"El elemento tiene un rol de widget.","fail":"El elemento no tiene un rol de widget."},"invalidrole":{"pass":"El rol ARIA es válido","fail":"El rol debe ser uno de los roles ARIA válidos"},"no-implicit-explicit-label":{"pass":"No hay discordancia entre un <label> y el nombre accesible","incomplete":"Comprobar que el <label> no necesita ser parte del ARIA \${data} para el nombre del campo"},"aria-required-attr":{"pass":"Todos los atributos ARIA requeridos están presentes","fail":{"singular":"Atributos requeridos no presentes: \${data.values}","plural":"Atributo requerido no presente: \${data.values}"}},"aria-required-children":{"pass":{"default":"Los hijos ARIA requeridos están presentes"},"fail":{"singular":"Rol de hijos requerido en ARIA no presente: \${data.values}","plural":"Rol de hijo requerido en ARIA no presente: \${data.values}"},"incomplete":{"singular":"Esperando que se añada rol ARIA para hijos: \${data.values}","plural":"Esperando que se añada rol ARIA para hijo: \${data.values}"}},"aria-required-parent":{"pass":"Rol de padre requerido en ARIA presente","fail":{"singular":"Rol de ARIA requerido para padre s no presente: \${data.values}","plural":"Rol de ARIA requerido para padre no presente: \${data.values}"}},"aria-unsupported-attr":{"pass":"El atributo ARIA está admitido","fail":"El atributo ARIA no está ampliamente admitido en lectores de pantalla y tecnologías de apoyo: \${data.values}"},"unsupportedrole":{"pass":"El rol ARIA está admitido","fail":"El rol usado no está ampliamente admitido en lectores de pantalla y tecnologías de apoyo: \${data.values}"},"aria-valid-attr-value":{"pass":"Los valores de los atributos ARIA son válidos","fail":{"singular":"Valores no válidos para atributo ARIA: \${data.values}","plural":"Valor no válido para atributo ARIA: \${data.values}"},"incomplete":{"singular":"Atributos ARIA ID de elemento no existe en la página: \${data.values}","plural":"Atributo ARIA ID de elemento no existe en la página: \${data.values}"}},"aria-valid-attr":{"pass":{"singular":"Nombres de atributos ARIA válidos","plural":"Nombrede atributo ARIA válido"},"fail":{"singular":"Nombres de atributos ARIA no válidos: \${data.values}","plural":"Nombre de atributo ARIA no válido: \${data.values}"}},"valid-scrollable-semantics":{"pass":"El elemento tiene una semántica válida para un elemento en orden de foco.","fail":"El elemento tiene una semántica no válida para un elemento en orden de foco."},"color-contrast":{"pass":"El elemento tiene un contraste de color suficiente de \${data.contrastRatio}","fail":"El elemento tiene un contraste de color insuficiente de \${data.contrastRatio} (color de primer plano: \${data.fgColor}, color de fondo: \${data.bgColor}, tamaño de fuente: \${data.fontSize}, grosor de fuente: \${data.fontWeight}). Ratio de contraste esperado: \${data.expectedContrastRatio}","incomplete":{"bgImage":"El color de fondo del elemento no se pudo determinar debido a una imagen de fondo","bgGradient":"El color de fondo del elemento no se pudo determinar debido a un degradado de fondo","imgNode":"El color de fondo del elemento no se pudo determinar porque el elemento contiene un nodo de imagen","bgOverlap":"El color de fondo no se pudo determinar porque tiene otro elemento superpuesto","fgAlpha":"El color de fondo no se pudo determinar debido a una transparencia alfa","elmPartiallyObscured":"El color de fondo no se pudo determinar porque está parcialmente oculto por otro elemento","elmPartiallyObscuring":"El color de fondo del elemento no se pudo determinar porque se superpone parcialmente a otros elementos","outsideViewport":"El color de fondo del elemento no se pudo determinar porque está fuera de la ventana gráfica ('viewport')","equalRatio":"El elemento tiene una ratio de contraste 1:1 con el fondo","shortTextContent":"El contenido del elemento es demasiado corto para determinar si es contenido de texto propiamente dicho","default":"Imposible determinar la ratio de contraste"}},"color-contrast-enhanced":{"pass":"El elemento tiene un contraste de color suficiente de \${data.contrastRatio}","fail":"El elemento tiene un contraste de color insuficiente de \${data.contrastRatio} (color de primer plano: \${data.fgColor}, color de fondo: \${data.bgColor}, tamaño de fuente: \${data.fontSize}, grosor de fuente: \${data.fontWeight}). Ratio de contraste esperado: \${data.expectedContrastRatio}","incomplete":{"bgImage":"El color de fondo del elemento no se pudo determinar debido a una imagen de fondo","bgGradient":"El color de fondo del elemento no se pudo determinar debido a un degradado de fondo","imgNode":"El color de fondo del elemento no se pudo determinar porque el elemento contiene un nodo de imagen","bgOverlap":"El color de fondo no se pudo determinar porque tiene otro elemento superpuesto","fgAlpha":"El color de fondo no se pudo determinar debido a una transparencia alfa","elmPartiallyObscured":"El color de fondo no se pudo determinar porque está parcialmente oculto por otro elemento","elmPartiallyObscuring":"El color de fondo del elemento no se pudo determinar porque se superpone parcialmente a otros elementos","outsideViewport":"El color de fondo del elemento no se pudo determinar porque está fuera de la ventana gráfica ('viewport')","equalRatio":"El elemento tiene una ratio de contraste 1:1 con el fondo","shortTextContent":"El contenido del elemento es demasiado corto para determinar si es contenido de texto propiamente dicho","default":"Imposible determinar la ratio de contraste"}},"link-in-text-block":{"pass":"Los enlaces se pueden distinguir respecto al texto adyacente de forma ajena al color","fail":"Es necesario distinguir los enlaces respecto al texto adyacente de una forma ajena al color","incomplete":{"bgContrast":"No se pudo determinar la ratio de contraste del elemento. Comprobar si existe un estilo hover/focus distinto","bgImage":"La ratio de contraste del elemento no se pudo determinar debido a una imagen de fondo","bgGradient":"La ratio de contraste del elemento no se pudo determinar debido a un degradado de fondo","imgNode":"La ratio de contraste del elemento no se pudo determinar porque el elemento contiene un nodo de imagen","bgOverlap":"La ratio de contraste del elemento no se pudo determinar debido a superposición de elementos","default":"Imposible determinar la ratio de contraste"}},"autocomplete-appropriate":{"pass":"el valor de autocomplete está en un elemento apropiado","fail":"el valor de autocomplete es inapropiado para este tipo de input"},"autocomplete-valid":{"pass":"el atributo autocomplete está formateado correctamente","fail":"el atributo autocomplete está formateado incorrectamente"},"accesskeys":{"pass":"El valor del atributo accesskey es único","fail":"El documento tiene múltiples elementos con el mismo accesskey"},"focusable-content":{"pass":"El elemento contiene elementos que admiten el foco","fail":"El elemento debería tener contenido que admita el foco"},"focusable-disabled":{"pass":"Dentro del elemento no hay elementos que admitan el foco","fail":"El contenido que admita el foco debería ser desactivado o eliminado del DOM"},"focusable-element":{"pass":"El elemento admite el foco","fail":"El elemento debería admitir el foco"},"focusable-no-name":{"pass":"El elemento no está en orden de tabulación o tiene texto accesible","fail":"El elemento está en orden de tabulación y no tiene texto accesible"},"focusable-not-tabbable":{"pass":"Dentro del elemento no hay elementos que admitan el foco","fail":"El contenido que admita el foco debería tener tabindex='-1' o ser eliminado del DOM"},"landmark-is-top-level":{"pass":"El punto de referencia \${data.role} está en el nivel superior.","fail":"El punto de referencia \${data.role} está contenido en otro punto de referencia."},"page-has-heading-one":{"pass":"La página tiene al menos un encabezado de nivel 1","fail":"La página debe tener un encabezado de nivel 1"},"page-has-main":{"pass":"El documento tiene al menos un punto de referencia main","fail":"El documento no tiene punto de referencia main"},"page-no-duplicate-banner":{"pass":"El documento no tiene más de un punto de referencia banner","fail":"El documento tiene más de un punto de referencia banner"},"page-no-duplicate-contentinfo":{"pass":"El documento no tiene más de un punto de referencia contentinfo","fail":"El documento tiene más de un punto de referencia contentinfo"},"page-no-duplicate-main":{"pass":"El documento no tiene más de un punto de referencia main","fail":"El documento tiene más de un punto de referencia main"},"tabindex":{"pass":"El elemento no tiene un tabindex mayor que 0","fail":"El elemento tiene un tabindex mayor que 0"},"alt-space-value":{"pass":"El elemento tiene un valor válido para el atributo alt","fail":"El elemento tiene un atributo alt que contiene solo un carácter de espacio, que no es ignorado por todos los lectores de pantalla"},"duplicate-img-label":{"pass":"El elemento no duplica texto existente en el texto alternativo de <img>","fail":"El elemento contiene un elemento <img> con texto alternativo que duplica texto existente"},"explicit-label":{"pass":"El elemento de formulario tiene un <label> explícito","fail":"El elemento de formulario no tiene un <label> explícito"},"help-same-as-label":{"pass":"El texto de ayuda (title o aria-describedby) no duplica el texto de label","fail":"El texto de ayuda (title o aria-describedby) es el mismo que el texto de label"},"hidden-explicit-label":{"pass":"El elemento de formulario tiene un <label> explícito visible","fail":"El elemento de formulario tiene un <label> explícito oculto"},"implicit-label":{"pass":"El elemento de formulario tiene un <label> implícito ('envuelto')","fail":"El elemento de formulario no tiene un <label> implícito ('envuelto')"},"label-content-name-mismatch":{"pass":"El elemento contiene texto visible como parte de su nombre accesible","fail":"El texto contenido en el elemento no está incluido en el nombre accesible"},"multiple-label":{"pass":"El campo de formulario no tiene múltiples elementos label","fail":"Múltiples elementos label no son ampliamente admitidos en las tecnologías de apoyo"},"title-only":{"pass":"El elemento de formulario no usa únicamente el atributo title para su etiqueta","fail":"Solo se usó title para generar la etiqueta de un elemento de formulario"},"landmark-is-unique":{"pass":"Los puntos de referencia deben tener una combinación única de role o role/label/title (es decir, un nombre accesible único)","fail":"El punto de referencia debe tener un aria-label, aria-labelledby o title único para que los puntos de referencia sean distinguibles"},"has-lang":{"pass":"El elemento <html> tiene un atributo lang","fail":"El elemento <html> no tiene un atributo lang"},"valid-lang":{"pass":"El valor del atributo lang está incluido en la lista de idiomas válidos","fail":"Valor del atributo lang no incluido en la lista de idiomas válidos"},"xml-lang-mismatch":{"pass":"Los atributos lang y xml:lang tienen el mismo idioma base","fail":"Los atributos lang y xml:lang no tienen el mismo idioma base"},"dlitem":{"pass":"El elemento de lista de descripción tiene un elemento <dl> padre","fail":"El elemento de lista de descripción no tiene un elemento <dl> padre"},"listitem":{"pass":"El elemento de lista tiene un elemento padre <ul>, <ol> o role=\\"list\\"","fail":"El elemento de lista no tiene un elemento padre <ul>, <ol> o role=\\"list\\""},"only-dlitems":{"pass":"El elemento de lista solo tiene hijos directos que están permitidos dentro de elementos <dt> o <dd>","fail":"El elemento de lista tiene hijos directos que no están permitidos dentro de elementos <dt> o <dd>"},"only-listitems":{"pass":"El elemento de lista solo tiene hijos directos que están permitidos dentro de elementos <li>","fail":"El elemento de lista tiene hijos directos que no están permitidos dentro de elementos <li>"},"structured-dlitems":{"pass":"Cuando no está vacío, el elemento tiene tanto elementos <dt> como <dd>","fail":"Cuando no está vacío, el elemento no tiene al menos un elemento <dt> seguido por, al menos, un elemento <dd>"},"caption":{"pass":"El elemento multimedia tiene una pista de subtítulos","incomplete":"Comprobar que hay disponibles subtítulos para el elemento"},"frame-tested":{"pass":"El marco incorporado fue probado con axe-core","fail":"El marco incorporado no se pudo probar con axe-core","incomplete":"El marco incorporado aún tiene que probarse con axe-core"},"css-orientation-lock":{"pass":"La pantalla es manejable y no existe bloqueo de orientación","fail":"Se aplica bloqueo de orientación CSS y hace que la pantalla sea inmanejable","incomplete":"No se puede determinar si hay bloqueo de orientación CSS"},"meta-viewport-large":{"pass":"La etiqueta <meta> no impide un zum significativo en dispositivos móviles","fail":"La etiqueta <meta> limita el zum en dispositivos móviles"},"meta-viewport":{"pass":"La etiqueta <meta> no impide el zum en dispositivos móviles","fail":"\${data} en la etiqueta <meta> impide el zum en dispositivos móviles"},"header-present":{"pass":"La página tiene un 'header'","fail":"La página no tiene un 'header'"},"heading-order":{"pass":"Horden de encabezados válido","fail":"Orden de encabezados no válido"},"internal-link-present":{"pass":"Encontrado enlace de salto ('skip') válido","fail":"No se han encontrado enlaces de salto ('skip') válidos"},"landmark":{"pass":"La página tiene una región punto de referencia","fail":"La página no tiene una región punto de referencia"},"meta-refresh":{"pass":"La etiqueta <meta> no refresca la página inmediatamente","fail":"La etiqueta <meta> fuerza el refresco programado de la página"},"p-as-heading":{"pass":"Los elementos <p> no se han diseñado como encabezados","fail":"Deberían usarse elementos de encabezado en vez de elementos <p> con estilos"},"region":{"pass":"Todo el contenido de la página está incluido en puntos de referencia","fail":"La página tiene contenido no incluido en puntos de referencia"},"skip-link":{"pass":"Existe el destino del enlace de salto ('skip')","incomplete":"El destino del enlace de salto ('skip') debería volverse visible en la activación","fail":"No hay destino para el enlace de salto ('skip')"},"unique-frame-title":{"pass":"El atributo title del elemento es único","fail":"El atributo title del elemento no es único"},"duplicate-id-active":{"pass":"El documento no tiene elementos activos que compartan el mismo atributo id","fail":"El documento tiene elementos activos con el mismo atributo id: \${data}"},"duplicate-id-aria":{"pass":"El documento no tiene elementos referidos con ARIA o etiquetas que compartan el mismo atributo id","fail":"El documento tiene múltiples elementos referidos con ARIA con el mismo atributo id: \${data}"},"duplicate-id":{"pass":"El documento no tiene elementos estáticos que compartan el mismo atributo id","fail":"El documento tiene múltiples elementos estáticos con el mismo atributo id"},"aria-label":{"pass":"El atributo aria-label existe y no está vacío","fail":"El atributo aria-label no existe o está vacío"},"aria-labelledby":{"pass":"El atributo aria-labelledby existe y hace referencia a elementos visibles para lectores de pantalla","fail":"El atributo aria-labelledby no existe, hace referencia a elementos inexistentes o hace referencia a elementos vacíos"},"avoid-inline-spacing":{"pass":"No se han especificado estilos 'inline' con '!important' que afecten al espaciado de texto","fail":{"singular":"Eliminar '!important' de inline styles \${data.values}, porque su anulación no está admitida en la mayoría de navegadores","plural":"Eliminar '!important' de inline style \${data.values}, porque su anulación no está admitida en la mayoría de navegadores"}},"button-has-visible-text":{"pass":"El elemento tiene texto interno visible para lectores de pantalla","fail":"El elemento no tiene texto interno visible para lectores de pantalla"},"doc-has-title":{"pass":"El documento tiene un elemento <title> no vacío","fail":"El documento no tiene un elemento <title> no vacío"},"exists":{"pass":"El elemento no existe","fail":"El elemento existe"},"has-alt":{"pass":"El elemento tiene un atributo alt","fail":"El elemento no tiene un atributo alt"},"has-visible-text":{"pass":"El elemento tiene texto visible para lectores de pantalla","fail":"El elemento no tiene texto visible para lectores de pantalla"},"is-on-screen":{"pass":"El elemento no es visible","fail":"El elemento es visible"},"non-empty-alt":{"pass":"El elemento tiene un atributo alt no vacío","fail":"El elemento no tiene atributo alt o el atributo alt está vacío"},"non-empty-if-present":{"pass":{"default":"El elemento no tiene un atributo de valor","has-label":"El elemento tiene un atributo de valor no vacío"},"fail":"El elemento tiene un atributo de valor y el atributo de valor está vacío"},"non-empty-title":{"pass":"El elemento tiene un atributo title","fail":"El elemento no tiene atributo title o el atributo title está vacío"},"non-empty-value":{"pass":"El elemento tiene un atributo de valor no vacío","fail":"El elemento no tiene un atributo de valor o el atributo de valor está vacío"},"role-none":{"pass":"La semántica predeterminada del elemento se anuló mediante role=\\"none\\"","fail":"La semántica predeterminada del elemento no se anuló mediante role=\\"none\\""},"role-presentation":{"pass":"La semántica predeterminada del elemento se anuló mediante role=\\"presentation\\"","fail":"La semántica predeterminada del elemento no se anuló mediante role=\\"presentation\\""},"caption-faked":{"pass":"La primera fila de una tabla no se usa como título ('caption')","fail":"La primera fila de la tabla debería ser un título ('caption') en vez de una celda de tabla"},"html5-scope":{"pass":"El atributo scope solo se usa en elementos de encabezados de tabla (<th>)","fail":"En HTML 5, los atributos scope solo se pueden usar en elementos de encabezados de tabla (<th>)"},"same-caption-summary":{"pass":"El contenido del atributo summary y de <caption> no están duplicados","fail":"El contenido del atributo summary y del elemento <caption> son idénticos"},"scope-value":{"pass":"El atributo scope se usa correctamente","fail":"El valor del atributo scope solo puede ser 'row' o 'col'"},"td-has-header":{"pass":"Todas las celdas de datos no vacías tienen encabezados de tabla","fail":"Algunas celdas de datos no vacías no tienen encabezados de tabla"},"td-headers-attr":{"pass":"El atributo headers se usa exclusivamente para hacer referencia a otras celdas de la tabla","fail":"El atributo headers no se usa exclusivamente para hacer referencia a otras celdas de la tabla"},"th-has-data-cells":{"pass":"Todas las celdas de encabezados de tabla hacen referencia a celdas de datos","fail":"No todas las celdas de encabezados de tabla hacen referencia a celdas de datos","incomplete":"Hay celdas de datos de la tabla ausentes o vacías"},"hidden-content":{"pass":"Se ha analizado todo el contenido de la página.","fail":"Hubo problemas al analizar el contenido de esta página.","incomplete":"Hay contenido oculto en la página que no fue analizado. Necesitarás activar la visualización de este contenido a fin de analizarlo."}}`),failureSummaries:{any:{failureMessage:`Corregir cualquiera de las siguientes incidencias:{{~it:value}}
6
+ {{=value.split('\\n').join('\\n ')}}{{~}}`},none:{failureMessage:`Corregir (todas) las siguientes incidencias:{{~it:value}}
7
+ {{=value.split('\\n').join('\\n ')}}{{~}}`}},incompleteFallbackMessage:`Corregir (todas) las siguientes incidencias:{{~it:value}}
8
+ {{=value.split('\\n').join('\\n ')}}{{~}}`},r=`This looks like a bot-check or access-denied page, not the site's own content. The results describe that page. Complete the check in the browser, wait for the real page to load, then scan again.`,i=/^(just a moment|attention required|access denied|please wait|checking your browser|security check|verify(ing)? you are (a )?human|ddos-guard)/i,a=/(performing security verification|checking your browser before accessing|checking if the site connection is secure|verify(ing)? you are (a )?human|enable javascript and cookies to continue)/i,o=`#challenge-form, #challenge-running, #cf-wrapper, .cf-browser-verification, [id^="cf-chl"], iframe[src*="challenges.cloudflare.com"], iframe[src*="captcha-delivery.com"]`,s=/^(www\.)?[a-z0-9-]+(\.[a-z0-9-]+)+$/i,c=`iframe[src*="hcaptcha.com"], iframe[src*="/recaptcha/"]`;function l(e){let t=(e.title||``).trim(),n=(e.body?.innerText||``).trim(),l=n.length<1500;return i.test(t)&&l||e.querySelector(o)||!n&&s.test(t)||l&&a.test(n)||n.length<600&&e.querySelector(c)?r:null}function u(e){return typeof CSS<`u`&&typeof CSS.escape==`function`?CSS.escape(e):e.replace(/([ #;?%&,.+*~':"!^$[\]()=>|/@])/g,`\\$1`)}function d(e){if(!e||!(e instanceof HTMLElement))return{name:``,isUnlabeled:!1};let t=e.getAttribute(`aria-labelledby`);if(t){let e=t.trim().split(/\s+/),n=[];for(let t of e){let e=document.getElementById(t);e&&n.push(e.innerText||e.textContent||``)}let r=n.join(` `).trim();if(r)return{name:r,isUnlabeled:!1}}let n=e.getAttribute(`aria-label`);if(n&&n.trim())return{name:n.trim(),isUnlabeled:!1};let r=e.tagName.toLowerCase();if([`input`,`select`,`textarea`].includes(r)){if(e.id){let t=document.querySelector(`label[for="${u(e.id)}"]`);if(t){let e=(t.innerText||t.textContent||``).trim();if(e)return{name:e,isUnlabeled:!1}}}let t=e.closest(`label`);if(t){let e=t.cloneNode(!0);e.querySelectorAll(`input, select, textarea`).forEach(e=>e.remove());let n=(e.innerText||e.textContent||``).trim();if(n)return{name:n,isUnlabeled:!1}}let n=e.getAttribute(`placeholder`);if(n&&n.trim())return{name:n.trim(),isUnlabeled:!1}}if(r===`img`){let t=e.getAttribute(`alt`);if(t!==null)return t.trim()===``?{name:`decorative image`,isUnlabeled:!1}:{name:t.trim(),isUnlabeled:!1};let n=e.getAttribute(`title`);return n&&n.trim()?{name:n.trim(),isUnlabeled:!1}:{name:`unlabeled image`,isUnlabeled:!0}}if(r===`svg`){let t=e.querySelector(`title`);if(t&&t.textContent)return{name:t.textContent.trim(),isUnlabeled:!1}}let i=(e.innerText||e.textContent||``).trim();if(i=i.replace(/\s+/g,` `),i)return{name:i,isUnlabeled:!1};let a=e.getAttribute(`title`);return a&&a.trim()?{name:a.trim(),isUnlabeled:!1}:[`button`,`a`,`input`,`select`,`textarea`].includes(r)||e.hasAttribute(`role`)?{name:`unlabeled ${r}`,isUnlabeled:!0}:{name:``,isUnlabeled:!1}}function f(e){let t=e.getAttribute(`role`);if(t)return{role:t.trim()};let n=e.tagName.toLowerCase();switch(n){case`a`:return{role:e.hasAttribute(`href`)?`link`:`generic`};case`button`:return{role:`button`};case`input`:{let t=(e.getAttribute(`type`)||`text`).toLowerCase();return t===`checkbox`?{role:`checkbox`}:t===`radio`?{role:`radio button`}:[`submit`,`reset`,`button`].includes(t)?{role:`button`}:t===`password`?{role:`secure edit text`}:{role:`edit text`}}case`textarea`:return{role:`multi-line edit text`};case`select`:return{role:`combobox`};case`dialog`:return{role:`dialog modal`};case`h1`:case`h2`:case`h3`:case`h4`:case`h5`:case`h6`:return{role:`heading level ${n.substring(1)}`};case`nav`:return{role:`navigation`,landmark:`navigation landmark`};case`main`:return{role:`main`,landmark:`main landmark`};case`header`:return{role:`banner`,landmark:`banner landmark`};case`footer`:return{role:`contentinfo`,landmark:`contentinfo landmark`};case`aside`:return{role:`complementary`,landmark:`complementary landmark`};case`section`:return{role:`region`};case`article`:return{role:`article`};case`ul`:case`ol`:return{role:`list`};case`li`:return{role:`list item`};case`table`:return{role:`table`};default:return{role:e.isContentEditable?`editable text`:``}}}function p(e){let t=[],n=e.getAttribute(`aria-expanded`);n===`true`?t.push(`expanded`):n===`false`&&t.push(`collapsed`);let r=e.getAttribute(`aria-checked`);r===`true`?t.push(`checked`):r===`false`?t.push(`not checked`):r===`mixed`?t.push(`partially checked`):e instanceof HTMLInputElement&&e.type===`checkbox`&&t.push(e.checked?`checked`:`not checked`),e.getAttribute(`aria-selected`)===`true`&&t.push(`selected`);let i=e.getAttribute(`aria-current`);return i&&i!==`false`&&t.push(`current item`),e.getAttribute(`aria-invalid`)===`true`&&t.push(`invalid entry`),(e.hasAttribute(`disabled`)||e.getAttribute(`aria-disabled`)===`true`)&&t.push(`disabled`),(e.hasAttribute(`required`)||e.getAttribute(`aria-required`)===`true`)&&t.push(`required`),t.join(`, `)}function m(e){let t=e.tagName.toLowerCase(),n=e.getAttribute(`role`)||``;if(t===`li`){let t=e.closest(`ul, ol`);if(t){let n=Array.from(t.children).filter(e=>e.tagName.toLowerCase()===`li`),r=n.indexOf(e)+1;if(r>0&&n.length>1)return`item ${r} of ${n.length}`}}if(n===`tab`){let t=e.closest(`[role="tablist"]`);if(t){let n=Array.from(t.querySelectorAll(`[role="tab"]`)),r=n.indexOf(e)+1;if(r>0&&n.length>1)return`tab ${r} of ${n.length}`}}return``}function h(e){if(e.id)return`#${e.id}`;let t=e.tagName.toLowerCase(),n=Array.from(e.classList).slice(0,2).join(`.`);return n?`${t}.${n}`:t}function g(e){let{name:t,isUnlabeled:n}=d(e),{role:r,landmark:i}=f(e),a=p(e),o=m(e),s=[];i&&s.push(i),t&&s.push(t),r&&r!==`generic`&&s.push(r),a&&s.push(a),o&&s.push(o),(r===`button`||r===`link`||r===`checkbox`)&&s.push(`press Enter or Space to activate`);let c=s.join(`, `).replace(/,\s*,/g,`,`).trim();return{id:`sr_${Date.now()}_${Math.random().toString(36).slice(2,7)}`,timestamp:Date.now(),spokenText:c||e.tagName.toLowerCase()+` element`,name:t||``,role:r||e.tagName.toLowerCase(),state:a||void 0,context:o||void 0,selector:h(e),tag:e.tagName.toLowerCase(),isUnlabeled:n}}var _=null,v=null,y=!1,b={enabled:!1,audioMuted:!1,rate:1.1,pitch:1,volume:1,hoverMode:!1},x=null,S=null;function C(e){if(!b.audioMuted&&e&&typeof window<`u`&&`speechSynthesis`in window)try{window.speechSynthesis.paused&&window.speechSynthesis.resume(),window.speechSynthesis.cancel();let t=new SpeechSynthesisUtterance(e);t.rate=b.rate||1.1,t.pitch=b.pitch||1,t.volume=b.volume||1,window.speechSynthesis.speak(t)}catch(e){console.warn(`[A11yEngine Content] Speech error:`,e)}}function w(){_||(_=document.createElement(`div`),_.id=`a11y-sr-focus-box`,_.style.position=`absolute`,_.style.pointerEvents=`none`,_.style.zIndex=`2147483640`,_.style.border=`3px solid #000000`,_.style.outline=`2px solid #FFFFFF`,_.style.borderRadius=`6px`,_.style.boxShadow=`0 0 16px rgba(0, 0, 0, 0.6), inset 0 0 4px rgba(255, 255, 255, 0.8)`,_.style.transition=`all 0.12s cubic-bezier(0.16, 1, 0.3, 1)`,_.style.display=`none`,document.documentElement.appendChild(_)),v||(v=document.createElement(`div`),v.id=`a11y-sr-focus-tooltip`,v.style.position=`absolute`,v.style.pointerEvents=`none`,v.style.zIndex=`2147483645`,v.style.backgroundColor=`#090D16`,v.style.color=`#F8FAFC`,v.style.fontFamily=`ui-monospace, SFMono-Regular, "JetBrains Mono", monospace`,v.style.fontSize=`11px`,v.style.fontWeight=`700`,v.style.lineHeight=`1.4`,v.style.padding=`5px 9px`,v.style.borderRadius=`6px`,v.style.border=`1px solid #334155`,v.style.boxShadow=`0 4px 14px rgba(0, 0, 0, 0.5)`,v.style.maxWidth=`360px`,v.style.wordBreak=`break-word`,v.style.transition=`all 0.12s cubic-bezier(0.16, 1, 0.3, 1)`,v.style.display=`none`,document.documentElement.appendChild(v))}function ee(e,t,n){if(!_||!v||!e)return;let r=e.getBoundingClientRect();if(r.width===0&&r.height===0)return;let i=window.scrollX||window.pageXOffset,a=window.scrollY||window.pageYOffset;_.style.top=`${r.top+a-3}px`,_.style.left=`${r.left+i-3}px`,_.style.width=`${r.width+6}px`,_.style.height=`${r.height+6}px`,_.style.display=`block`,n?(_.style.borderColor=`#EF4444`,_.style.outlineColor=`#FCA5A5`):(_.style.borderColor=`#000000`,_.style.outlineColor=`#FFFFFF`);let o=r.top+a-36;r.top<45&&(o=r.bottom+a+8);let s=Math.max(8,r.left+i);v.style.top=`${o}px`,v.style.left=`${s}px`,v.innerHTML=`🎙️ ${n?`<span style="color:#EF4444;">[Unlabeled]</span> `:``}${te(t)}`,v.style.display=`block`}function te(e){return e.replace(/&/g,`&amp;`).replace(/</g,`&lt;`).replace(/>/g,`&gt;`)}function ne(e){if(!y||!e||!(e instanceof HTMLElement)||e===x&&e!==document.activeElement)return;x=e,w();let t=g(e);ee(e,t.spokenText,t.isUnlabeled),C(t.spokenText);try{chrome.runtime.sendMessage({type:`SR_ANNOUNCEMENT_EVENT`,payload:t}).catch(()=>{})}catch{}}function re(e){if(!y)return;let t=e.target;t&&t instanceof HTMLElement&&ne(t)}function ie(e){if(!y||!b.hoverMode)return;let t=e.target;t&&t instanceof HTMLElement&&(S&&window.clearTimeout(S),S=window.setTimeout(()=>{ne(t)},180))}function ae(e){y&&e.key===`Escape`&&(_&&(_.style.display=`none`),v&&(v.style.display=`none`),typeof window<`u`&&`speechSynthesis`in window&&window.speechSynthesis.cancel())}function oe(e){y=!0,b={...e,enabled:!0},w(),document.addEventListener(`focusin`,re,!0),document.addEventListener(`keydown`,ae,!0),document.addEventListener(`mouseover`,ie,!0),C(`Virtual Screen Reader activated. Tab through elements to hear speech output.`),document.activeElement&&document.activeElement instanceof HTMLElement&&document.activeElement!==document.body&&ne(document.activeElement)}function se(e){b={...b,...e}}function ce(){y=!1,b.enabled=!1,x=null,typeof window<`u`&&`speechSynthesis`in window&&window.speechSynthesis.cancel(),S&&=(window.clearTimeout(S),null),document.removeEventListener(`focusin`,re,!0),document.removeEventListener(`keydown`,ae,!0),document.removeEventListener(`mouseover`,ie,!0),_&&_.parentNode&&(_.parentNode.removeChild(_),_=null),v&&v.parentNode&&(v.parentNode.removeChild(v),v=null)}function T(e,t,n,r,i){return{id:e,label:t,status:`passed`,message:n,weight:r,earned:r,...i}}function E(e,t,n,r,i){return{id:e,label:t,status:`failed`,message:n,weight:r,earned:0,...i}}function D(e,t,n,r,i){return{id:e,label:t,status:`warning`,message:n,weight:r,earned:Math.round(r*.5),...i}}function le(e,t,n,r,i){return{id:e,label:t,status:`info`,message:n,weight:r,earned:r,...i}}async function ue(e){try{if(typeof chrome<`u`&&chrome.runtime&&chrome.runtime.sendMessage){let t=await new Promise(t=>{chrome.runtime.sendMessage({action:`FETCH_FILE`,url:e},e=>{chrome.runtime.lastError||!e?t({success:!1,text:null}):t(e)})});if(t.success&&t.text!==null)return t.text}}catch{}try{let t=await fetch(e,{method:`GET`,cache:`no-store`});return t.ok?await t.text():null}catch{return null}}function de(){let e=`meta-title`,t=`Meta Title Tag`,n=document.title?.trim()||``,r=n.length;return n?r<10?D(e,t,`Title is too short (${r} chars): "${n}"`,8,{detail:`${r} characters`,tip:`Title should be 30–60 characters. Aim for a concise, keyword-rich phrase.`}):r>60?D(e,t,`Title: ${n} (${r} characters) - may truncate in SERPs.`,8,{detail:`${r} characters`,tip:`Title should be 30–60 characters. Aim for a concise, keyword-rich phrase that fits neatly in search results.`}):T(e,t,`Title: ${n} (${r} characters)`,8,{detail:`${r} characters`}):E(e,t,`No <title> tag found. Every page must have a unique, descriptive title.`,8,{tip:`Add a <title> tag in the <head> that describes the page content in 30–60 characters.`})}function fe(){let e=`meta-description`,t=`Meta Description`,n=document.querySelector(`meta[name="description"]`)?.getAttribute(`content`)?.trim()||``,r=n.length;return n?r<50?D(e,t,`Meta description too short (${r} chars).`,7,{detail:`${r} characters`,tip:`Aim for 120–160 characters for the best SERP snippet coverage.`}):r>160?D(e,t,`Description: ${n.slice(0,80)}\u2026 (${r} characters) - may be truncated in SERPs.`,7,{detail:`${r} characters`,tip:`Keep the description under 160 characters to ensure it displays in full.`}):T(e,t,`Description: ${n.slice(0,100)}${n.length>100?`…`:``} (${r} characters)`,7,{detail:`${r} characters`}):E(e,t,`No meta description tag found.`,7,{tip:`Add <meta name="description" content="..."> in the <head>. Aim for 120–160 characters.`})}function pe(){let e=`canonical`,t=`Canonical Tag`,n=document.querySelector(`link[rel="canonical"]`)?.getAttribute(`href`)?.trim()||``;return n?!n.startsWith(`http://`)&&!n.startsWith(`https://`)?D(e,t,`Canonical tag uses a relative URL ("${n}"). Search engines require absolute URLs.`,5,{detail:n,tip:`Use absolute canonical URLs (e.g. https://yourdomain.com/page) to avoid indexing ambiguity.`}):T(e,t,`Absolute Canonical Tag Found: ${n}`,5,{detail:n}):D(e,t,`No canonical tag found. Without it, search engines may index duplicate URLs.`,5,{tip:`Add <link rel="canonical" href="https://yourdomain.com/page/"> to prevent duplicate content issues.`})}function me(){let e=`image-alts`,t=`Image Alt Attributes`,n=Array.from(document.querySelectorAll(`img`)),r=n.length;if(r===0)return le(e,t,`No images found on this page.`,8,{detail:`Total Images: 0`});let i=[],a=new Map,o=/\.(png|jpg|jpeg|gif|webp|svg|bmp)$|^image$|^picture$|^photo$|^graphic$|^logo$/i,s=0,c=0,l=0;return n.forEach(e=>{let t=e.getAttribute(`src`)||e.currentSrc||``,n=e.getAttribute(`alt`),r=e.getAttribute(`role`)===`presentation`||e.getAttribute(`aria-hidden`)===`true`,u=`passed`,d=`Passed`;if(n===null&&!r)u=`failed`,d=`Missing alt attribute`,s++;else if(n!==null&&n.trim()!==``){let e=n.trim().toLowerCase();if(o.test(e))u=`warning`,d=`Low quality alt (filename or generic word)`,l++;else{let t=a.get(e)||0;a.set(e,t+1),t>0&&(u=`warning`,d=`Duplicate alt text`,c++)}}i.push({label:n===null?`(missing)`:n.trim()||`(empty)`,url:t.slice(0,120),status:u,detail:d,preview:t.startsWith(`http`)||t.startsWith(`/`)?t:void 0})}),s>0?E(e,t,`Failed - ${s} out of ${r} image(s) are missing alt text.`,8,{items:i,detail:`Total Images: ${r} | Missing: ${s}`}):l>0||c>0?D(e,t,`${l>0?`${l} image(s) use filenames/generic alt text. `:``}${c>0?`${c} image(s) have duplicate alt text.`:``}`,8,{items:i,detail:`Total Images: ${r} | Low Quality: ${l} | Duplicates: ${c}`,tip:`Provide descriptive, keyword-rich alt text instead of raw filenames or generic labels like "image".`}):T(e,t,`All ${r} image(s) have descriptive alt text.`,8,{items:i,detail:`Total Images: ${r}`})}function he(){let e=`indexability`,t=`Indexability`,n=document.querySelector(`meta[name="robots"]`),r=n?.getAttribute(`content`)?.toLowerCase()||``;return/noindex/i.test(r)?E(e,t,`Page is blocked from indexing (meta robots: "${r}").`,10,{detail:`Meta robots: ${r}`,tip:`Remove "noindex" unless this page should intentionally be hidden from search engines.`}):n?T(e,t,`Page is indexable. Meta robots: "${r}".`,10,{detail:`Meta robots: ${r}`}):T(e,t,`Page is indexable by search engines.`,10,{detail:`Meta robots tag: Not found (defaults to indexable).`})}async function ge(e){let t=`robots-txt`,n=`Robots.txt File`,r=`${e}/robots.txt`;return await ue(r)===null?E(t,n,`robots.txt not found at ${r}.`,5,{tip:`Create a robots.txt file at the root of your domain to control crawler access.`}):T(t,n,`Passed - robots.txt found at ${r}`,5,{detail:r})}async function _e(e){let t=`sitemap-xml`,n=`Sitemap.xml`,r=`${e}/sitemap.xml`,i=await ue(r);if(i===null)return E(t,n,`sitemap.xml not found at ${r}.`,5,{tip:`Create a sitemap.xml and submit it to Google Search Console.`});let a=(i.match(/<url>/g)||[]).length;return T(t,n,`Passed - sitemap.xml found: ${r}\nEntries: ${a}`,5,{detail:`${r} | Entries: ${a}`})}function ve(){let e=`viewport`,t=`Mobile-Friendliness`,n=document.querySelector(`meta[name="viewport"]`),r=n?.getAttribute(`content`)?.trim()||``;return n?r.includes(`user-scalable=no`)||r.includes(`user-scalable=0`)||r.includes(`maximum-scale=1.0`)?D(e,t,`Viewport disables pinch-to-zoom (${r}). Violates WCAG 1.4.4 & Google Mobile Usability guidelines.`,8,{detail:r,tip:`Remove "user-scalable=no" and "maximum-scale=1.0" to allow mobile users to zoom content.`}):r.includes(`width=device-width`)?T(e,t,`Page is mobile-friendly.\nViewport meta tag found with proper settings: ${r}`,8,{detail:r}):D(e,t,`Viewport found but may not be properly configured: "${r}"`,8,{detail:r,tip:`Ensure viewport content is "width=device-width, initial-scale=1" for optimal mobile rendering.`}):E(e,t,`No viewport meta tag found. Mobile users may see a zoomed-out desktop layout.`,8,{tip:`Add <meta name="viewport" content="width=device-width, initial-scale=1"> to the <head>.`})}function ye(){let e=`schema-markup`,t=`Schema Markup Checker`,n=Array.from(document.querySelectorAll(`script[type="application/ld+json"]`));if(n.length===0)return D(e,t,`No JSON-LD schema markup detected. Structured data helps search engines understand your content.`,5,{tip:`Add JSON-LD structured data (e.g. Organization, FAQPage) to improve rich result eligibility.`});let r=[],i=[];return n.forEach((e,t)=>{try{let n=JSON.parse(e.textContent||`{}`),a=n[`@type`]||(Array.isArray(n[`@graph`])?n[`@graph`].map(e=>e[`@type`]).filter(Boolean).join(`, `):`Unknown`);a&&r.push(String(a)),i.push({label:`Schema block #${t+1}`,status:`passed`,detail:String(a||`Unknown`)})}catch{i.push({label:`Schema block #${t+1}`,status:`warning`,detail:`Invalid JSON-LD`})}}),T(e,t,`JSON-LD schema markup detected.\nDetected Schema Types: ${r.join(`, `)}`,5,{items:i})}function be(){let e=`heading-structure`,t=`Heading Structure (H1, H2, H3)`,n=document.querySelectorAll(`h1`),r=document.querySelectorAll(`h2`),i=document.querySelectorAll(`h3`),a=`H1: ${n.length}, H2: ${r.length}, H3: ${i.length}`;if(n.length===0)return E(e,t,`No H1 tag found. Every page should have exactly one H1 that describes the main topic.`,8,{detail:a,tip:`Add a single <h1> tag containing the primary keyword for this page.`});if(n.length>1)return D(e,t,`${n.length} H1 tags found. Pages should have exactly one primary H1.`,8,{detail:a,tip:`Reduce to a single H1. Use H2 and H3 for subheadings.`});let o=n[0]?.textContent?.trim()||``;return o?T(e,t,`One H1 tag found: "${o.slice(0,80)}${o.length>80?`…`:``}"\nH2 tags found: ${r.length}\nH3 tags found: ${i.length}`,8,{detail:a,tip:`Use a clear heading structure (H1 → H2 → H3) to improve content accessibility and SEO.`}):E(e,t,`Primary <h1> tag is empty. H1 must contain descriptive text content for search crawlers.`,8,{detail:a,tip:`Add clear, descriptive text content to your primary <h1> heading.`})}function xe(){let e=`open-graph`,t=`Open Graph Tags`,n=[`og:title`,`og:description`,`og:image`,`og:url`],r=[],i=0;return n.forEach(e=>{let t=document.querySelector(`meta[property="${e}"]`)?.getAttribute(`content`)?.trim()||``;t?r.push({label:e,status:`passed`,detail:t.slice(0,60)}):(i++,r.push({label:e,status:`failed`,detail:`Not found`}))}),i>0?E(e,t,`${i} Open Graph tag(s) missing. Affects how pages appear when shared on social media.`,4,{items:r,tip:`Add og:title, og:description, og:image, and og:url meta tags for rich social previews.`}):T(e,t,`All essential Open Graph tags present.`,4,{items:r})}function Se(){let e=`twitter-card`,t=`Twitter / X Card Tags`,n=[`twitter:card`,`twitter:title`,`twitter:description`,`twitter:image`],r=[],i=0;return n.forEach(e=>{let t=(document.querySelector(`meta[name="${e}"]`)||document.querySelector(`meta[property="${e}"]`))?.getAttribute(`content`)?.trim()||``;t?r.push({label:e,status:`passed`,detail:t.slice(0,60)}):(i++,r.push({label:e,status:`failed`,detail:`Not found`}))}),i>0?E(e,t,`${i} Twitter Card tag(s) missing.`,2,{items:r,tip:`Add twitter:card, twitter:title, twitter:description, and twitter:image meta tags.`}):T(e,t,`All Twitter/X Card tags present.`,2,{items:r})}function Ce(){let e=`favicon`,t=`Favicon Checker`,n=Array.from(document.querySelectorAll(`link[rel*="icon"]`));if(n.length===0)return E(e,t,`No favicon link tag found. Favicons help users identify your site in browser tabs.`,3,{tip:`Add <link rel="icon" href="/favicon.ico"> to the <head>.`});let r=n.map(e=>({label:e.getAttribute(`href`)||`(no href)`,url:e.getAttribute(`href`)||``,status:`passed`,detail:`rel="${e.getAttribute(`rel`)}"`}));return T(e,t,`${n.length} favicon link(s) found.`,3,{items:r})}function we(){let e=`https`,t=`HTTPS & Security Protocol`;return window.location.protocol===`https:`?T(e,t,`HTTP properly redirects to HTTPS.
9
+ SSL certificate detected.`,10):E(e,t,`Page is served over HTTP (not HTTPS). Google uses HTTPS as a ranking signal.`,10,{tip:`Obtain an SSL certificate and configure your server to redirect all HTTP traffic to HTTPS.`})}function Te(){let e=`author-meta`,t=`Author Meta Tag`,n=document.querySelector(`meta[name="author"]`)?.getAttribute(`content`)?.trim()||``;return n?T(e,t,`Author: ${n}`,1,{detail:n}):E(e,t,`No meta author tag found. Specifying content ownership aids E-E-A-T and Search credibility.`,1,{tip:`Add <meta name="author" content="Your Name or Organization">.`})}function Ee(){let e=`lang-attr`,t=`Language Attribute`,n=document.documentElement.getAttribute(`lang`)?.trim()||``;return n?T(e,t,`<html lang="${n}"> found and valid.`,1,{detail:n}):E(e,t,`The <html> element has no lang attribute. This helps search engines and screen readers identify the language.`,1,{tip:`Add lang="en" (or the appropriate language code) to the <html> tag.`})}function De(){let e=`analytics`,t=`Google Analytics & Tag Manager`,n=Array.from(document.querySelectorAll(`script[src]`)),r=Array.from(document.querySelectorAll(`script:not([src])`)).map(e=>e.textContent||``),i=n.some(e=>/googletagmanager\.com\/(gtag|gtm\.js)|google-analytics\.com\/analytics/i.test(e.getAttribute(`src`)||``))||r.some(e=>/gtag\(|dataLayer\.push|ga\(|GoogleAnalyticsObject|GTM-/i.test(e)),a=document.querySelector(`meta[name="google-site-verification"]`)!==null||r.some(e=>/google.*verification/i.test(e)),o=[{label:`Google Analytics (GA4) / GTM Container`,status:i?`passed`:`failed`,detail:i?`Detected`:`Not found`},{label:`Google Search Console meta tag`,status:a?`passed`:`warning`,detail:a?`Detected`:`Not found (acceptable if verifying via DNS or GA4)`}];return i?T(e,t,`Google Analytics / GTM container detected.`,3,{items:o}):E(e,t,`Google Analytics or GTM container not detected. Without it you cannot measure SEO traffic.`,3,{items:o,tip:`Add the GA4 Global Site Tag (gtag.js) or use Google Tag Manager.`})}function Oe(e){let t=Array.from(document.querySelectorAll(`a[href]`)),n=new Set,r=[];t.forEach(t=>{let i=t.getAttribute(`href`)?.trim()||``;if(!i||i===`javascript:void(0)`||n.has(i))return;n.add(i);let a=(t.textContent?.trim()||t.getAttribute(`aria-label`)||i).slice(0,60),o=`internal`;i.startsWith(`#`)?o=`anchor`:i.startsWith(`http`)&&!i.startsWith(e)&&(o=`external`),r.push({text:a,url:i,type:o})});let i=r.slice(0,50).map(e=>({label:e.text,url:e.url,status:`info`,detail:e.type.charAt(0).toUpperCase()+e.type.slice(1)}));return{check:{id:`all-links`,label:`All Links Checker`,status:`info`,message:`Total Unique Links Found: ${r.length}. Running broken-link checks\u2026`,weight:8,earned:8,items:i},allLinks:r}}function ke(){let e=`thin-content`,t=`Thin Content Checker`,n=(document.body.innerText||document.body.textContent||``).split(/\s+/).filter(e=>e.length>1).length,r=document.querySelectorAll(`img`).length,i=document.querySelectorAll(`video, iframe[src*="youtube"], iframe[src*="vimeo"]`).length,a=`A`;n<300?a=`D`:n<600?a=`C`:n<1e3&&(a=`B`);let o=`Word count: ${n} | Images: ${r} | Videos: ${i} | Grade: ${a}`;return n<300?E(e,t,`Page has thin content (${n} words). Fewer than 300 words is considered thin by search engines.`,5,{detail:o,tip:`Add more substantive, original content relevant to the page topic.`}):n<600?D(e,t,`Page has moderate content (${n} words). Consider adding more depth.`,5,{detail:o}):T(e,t,`Content is sufficient and meets SEO quality expectations.\nGrade: ${a}`,5,{detail:o})}function Ae(){let e=`publisher-meta`,t=`Publisher Metadata`,n=Array.from(document.querySelectorAll(`script[type="application/ld+json"]`));return document.querySelector(`meta[name="publisher"]`)!==null||document.querySelector(`meta[property="article:publisher"]`)!==null||n.some(e=>{try{let t=JSON.parse(e.textContent||`{}`);return[t[`@type`],...(t[`@graph`]||[]).map(e=>e[`@type`])].flat().filter(Boolean).map(String).some(e=>/organization|person|localbusiness|corporation/i.test(e))}catch{return!1}})?T(e,t,`Organization schema or Publisher metadata detected.`,1):E(e,t,`No publisher meta tag or Organization schema found. Add one to identify content authorship for E-E-A-T.`,1,{tip:`Add a JSON-LD Organization schema block to your <head>.`})}function je(e){let t=e.reduce((e,t)=>e+t.weight,0),n=e.reduce((e,t)=>e+t.earned,0);return t===0?0:Math.round(n/t*100)}async function Me(){let e=window.location.origin;try{window.top&&window.top.location&&window.top.location.origin&&(e=window.top.location.origin)}catch{}let t=[];t.push(de()),t.push(fe()),t.push(pe()),t.push(me()),t.push(he()),t.push(ve()),t.push(ye()),t.push(be()),t.push(xe()),t.push(Se()),t.push(Ce()),t.push(we()),t.push(Te()),t.push(Ee()),t.push(De()),t.push(ke()),t.push(Ae());let[n,r]=await Promise.all([ge(e),_e(e)]);t.push(n),t.push(r);let{check:i,allLinks:a}=Oe(e);t.push(i);let o=je(t);return{url:window.location.href,timestamp:new Date().toISOString(),score:o,checks:t,allLinks:a}}function Ne(e,t,n){let r=window.location.href,i=()=>{setTimeout(()=>{let r=document.activeElement;if(!r)return;let i=r.tagName.toLowerCase(),a=i===`main`||r.getAttribute(`role`)===`main`,o=/^h[1-6]$/.test(i),s=r.getAttribute(`tabindex`)===`-1`&&r!==document.body&&(r.closest(`main, [role="main"], article, section`)!==null||r.getAttribute(`role`)===`main`||r.getAttribute(`role`)===`heading`);if(!(a||o||s)){let i=r===document.body,a=e(r),o=t(r),s={id:`custom-spa-route-focus-${a.slice(0,20).replace(/\s/g,`_`)}`,ruleId:`custom-spa-route-focus`,severity:`medium`,description:i?`SPA navigation occurred but focus was not managed - it fell to document.body, meaning no programmatic focus shift happened. Screen reader users remain at their previous cursor position with no awareness of the new page content. Move focus to <main>, the page <h1>, or a tabindex="-1" landmark wrapper after each route transition.`:`SPA navigation occurred but focus landed on "${r.tagName.toLowerCase()}" instead of <main>, an <h1>, or a programmatic tabindex="-1" target. Screen reader virtual cursor may not advance to the new page content.`,impact:`moderate`,help:`On each SPA route transition, move focus to <main> or the primary heading using .focus().`,helpUrl:`https://www.w3.org/WAI/WCAG22/Techniques/general/G200`,elementHtml:r.outerHTML.slice(0,300),selector:a,wcagTags:[`wcag21a`,`custom-heuristic`],isRevenueBlocker:o};n.some(e=>e.ruleId===`custom-spa-route-focus`&&e.selector===a)||n.push(s)}},300)},a=()=>{window.location.href!==r&&(r=window.location.href,i())},o=document.querySelector(`title`);o&&new MutationObserver(a).observe(o,{childList:!0,characterData:!0,subtree:!0}),window.addEventListener(`popstate`,()=>{r=window.location.href,i()});let s=e=>{let t=history[e];history[e]=function(...e){let n=t.apply(this,e);return a(),n}};history.__a11yEngineSPAPatched||(history.__a11yEngineSPAPatched=!0,s(`pushState`),s(`replaceState`))}function Pe(){if(typeof window>`u`)return new WeakMap;if(!window.__a11yClosedShadowRegistry){let e=new WeakMap;if(window.__a11yClosedShadowRegistry=e,typeof Element<`u`&&Element.prototype&&Element.prototype.attachShadow){let t=Element.prototype.attachShadow;Element.prototype.attachShadow=function(n){let r=t.call(this,n);return n&&n.mode===`closed`&&e.set(this,r),r}}}return window.__a11yClosedShadowRegistry}function Fe(e){return typeof window>`u`||!window.__a11yClosedShadowRegistry?null:window.__a11yClosedShadowRegistry.get(e)||null}typeof window<`u`&&Pe();function Ie(e){return typeof CSS<`u`&&typeof CSS.escape==`function`?CSS.escape(e):e.replace(/([ #;?%&,.+*~':"!^$[\]()=>|/@])/g,`\\$1`)}function O(e){return e.replace(/\\/g,`\\\\`).replace(/"/g,`\\"`)}function k(e){return e.shadowRoot?e.shadowRoot:Fe(e)}function Le(e){if(e.id)return`${e.nodeName.toLowerCase()}#${Ie(e.id)}`;let t=e.getAttribute(`data-testid`)||e.getAttribute(`data-test-id`)||e.getAttribute(`data-qa`);if(t)return`${e.nodeName.toLowerCase()}[data-testid="${O(t)}"]`;let n=e.getAttribute(`role`),r=e.getAttribute(`aria-label`);if(n&&r)return`${e.nodeName.toLowerCase()}[role="${O(n)}"][aria-label="${O(r)}"]`;let i=e.nodeName.toLowerCase(),a=e,o=1;for(;a.previousElementSibling;)a=a.previousElementSibling,a.nodeName.toLowerCase()===e.nodeName.toLowerCase()&&o++;return o>1&&(i+=`:nth-of-type(${o})`),i}function A(e){let t=[],n=e;for(;n&&n.nodeType===Node.ELEMENT_NODE;){n.assignedSlot&&(n=n.assignedSlot);let e=n.getRootNode();if(e instanceof ShadowRoot||e.host)t.unshift(Le(n)),n=e.host||null;else{let e=[],r=n;for(;r&&r.nodeType===Node.ELEMENT_NODE&&!(r.getRootNode()instanceof ShadowRoot);){let t=Le(r);if(e.unshift(t),r.id||r.getAttribute(`data-testid`))break;r=r.parentElement}let i=e.join(` > `);t.unshift(i);break}}return t.join(` >>> `)}function j(e,t=document){if(!e)return null;if(!e.includes(`>>>`))try{return`querySelector`in t&&typeof t.querySelector==`function`?t.querySelector(e):null}catch{return null}return Re(e.split(`>>>`).map(e=>e.trim()).filter(Boolean),t)}function Re(e,t){let n=null,r=t;for(let t=0;t<e.length;t++)try{if(!(`querySelector`in r)||typeof r.querySelector!=`function`||(n=r.querySelector(e[t]),!n))return null;if(t<e.length-1){let e=k(n);if(!e)return null;r=e}}catch{return null}return n}function M(e,t=document){let n=[],r=new Set;function i(t){if(!r.has(t)){r.add(t);try{if(`querySelectorAll`in t&&typeof t.querySelectorAll==`function`){let r=t.querySelectorAll(e);for(let e=0;e<r.length;e++)n.push(r[e])}}catch{}try{let e=t.ownerDocument||(t instanceof Document?t:document),n=(t instanceof Document||t instanceof ShadowRoot,t),r=e.createTreeWalker(n,NodeFilter.SHOW_ELEMENT,null),a=r.nextNode();for(;a;){let e=k(a);e&&i(e),a=r.nextNode()}}catch{try{if(`querySelectorAll`in t&&typeof t.querySelectorAll==`function`){let e=t.querySelectorAll(`*`);for(let t=0;t<e.length;t++){let n=k(e[t]);n&&i(n)}}}catch{}}}}return i(t),n}function ze(e){return[`image-alt`,`button-name`,`link-name`,`custom-aria-icon-missing`,`custom-accessible-name-mismatch`,`custom-vague-link-text`,`custom-tabindex-improper`,`custom-video-captions-missing`].includes(e)?`S`:[`custom-skip-link-missing`,`custom-focus-trap-and-return`,`custom-spa-route-focus`,`custom-live-region-chatter`,`custom-governance-statement`,`heading-order`,`custom-pdf-accessibility`].includes(e)?`L`:`M`}function Be(e){return e.replace(/[\u200B-\u200D\uFEFF]/g,``).replace(/[\u{1F300}-\u{1FAFF}\u{2600}-\u{26FF}\u{2700}-\u{27BF}\u{2300}-\u{23FF}\u{2B00}-\u{2BFF}]/gu,``).replace(/[\u00D7\u2715\u2716\u2713\u2717\u2261\u2630\u25B2\u25BC\u25B8\u25C2\u00AB\u00BB\u2039\u203A\u27E8\u27E9+\-/\\|\u2022\u00B7\u2026\u2192\u2190\u2191\u2193\u2194\u21D2\u27F6\u00D7×✕✓✗≡☰▲▼▸◂«»‹›⟨⟩+\-/\\|•·…→←↑↓↔⇒⟶]/gu,``).replace(/\s+/g,` `).trim()}function Ve(e){let t=5381;for(let n=0;n<e.length;n++)t=(t<<5)+t^e.charCodeAt(n),t>>>=0;return t.toString(36)}function N(e,t){let n=[`custom-heuristic`];return e&&(new Set([`2.4.11`,`2.4.12`,`2.4.13`,`2.5.7`,`2.5.8`,`3.2.6`,`3.3.7`,`3.3.8`,`3.3.9`]).has(e)?(n.push(`wcag22`),t===`A`&&n.push(`wcag22a`),t===`AA`&&n.push(`wcag22aa`),t===`AAA`&&n.push(`wcag22aaa`)):(n.push(`wcag21`),t===`A`&&(n.push(`wcag21a`),n.push(`wcag2a`)),t===`AA`&&(n.push(`wcag21aa`),n.push(`wcag2aa`)),t===`AAA`&&(n.push(`wcag21aaa`),n.push(`wcag2aaa`)))),n}function P(e){let{ruleId:t,severity:n,description:r,helpUrl:i,element:a,idx:o,selectorStr:s,isRevenueBlocker:c,wcagSC:l}=e,u=e.wcagLevel,d=e.wcagPrinciple;if(!d&&l){let e=l.charAt(0);e===`1`?d=`Perceivable`:e===`2`?d=`Operable`:e===`3`?d=`Understandable`:e===`4`&&(d=`Robust`)}d||=`Perceivable`,!u&&l&&(u=`A`);let f=a.outerHTML;return f.length>500&&(f=f.slice(0,500)+`...`),f=f.replace(/(?:data-)?(?:password|card|cvv|cc|pin|email|ssn|token|secret|auth(?:[-_]token)?|api[-_]?key|bearer|session(?:[-_]?id)?|jwt|access[-_]?token|refresh[-_]?token|private[-_]?key|client[-_]?secret)\s*=\s*"[^"]*"/gi,e=>e.replace(/"[^"]*"$/,`"[REDACTED_PII]"`)),f=f.replace(/\b(?:\d[ -]*?){13,19}\b/g,`[REDACTED_CARD]`),f=f.replace(/\b\d{3}-\d{2}-\d{4}\b/g,`[REDACTED_SSN]`),f=f.replace(/\b[A-Z]{5}[0-9]{4}[A-Z]\b/g,`[REDACTED_PAN]`),f=f.replace(/\b\d{4}[\s-]?\d{4}[\s-]?\d{4}\b/g,`[REDACTED_AADHAAR]`),f=f.replace(/(?:\+91[\s-]?)?[6-9]\d{9}\b/g,`[REDACTED_MOBILE_IN]`),{id:`${t}-${Ve(s+f.slice(0,100))}-${o}`,ruleId:t,severity:n,description:r,impact:n===`critical`?`critical`:n===`high`?`serious`:`moderate`,help:(r.match(/^.*?[.!?](?=\s|$)/)?.[0]||r).trim(),helpUrl:i,elementHtml:f,selector:s,wcagTags:N(l,u),wcagSC:l,wcagLevel:u,wcagPrinciple:d,isRevenueBlocker:c,effortEstimate:ze(t)}}function F(e){for(let t=e;t;t=t.parentElement){if(t.hasAttribute(`hidden`)||t.getAttribute(`aria-hidden`)===`true`)return!0;try{let n=window.getComputedStyle(t);if(n.display===`none`||t===e&&n.visibility===`hidden`)return!0}catch{}}return!1}var He=/transcript|audio[\s-]?descri|described version|text alternative/i;function Ue(e){let t=e.parentElement;for(let e=0;t&&e<3;e++){if(He.test(t.textContent||``))return!0;t=t.parentElement}return!1}function We(e){let t=[e.getAttribute(`src`),...Array.from(e.querySelectorAll(`source`)).map(e=>e.getAttribute(`src`))].filter(e=>!!e);return t.length!==0&&t.every(e=>{let t=/#t=([\d.]*),([\d.]+)/.exec(e);if(!t)return!1;let n=t[1]?parseFloat(t[1]):0;return parseFloat(t[2])-n<=3})}function Ge(e){let t=new Set,n=new Set,r=new Set([`*`,`*::before`,`*::after`,`html`,`body`,`input`,`button`,`select`,`textarea`,`a`,`div`,`span`,`p`,`[tabindex="-1"]`,`[tabindex="0"]`,`[tabindex]`,`[type="text"]`,`[type="search"]`,`[type="email"]`,`[type="password"]`,`[type="number"]`,`[type="tel"]`,`[type="url"]`]),i=e.ownerDocument||e;if(!i||!i.styleSheets)return{resetSelectors:t,fallbackSelectors:n};try{for(let e=0;e<i.styleSheets.length;e++){let a=i.styleSheets[e],o=null;try{o=a.cssRules||a.rules}catch{continue}if(o)for(let e=0;e<o.length;e++){let i=o[e];if(!i.selectorText||!i.style||!/(:(focus-visible|focus-within|focus))/.test(i.selectorText))continue;let a=i.selectorText.replace(/:(focus-visible|focus-within|focus)/g,``).trim();if(!a)continue;let s=i.style.outlineStyle,c=i.style.outlineWidth,l=i.style.outlineColor,u=i.style.outline;u!==`none`&&u!==`0`&&u!==`0px`&&s!==`none`&&c!==`0`&&c!==`0px`&&l!==`transparent`||r.has(a.toLowerCase())||t.add(a),(u&&u!==`none`&&u!==`0`&&u!==`0px`||s&&s!==`none`||c&&c!==`0`&&c!==`0px`||i.style.boxShadow&&i.style.boxShadow!==`none`||i.style.border&&i.style.border!==`none`||i.style.borderColor&&i.style.borderColor!==`transparent`||i.style.backgroundColor&&i.style.backgroundColor!==`transparent`||i.style.color&&i.style.color!==``||i.style.textDecoration&&i.style.textDecoration!==`none`)&&n.add(a)}}}catch{}return{resetSelectors:t,fallbackSelectors:n}}function Ke(e,t,n){let r=[],i=M(`a, button, input, select, textarea, [tabindex]`,e),{resetSelectors:a,fallbackSelectors:o}=Ge(e);return i.forEach((e,i)=>{let s=e,c=s.tagName.toLowerCase(),l=s.className&&typeof s.className==`string`?s.className.toLowerCase():``,u=((s.getAttribute(`style`)||``)+` `+(s.style?.cssText||``)).toLowerCase(),d=/outline\s*:\s*(none|0|0px|transparent)/i.test(u)||/outline-style\s*:\s*none/i.test(u)||/outline-width\s*:\s*0/i.test(u)||s.style?.outline===`none`||s.style?.outline===`0`||s.style?.outlineStyle===`none`||s.style?.outlineWidth===`0px`,f=l.includes(`outline-none`)||l.includes(`outline-0`)||l.includes(`focus:outline-none`)||l.includes(`focus-visible:outline-none`)||l.includes(`focus:outline-0`)||l.includes(`focus-visible:outline-0`),p=!1,m=!1;if(a.size>0)for(let e of a)try{if(s.matches(e)){p=!0,o.has(e)&&(m=!0);break}}catch{}if(!(d||f||p)||m)return;let h=/(focus|focus-visible|focus-within|group-focus|group-focus-visible|group-focus-within|peer-focus|peer-focus-visible|peer-focus-within):(ring|border|shadow|bg-|text-|(outline-(?!none|0|transparent)))/i.test(l),g=/border\s*:\s*(?!none|0|transparent)/i.test(u)&&!/border\s*:\s*(none|0|0px|transparent)/i.test(u)||s.style?.border!==``&&s.style?.border!==`none`&&s.style?.borderStyle!==`none`&&s.style?.borderWidth!==`0px`,_=/box-shadow\s*:\s*(?!none)/i.test(u)||/ring/i.test(u)||g;if(!(h||_)){if(c===`input`||c===`textarea`||c===`select`){let e=/border\s*:\s*(none|0|0px|transparent)/i.test(u)||/border-(top|right|bottom|left|style|width|color)\s*:\s*(none|0|0px|transparent)/i.test(u)||s.style?.border===`none`||s.style?.borderStyle===`none`||s.style?.borderWidth===`0px`,t=l.includes(`border-none`)||l.includes(`border-0`)||l.includes(`border-transparent`);if(!e&&!t)return}r.push(P({ruleId:`custom-focus-outline-reset`,severity:`high`,description:`Focusable element (${c}) has its focus outline removed (outline: none / 0) with no visible alternative focus style (box-shadow, border, ring). Keyboard users cannot tell which element has focus.`,helpUrl:`https://www.w3.org/WAI/WCAG22/Techniques/css/C15`,element:e,idx:i,selectorStr:t(e),isRevenueBlocker:n(e),wcagSC:`2.4.7`,wcagLevel:`AA`,wcagPrinciple:`Operable`}))}}),r}function qe(e,t,n){let r=[];return M(`[tabindex]`,e).forEach((e,i)=>{let a=e.getAttribute(`tabindex`);if(a){let o=parseInt(a,10);o>0&&r.push(P({ruleId:`custom-tabindex-improper`,severity:`medium`,description:`Element has positive tabindex="${o}". Hardcoding tabIndex values greater than 0 disrupts the natural reading and tabbing flow. Use tabindex="0" or tabindex="-1" instead.`,helpUrl:`https://www.w3.org/WAI/WCAG22/Techniques/html/H4`,element:e,idx:i,selectorStr:t(e),isRevenueBlocker:n(e)}))}}),r}function Je(e,t,n){let r=[],i=M(`[role="button"], [role="link"], [role="checkbox"], [role="radio"], [role="tab"], [role="menuitem"], [role="option"], [role="switch"], [role="slider"], [role="spinbutton"], [role="combobox"], [role="treeitem"], div[onclick], span[onclick], p[onclick], a:not([href]), div[data-action], span[data-action], div[data-click], span[data-click]`,e),a=new Set([`button`,`input`,`select`,`textarea`,`summary`,`details`]);return i.forEach((e,i)=>{let o=e.tagName.toLowerCase();a.has(o)||o===`a`&&e.hasAttribute(`href`)||e.hasAttribute(`tabindex`)||r.push(P({ruleId:`custom-keyboard-nav-missing`,severity:`high`,description:`Custom interactive control (${o}${e.getAttribute(`role`)?` [role="${e.getAttribute(`role`)}"]`:``}) is missing a tabindex attribute. Without tabindex="0" or tabindex="-1", keyboard users cannot focus or activate this element.`,helpUrl:`https://www.w3.org/WAI/WCAG22/Techniques/general/G90`,element:e,idx:i,selectorStr:t(e),isRevenueBlocker:n(e),wcagSC:`2.1.1`,wcagLevel:`A`,wcagPrinciple:`Operable`}))}),r}function Ye(e,t,n){let r=[];return M(`button, a, [role="button"]`,e).forEach((e,i)=>{(e.textContent?.trim()||``).length>0||e.hasAttribute(`aria-label`)||e.hasAttribute(`aria-labelledby`)||e.hasAttribute(`title`)||e.querySelector(`svg, i, .icon, [class*="icon"], [class*="lucide"]`)&&r.push(P({ruleId:`custom-aria-icon-missing`,severity:`critical`,description:`Icon-only control lacks an aria-label, aria-labelledby, or descriptive text. Screen readers cannot describe its purpose to visually impaired users.`,helpUrl:`https://www.w3.org/WAI/WCAG22/Techniques/html/H30`,element:e,idx:i,selectorStr:t(e),isRevenueBlocker:n(e)}))}),r}function Xe(e,t,n){let r=[];return M(`button[aria-label], a[aria-label], input[aria-label], [role="button"][aria-label], [role="link"][aria-label], [role="tab"][aria-label], [role="menuitem"][aria-label]`,e).forEach((e,i)=>{let a=e.textContent?.trim()||``,o=(e.getAttribute(`aria-label`)||``).toLowerCase();if(!a||!o)return;let s=Be(a);if(!s)return;let c=s.toLowerCase();c&&!o.includes(c)&&r.push(P({ruleId:`custom-accessible-name-mismatch`,severity:`medium`,description:`Accessible name mismatch: The visible text "${a}" is not contained in the aria-label ("${e.getAttribute(`aria-label`)}"). Voice control users who activate this control by speaking its visible label will fail to activate it. The accessible name must contain the visible label text as a substring (WCAG 2.5.3).`,helpUrl:`https://www.w3.org/WAI/WCAG22/Techniques/general/G208`,element:e,idx:i,selectorStr:t(e),isRevenueBlocker:n(e),wcagSC:`2.5.3`,wcagLevel:`A`,wcagPrinciple:`Operable`}))}),r}function Ze(e,t,n,r=!1){let i=[];return M(`video[autoplay], audio[autoplay]`,e).forEach((e,a)=>{let o=e.hasAttribute(`muted`)||e.muted===!0,s=e.tagName.toLowerCase()===`video`;(o||!e.hasAttribute(`controls`)&&!We(e))&&(s&&o?r&&i.push(P({ruleId:`custom-motion-preference-check`,severity:`medium`,description:`Muted video autoplays while the user has prefers-reduced-motion enabled. Video motion may cause discomfort for users with vestibular disorders. Pause or disable autoplay when prefers-reduced-motion: reduce is active.`,helpUrl:`https://www.w3.org/WAI/WCAG22/Understanding/animation-from-interactions`,element:e,idx:a,selectorStr:t(e),isRevenueBlocker:n(e),wcagSC:`2.3.3`,wcagLevel:`AAA`,wcagPrinciple:`Operable`})):r?i.push(P({ruleId:`custom-motion-preference-check`,severity:`high`,description:`Reduced motion preference is active, but media element continues to autoplay with audio. Media must pause or respect prefers-reduced-motion to avoid interfering with screen reader users.`,helpUrl:`https://www.w3.org/WAI/WCAG22/Understanding/animation-from-interactions`,element:e,idx:a,selectorStr:t(e),isRevenueBlocker:n(e),wcagSC:`1.4.2`,wcagLevel:`A`,wcagPrinciple:`Perceivable`})):i.push(P({ruleId:`custom-autoplay-media`,severity:`high`,description:`Media element autoplays with audio. Autoplay audio interferes with screen reader speech synthesizers and prevents users from consuming screen reader output. Provide a pause/stop mechanism within the first 3 seconds, or remove autoplay.`,helpUrl:`https://www.w3.org/WAI/WCAG22/Techniques/general/G170`,element:e,idx:a,selectorStr:t(e),isRevenueBlocker:n(e),wcagSC:`1.4.2`,wcagLevel:`A`,wcagPrinciple:`Perceivable`})))}),i}function Qe(e,t,n){let r=[];return M(`video`,e).forEach((e,i)=>{let a=e.getAttribute(`aria-hidden`)===`true`||e.getAttribute(`role`)===`presentation`||e.getAttribute(`role`)===`none`,o=(e.className&&typeof e.className==`string`?e.className:``).toLowerCase(),s=o.includes(`background`)||o.includes(`bg-video`)||o.includes(`decorative`)||o.includes(`ambient`),c=e.hasAttribute(`muted`)||e.muted,l=e.hasAttribute(`loop`),u=e.hasAttribute(`autoplay`),d=!e.hasAttribute(`aria-label`)&&!e.hasAttribute(`aria-labelledby`)&&!e.hasAttribute(`title`);a||s||c&&l&&u&&d||F(e)||e.querySelector(`track[kind="captions"], track[kind="subtitles"]`)||r.push(P({ruleId:`custom-video-captions-missing`,severity:`high`,description:`Video element lacks closed captions or subtitles (<track kind="captions">). Deaf or hard-of-hearing users cannot consume this content.`,helpUrl:`https://www.w3.org/WAI/WCAG22/Techniques/html/H95`,element:e,idx:i,selectorStr:t(e),isRevenueBlocker:n(e),wcagSC:`1.2.2`,wcagLevel:`A`,wcagPrinciple:`Perceivable`}))}),r}function $e(e,t,n){let r=[],i=[`click here`,`read more`,`link`,`learn more`,`here`,`more`,`go`];return M(`a`,e).forEach((e,a)=>{let o=e.textContent?.trim().toLowerCase()||``;i.includes(o)&&r.push(P({ruleId:`custom-vague-link-text`,severity:`medium`,description:`Link has vague descriptive label text "${e.textContent?.trim()}". Screen reader users browsing links out of context will be unable to understand the destination.`,helpUrl:`https://www.w3.org/WAI/WCAG22/Techniques/general/G91`,element:e,idx:a,selectorStr:t(e),isRevenueBlocker:n(e),wcagSC:`2.4.4`,wcagLevel:`A`,wcagPrinciple:`Operable`}))}),r}function et(e,t,n,r){let i=[];if(!e)return i;let a=t.toLowerCase(),o=n.toLowerCase(),s=a.includes(`dark`)||o.includes(`dark`)||a.includes(`night`)||o.includes(`night`),c=e.toLowerCase().includes(`dark`)||e.toLowerCase().includes(`night`),l=e.toLowerCase().includes(`light`)||e.toLowerCase().includes(`day`);return(c&&!s||l&&s)&&i.push(P({ruleId:`custom-theme-persistence`,severity:`medium`,description:`Theme mismatch: Stored preference is "${e}", but DOM root classes do not reflect this (html class: "${t}").`,helpUrl:`https://www.w3.org/WAI/WCAG22/Techniques/general/G156`,element:r,idx:88,selectorStr:`html`,isRevenueBlocker:!1})),i}function tt(e,t,n){let r=[],i=new Set([`details`,`summary`,`select`,`input`,`textarea`]);return M(`[aria-expanded]`,e).forEach((e,a)=>{let o=e.tagName.toLowerCase();if(i.has(o))return;let s=e.getAttribute(`role`)||``;s!==`button`&&s!==`tab`&&s!==`menuitem`&&s!==`treeitem`&&s!==`option`&&e.tagName.toLowerCase()!==`button`||e.getAttribute(`aria-controls`)||r.push(P({ruleId:`custom-widget-contract`,severity:`medium`,description:`Custom widget trigger (${o}[role="${s||`button`}"]) has aria-expanded but is missing aria-controls to link it to the target panel. Screen readers cannot announce which panel is controlled.`,helpUrl:`https://www.w3.org/WAI/WCAG22/Techniques/aria/ARIA10`,element:e,idx:a,selectorStr:t(e),isRevenueBlocker:n(e),wcagSC:`4.1.2`,wcagLevel:`A`,wcagPrinciple:`Robust`}))}),r}function nt(e,t,n){let r=[];return M(`a[href$=".pdf"], a[href*=".pdf?"]`,e).forEach((e,n)=>{r.push(P({ruleId:`custom-pdf-accessibility`,severity:`low`,description:`PDF link detected ("${e.getAttribute(`href`)}"). Linked PDFs need their own accessibility check: run the PDF tab for text, tags, title and language, then review tag correctness and reading order manually.`,helpUrl:`https://www.w3.org/WAI/WCAG22/Techniques/pdf/PDF1`,element:e,idx:n,selectorStr:t(e),isRevenueBlocker:!1,wcagSC:`1.1.1`,wcagLevel:`A`,wcagPrinciple:`Perceivable`}))}),r}function rt(e,t,n){let r=[];if(!e.toLowerCase().includes(`accessibility`))return r;let i=/wcag|section\s*508|ada|en\s*301\s*549|eaa|aoda|jis\s*x\s*8341|dda/i.test(t),a=/email|phone|contact|feedback/i.test(t),o=/limitations|known\s*issues|alternatives/i.test(t),s=/last\s*updated|date|updated\s*on/i.test(t),c=[];return i||c.push(`Standards (WCAG/ADA/EN 301 549/EAA)`),a||c.push(`Contact info`),o||c.push(`Limitations`),s||c.push(`Update date`),c.length>0&&r.push(P({ruleId:`custom-governance-statement`,severity:`medium`,description:`Accessibility Statement page is missing key policy sections: ${c.join(`, `)}.`,helpUrl:`https://www.w3.org/WAI/planning/statements/`,element:n,idx:77,selectorStr:`body`,isRevenueBlocker:!1})),r}function it(e,t,n){let r=[];return M(`img[role="presentation"], img[aria-hidden="true"], img[role="none"]`,e).forEach((e,i)=>{let a=e.getAttribute(`alt`);a!==null&&a.trim()!==``&&r.push(P({ruleId:`custom-decorative-image-alt`,severity:`medium`,description:`Image is marked decorative (role="presentation", role="none" or aria-hidden="true") but has non-empty alt text. If the image is meaningful, screen reader users miss it; if it is decorative, set alt="". Remove the decorative marking or the alt text.`,helpUrl:`https://www.w3.org/WAI/WCAG22/Techniques/html/H67`,element:e,idx:i,selectorStr:t(e),isRevenueBlocker:n(e),wcagSC:`1.1.1`,wcagLevel:`A`,wcagPrinciple:`Perceivable`}))}),r}function at(e,t,n){let r=[];return M(`video`,e).forEach((e,i)=>{let a=e.getAttribute(`aria-hidden`)===`true`||e.getAttribute(`role`)===`presentation`||e.getAttribute(`role`)===`none`,o=(e.className&&typeof e.className==`string`?e.className:``).toLowerCase(),s=o.includes(`background`)||o.includes(`bg-video`)||o.includes(`decorative`)||o.includes(`ambient`),c=e.hasAttribute(`muted`)||e.muted,l=e.hasAttribute(`loop`),u=e.hasAttribute(`autoplay`),d=!e.hasAttribute(`aria-label`)&&!e.hasAttribute(`aria-labelledby`)&&!e.hasAttribute(`title`);a||s||c&&l&&u&&d||F(e)||Ue(e)||e.querySelector(`track[kind="descriptions"]`)||r.push(P({ruleId:`custom-audio-description-missing`,severity:`high`,description:`Possible issue: video has no audio description track (<track kind="descriptions">) and no nearby transcript or described version. If the video shows information that is not in its soundtrack (actions, on-screen text, charts), blind and low-vision users miss it. Verify manually; the scanner cannot see whether descriptions are already in the main audio.`,helpUrl:`https://www.w3.org/WAI/WCAG22/Techniques/general/G78`,element:e,idx:i,selectorStr:t(e),isRevenueBlocker:n(e),wcagSC:`1.2.5`,wcagLevel:`AA`,wcagPrinciple:`Perceivable`}))}),r}function ot(e,t,n){let r=[];return M(`audio`,e).forEach((e,i)=>{let a=!1,o=e;for(let e=0;e<3&&o&&(o=o.parentElement,o);e++){if(o.querySelector(`a[href*="transcript"], a[href*="script"], [class*="transcript"]`)){a=!0;break}let e=(o.textContent||``).toLowerCase();if(e.includes(`transcript`)||e.includes(`full text`)||o.querySelector(`details[class*="transcript"], summary[class*="transcript"], [data-transcript]`)){a=!0;break}}a||r.push(P({ruleId:`custom-audio-transcript-missing`,severity:`high`,description:`Audio element has no text transcript reference within its surrounding context. Deaf and hard-of-hearing users, and users in sound-sensitive environments, cannot access the audio content. Provide a full text transcript as visible text on the page, or a clearly labeled link to a transcript page.`,helpUrl:`https://www.w3.org/WAI/WCAG22/Techniques/general/G158`,element:e,idx:i,selectorStr:t(e),isRevenueBlocker:n(e),wcagSC:`1.2.1`,wcagLevel:`A`,wcagPrinciple:`Perceivable`}))}),r}function st(e,t,n){let r=[];return M(`input[required], select[required], textarea[required]`,e).forEach((i,a)=>{let o=i.id?e.querySelector?.(`label[for="${i.id}"]`):i.closest(`label`),s=o?.textContent?.trim()||``,c=i.getAttribute(`aria-label`)||``,l=s.includes(`*`)||c.includes(`*`),u=/\brequired\b|\bmandatory\b/i.test(s)||/\brequired\b|\bmandatory\b/i.test(c),d=o?.querySelector(`svg, img[alt], [class*="icon"], [class*="required"]`)!==null||i.parentElement?.querySelector(`svg[aria-label], img[alt*="required"]`)!==null;l||u||d||r.push(P({ruleId:`custom-color-alone-required`,severity:`medium`,description:`Required form field has no visible non-color indicator. Color-blind users who rely on red borders or red asterisk coloring cannot identify required fields. Add a visible asterisk (*) or the word "required" to the label text so the requirement is conveyed without relying on color.`,helpUrl:`https://www.w3.org/WAI/WCAG22/Techniques/general/G205`,element:i,idx:a,selectorStr:t(i),isRevenueBlocker:n(i),wcagSC:`1.4.1`,wcagLevel:`A`,wcagPrinciple:`Perceivable`}))}),r}function ct(e,t,n){let r=[],i=[`banner`,`badge`,`promo`,`headline`,`title-img`,`text-img`,`logo-text`,`cta-`,`sale`,`offer`,`button-img`,`header-img`,`wordmark`,`tagline`];return M(`img[alt]`,e).forEach((e,a)=>{let o=(e.getAttribute(`alt`)||``).trim(),s=(e.getAttribute(`src`)||``).toLowerCase(),c=(e.className&&typeof e.className==`string`?e.className:``).toLowerCase();if(o===``)return;let l=o.split(/\s+/).length,u=i.some(e=>s.includes(e)),d=i.some(e=>c.includes(e));l<=10&&(u||d)&&r.push(P({ruleId:`custom-images-of-text`,severity:`medium`,description:`Image appears to contain styled text (alt: "${o.slice(0,60)}") rather than using real HTML text. Images of text cannot be resized by the user, are unreadable at high zoom, and cannot be customized for users with dyslexia or low vision. Replace with real text styled with CSS.`,helpUrl:`https://www.w3.org/WAI/WCAG22/Techniques/css/C22`,element:e,idx:a,selectorStr:t(e),isRevenueBlocker:n(e),wcagSC:`1.4.5`,wcagLevel:`AA`,wcagPrinciple:`Perceivable`}))}),r}function lt(e,t,n){let r=[];return M(`a[title], button[title], input[title], [role="button"][title]`,e).forEach((e,n)=>{let i=(e.getAttribute(`title`)||``).trim(),a=e.getAttribute(`aria-label`)||``,o=(e.textContent||``).trim();i&&i!==a&&i!==o&&!e.hasAttribute(`aria-describedby`)&&r.push(P({ruleId:`custom-title-attribute-advisory`,severity:`low`,description:`Element uses the native title attribute ("${i.slice(0,60)}") for supplementary information. Native title tooltips do not appear on keyboard focus in all browsers. Per WCAG SC 1.4.13 specifications, native title attributes are exempt from SC 1.4.13, but custom tooltips linked via aria-describedby provide a superior keyboard UX.`,helpUrl:`https://www.w3.org/WAI/WCAG22/Understanding/content-on-hover-or-focus`,element:e,idx:n,selectorStr:t(e),isRevenueBlocker:!1}))}),r}function ut(e){let t=[],n=document.querySelector(`title`),r=n?.textContent?.trim()||``,i=(document.querySelector(`h1`)?.textContent||``).trim().toLowerCase(),a=window.location.hostname.toLowerCase();return!n||r===``?t.push(P({ruleId:`custom-page-title-missing`,severity:`high`,description:`Page is missing a <title> element. Screen readers announce the page title first; without it, users have no way to identify the page in browser tabs or history.`,helpUrl:`https://www.w3.org/WAI/WCAG22/Techniques/html/H25`,element:e,idx:0,selectorStr:`head`,isRevenueBlocker:!1,wcagSC:`2.4.2`,wcagLevel:`A`,wcagPrinciple:`Operable`})):r.toLowerCase()===a||r.toLowerCase()===`home`||r.toLowerCase()===`untitled`?t.push(P({ruleId:`custom-page-title-generic`,severity:`medium`,description:`Page title is generic ("${r}"). Each page should have a unique, descriptive title that identifies the page topic or purpose (e.g. "Checkout - MyStore" not just "MyStore").`,helpUrl:`https://www.w3.org/WAI/WCAG22/Techniques/html/H25`,element:e,idx:1,selectorStr:`title`,isRevenueBlocker:!1,wcagSC:`2.4.2`,wcagLevel:`A`,wcagPrinciple:`Operable`})):i&&r.toLowerCase()===i&&t.push(P({ruleId:`custom-page-title-duplicate-h1`,severity:`low`,description:`Page title exactly matches the H1 heading ("${r}"). Consider making the title more descriptive by adding the site name (e.g. "${r} - Site Name") to help users identify it in browser tabs and history.`,helpUrl:`https://www.w3.org/WAI/WCAG22/Techniques/html/H25`,element:e,idx:2,selectorStr:`title`,isRevenueBlocker:!1,wcagPrinciple:`Operable`})),t}function dt(e,t,n){let r=[],i=new Set([`p`,`li`,`td`,`th`,`dd`,`dt`,`blockquote`,`figcaption`,`span`,`cite`,`q`]),a=M(`a, button, input:not([type="hidden"]), select, textarea, [role="button"], [role="link"], [role="checkbox"], [role="radio"], [role="menuitem"]`,e),o=a.map(e=>{let t=e.getBoundingClientRect();return{el:e,cx:t.left+t.width/2,cy:t.top+t.height/2,visible:t.width>0||t.height>0}});return a.forEach((e,a)=>{let s=e.getBoundingClientRect();if((s.width!==0||s.height!==0)&&(s.width<24||s.height<24)){if(e.tagName.toLowerCase()===`a`){let t=e.parentElement,n=t?.parentElement,r=t?.tagName?.toLowerCase()||``,a=n?.tagName?.toLowerCase()||``;if(i.has(r)||i.has(a))return}let c=o[a];if(!o.some(t=>{if(t.el===e||!t.visible)return!1;let n=c.cx-t.cx,r=c.cy-t.cy;return Math.sqrt(n*n+r*r)<24}))return;r.push(P({ruleId:`custom-touch-target-size`,severity:`medium`,description:`Interactive element (${e.tagName.toLowerCase()}) is ${Math.round(s.width)}×${Math.round(s.height)}px - below the WCAG 2.5.8 minimum of 24×24 CSS px and lacks 24px center-to-center spacing from adjacent controls. Small touch targets cause activation errors for users with motor disabilities or on touch screens.`,helpUrl:`https://www.w3.org/WAI/WCAG22/Understanding/target-size-minimum`,element:e,idx:a,selectorStr:t(e),isRevenueBlocker:n(e),wcagSC:`2.5.8`,wcagLevel:`AA`,wcagPrinciple:`Operable`}))}}),r}function ft(e,t,n){let r=[];return M(`marquee`,e).forEach((e,i)=>{r.push(P({ruleId:`custom-auto-updating-marquee`,severity:`high`,description:`The <marquee> element creates auto-scrolling text with no built-in mechanism to pause or stop it. This violates WCAG 2.2.2 and is a deprecated HTML element. Replace with CSS animation that respects prefers-reduced-motion.`,helpUrl:`https://www.w3.org/WAI/WCAG22/Techniques/general/G186`,element:e,idx:i,selectorStr:t(e),isRevenueBlocker:n(e),wcagSC:`2.2.2`,wcagLevel:`A`,wcagPrinciple:`Operable`}))}),M(`[class*="carousel"],[class*="slider"],[class*="rotator"],[class*="ticker"],[data-ride="carousel"]`,e).forEach((e,i)=>{e.querySelector(`[aria-label*="pause"], [aria-label*="stop"], button[class*="pause"]`)!==null||e.hasAttribute(`data-pause`)||r.push(P({ruleId:`custom-carousel-no-pause`,severity:`medium`,description:`Auto-rotating carousel or content slider has no visible pause, stop, or control mechanism. Users with cognitive disabilities, motor impairments, or who need more reading time must be able to pause moving content.`,helpUrl:`https://www.w3.org/WAI/WCAG22/Techniques/general/G187`,element:e,idx:i,selectorStr:t(e),isRevenueBlocker:n(e),wcagSC:`2.2.2`,wcagLevel:`A`,wcagPrinciple:`Operable`}))}),r}function pt(e,t,n){let r=[];return M(`[style*="animation"]`,e).forEach((e,i)=>{let a=e.style.animationDuration||``;if(a){let o=a.endsWith(`ms`)?parseFloat(a):parseFloat(a)*1e3;if(!isNaN(o)&&o>0&&o<333){let o=e.className?.toLowerCase()||``;if(o.includes(`spin`)||o.includes(`skeleton`)||o.includes(`pulse`)||o.includes(`loading`)||o.includes(`shimmer`)||o.includes(`bounce`))return;r.push(P({ruleId:`custom-flashing-content`,severity:`low`,description:`Element has inline animation-duration of ${a}. Animations faster than 333ms may potentially produce more than 3 flashes per second. Manual verification with the Photosensitivity Evaluation Tool (PEAT) or Harding FPA analysis is required to confirm compliance with WCAG 2.3.1. Automated tools cannot reliably detect seizure-inducing flash - this is an advisory signal only.`,helpUrl:`https://www.w3.org/WAI/WCAG22/Understanding/three-flashes-or-below-threshold`,element:e,idx:i,selectorStr:t(e),isRevenueBlocker:n(e),wcagSC:`2.3.1`,wcagLevel:`A`,wcagPrinciple:`Operable`}))}}}),r}function mt(e,t,n){let r=[];return M(`[draggable="true"]`,e).forEach((e,i)=>{e.parentElement?.querySelector(`button[aria-label*="move"], button[aria-label*="reorder"], button[aria-label*="up"], button[aria-label*="down"]`)!==null||e.hasAttribute(`aria-grabbed`)||e.hasAttribute(`aria-dropeffect`)||r.push(P({ruleId:`custom-drag-drop-no-keyboard-alt`,severity:`high`,description:`Draggable element has no keyboard-accessible alternative for the drag-and-drop interaction. Keyboard-only and switch-access users cannot perform drag operations. Add "Move Up/Down" buttons or implement keyboard drag with arrow key handlers.`,helpUrl:`https://www.w3.org/WAI/WCAG22/Understanding/dragging-movements`,element:e,idx:i,selectorStr:t(e),isRevenueBlocker:n(e),wcagSC:`2.5.7`,wcagLevel:`AA`,wcagPrinciple:`Operable`}))}),r}function ht(e,t,n){let r=[];return M(`a, button, input, select, textarea, [tabindex]`,e).forEach((e,i)=>{let a=e.style;(a.outlineColor===`transparent`||a.outlineColor===`rgba(0, 0, 0, 0)`||a.outlineStyle===`none`&&!a.boxShadow&&!a.border)&&r.push(P({ruleId:`custom-focus-indicator-quality`,severity:`high`,description:`Focus indicator has been set to transparent or removed via inline style with no visible replacement (no box-shadow or border). WCAG 2.4.7 requires a visible keyboard focus indicator.`,helpUrl:`https://www.w3.org/WAI/WCAG22/Understanding/focus-visible`,element:e,idx:i,selectorStr:t(e),isRevenueBlocker:n(e),wcagSC:`2.4.7`,wcagLevel:`AA`,wcagPrinciple:`Operable`}))}),r}function gt(e,t){let n=[],r=document.documentElement.lang?.toLowerCase().slice(0,2)||`en`;if(r!==`en`)return n;let i=[{lang:`fr`,label:`French`,pattern:/\b(merci|bonjour|s'il|s'il vous plaît|au revoir|français|votre|pour|avec|dans|sur)\b.*\b(merci|bonjour|plaît|revoir|français|votre|pour|avec|dans|sur|vous|nous|ce|document)\b/i},{lang:`es`,label:`Spanish`,pattern:/\b(gracias|hola|bienvenidos|español|para|con|sobre)\b.*\b(gracias|hola|bienvenidos|español|para|con|sobre|como|que|también)\b/i},{lang:`de`,label:`German`,pattern:/\b(danke|guten|bitte|deutsch|mit|von)\b.*\b(danke|tag|bitte|deutsch|mit|von|auf|über|unter|nach)\b/i},{lang:`ja`,label:`Japanese`,pattern:/[\u3040-\u30FF]{3,}/},{lang:`zh`,label:`Chinese`,pattern:/[\u4E00-\u9FFF\u3400-\u4DBF]{2,}/},{lang:`ar`,label:`Arabic`,pattern:/[\u0600-\u06FF\u0750-\u077F]{3,}/}];return M(`p, li, td, th, blockquote, caption`,e).forEach((e,a)=>{if(e.hasAttribute(`lang`))return;let o=e.textContent?.trim()||``;if(!(o.length<5||o.length>800)&&!(e.children.length>3)){for(let{lang:s,label:c,pattern:l}of i)if(l.test(o)){n.push(P({ruleId:`custom-language-of-parts`,severity:`low`,description:`Text appears to contain ${c} content ("${o.slice(0,60)}") on a page declared as lang="${r}", but this element has no lang="${s}" attribute. Screen readers will mispronounce foreign-language text without correct language markup. Advisory - verify this is genuine ${c} content before acting.`,helpUrl:`https://www.w3.org/WAI/WCAG22/Techniques/html/H58`,element:e,idx:a,selectorStr:t(e),isRevenueBlocker:!1,wcagSC:`3.1.2`,wcagLevel:`AA`,wcagPrinciple:`Understandable`}));break}}}),n}function _t(e,t,n){let r=[];return M(`select`,e).forEach((e,i)=>{let a=e.getAttribute(`onchange`)||``;(a.includes(`submit`)||a.includes(`location`)||a.includes(`href`)||a.includes(`.go(`)||a.includes(`navigate`)||a.includes(`window.location`))&&r.push(P({ruleId:`custom-auto-context-change`,severity:`high`,description:`Select element triggers an automatic page navigation or form submission via its onchange handler. This causes unexpected context changes when keyboard users navigate through options with arrow keys, violating WCAG 3.2.2.`,helpUrl:`https://www.w3.org/WAI/WCAG22/Techniques/failures/F36`,element:e,idx:i,selectorStr:t(e),isRevenueBlocker:n(e),wcagSC:`3.2.2`,wcagLevel:`A`,wcagPrinciple:`Understandable`}))}),r}function vt(e,t,n){let r=[];return M(`[class*="error"]:not(script):not(style), [class*="invalid"]:not(script):not(style), [class*="has-error"]:not(script):not(style), [aria-invalid="true"]`,e).forEach((e,i)=>{e.tagName.toLowerCase()!==`input`&&e.tagName.toLowerCase()!==`select`&&e.tagName.toLowerCase()!==`textarea`&&e.querySelector(`input, select, textarea`)===null&&e.closest(`form`)===null||e.hasAttribute(`aria-describedby`)||e.hasAttribute(`aria-errormessage`)||e.parentElement?.querySelector(`[role="alert"], .error-message, .field-error, [class*="error-text"]`)!==null||(e.parentElement?.textContent||``).length>(e.textContent||``).length+5||r.push(P({ruleId:`custom-form-error-color-only`,severity:`high`,description:`Form element appears to indicate an error state through styling (color class) alone, with no associated text error message or aria-describedby reference. Color-blind users and screen reader users cannot identify the error.`,helpUrl:`https://www.w3.org/WAI/WCAG22/Techniques/general/G83`,element:e,idx:i,selectorStr:t(e),isRevenueBlocker:n(e),wcagSC:`3.3.1`,wcagLevel:`A`,wcagPrinciple:`Understandable`}))}),r}function yt(e,t,n){let r=[];return M(`button, input[type="button"], input[type="submit"], input[type="reset"], [role="button"]`,e).forEach((e,i)=>{if(F(e))return;let a=(e.getAttribute(`type`)||``).toLowerCase();if(e.tagName===`INPUT`&&(a===`submit`||a===`reset`)&&!e.hasAttribute(`value`))return;let o=(e.getAttribute(`role`)||``).toLowerCase();if((o===`none`||o===`presentation`)&&e.hasAttribute(`disabled`))return;let s=e.textContent?.trim()||``,c=e.getAttribute(`aria-label`)||``,l=e.getAttribute(`aria-labelledby`)||``,u=e.getAttribute(`title`)||``,d=e.querySelector(`img[alt], svg[aria-label], svg title`)?.getAttribute(`alt`)||``,f=e.value||``;s===``&&c===``&&l===``&&u===``&&d===``&&f===``&&r.push(P({ruleId:`custom-empty-button`,severity:`critical`,description:`Button has no accessible text name (no text content, aria-label, title, or image alt text). Screen readers cannot announce the button function to users.`,helpUrl:`https://www.w3.org/WAI/WCAG22/Techniques/html/H91`,element:e,idx:i,selectorStr:t(e),isRevenueBlocker:n(e),wcagSC:`4.1.2`,wcagLevel:`A`,wcagPrinciple:`Robust`}))}),r}function bt(e,t,n){let r=[];return[`aria-labelledby`,`aria-describedby`,`aria-controls`,`aria-owns`,`aria-errormessage`].forEach(i=>{M(`[${i}]`,e).forEach((a,o)=>{(a.getAttribute(i)||``).split(/\s+/).filter(Boolean).forEach(s=>{let c=null;try{c=M(`#${CSS.escape(s)}`,e)[0]||null}catch{c=null}c||r.push(P({ruleId:`custom-broken-aria-reference`,severity:`high`,description:`Attribute ${i}="${s}" points to an ID ("${s}") that does not exist in the DOM. Assistive technology cannot associate the descriptive text or controlling target.`,helpUrl:`https://www.w3.org/WAI/WCAG22/Techniques/aria/ARIA1`,element:a,idx:o,selectorStr:t(a),isRevenueBlocker:n(a),wcagSC:`1.3.1`,wcagLevel:`A`,wcagPrinciple:`Robust`}))})})}),r}function xt(e,t,n){let r=[],i=Array.from(M(`h1, h2, h3, h4, h5, h6, [role="heading"]`,e)),a=0;return i.forEach((e,i)=>{let o=0,s=e.tagName.toLowerCase();if(/^h[1-6]$/.test(s))o=parseInt(s.charAt(1),10);else{let t=e.getAttribute(`aria-level`);t&&(o=parseInt(t,10))}o>0&&a>0&&o>a+1&&r.push(P({ruleId:`custom-skipped-heading-level`,severity:`medium`,description:`Heading structure skips a level from H${a} directly to H${o}. Heading levels should increase sequentially (H${a} → H${a+1}) to maintain an accurate page outline for screen reader navigation.`,helpUrl:`https://www.w3.org/WAI/WCAG22/Techniques/general/G141`,element:e,idx:i,selectorStr:t(e),isRevenueBlocker:n(e),wcagPrinciple:`Perceivable`})),o>0&&(a=o)}),r}function St(e,t,n){let r=[],i=Array.from(M(`a[href]`,e));for(let e=0;e<i.length-1;e++){let a=i[e],o=i[e+1],s=a.getAttribute(`href`)?.trim(),c=o.getAttribute(`href`)?.trim();s&&s===c&&s!==`#`&&s!==`javascript:void(0)`&&(a.parentElement===o.parentElement||a.nextElementSibling===o)&&r.push(P({ruleId:`custom-redundant-link`,severity:`low`,description:`Adjacent links point to the exact same destination ("${s}"). Combine them into a single link to avoid screen reader repetition when tabbing.`,helpUrl:`https://www.w3.org/WAI/WCAG22/Techniques/html/H2`,element:o,idx:e,selectorStr:t(o),isRevenueBlocker:n(o),wcagPrinciple:`Operable`}))}return r}function Ct(e,t){let n=[];return M(`noscript`,e).forEach((e,r)=>{n.push(P({ruleId:`custom-noscript-element`,severity:`low`,description:`Page contains a <noscript> element. Content inside <noscript> is ignored by modern JavaScript-enabled screen readers. Ensure all critical content is accessible in the main DOM.`,helpUrl:`https://www.w3.org/WAI/WCAG22/Techniques/client-side-script/SCR1`,element:e,idx:r,selectorStr:t(e),isRevenueBlocker:!1}))}),n}function wt(e,t,n){let r=Date.now(),i={};[`keydown`,`mousedown`].forEach(e=>{window.addEventListener(e,()=>{r=Date.now()},{passive:!0})});let a=new MutationObserver(a=>{let o=Date.now(),s=o-r,c=new Set;for(let e of a){let t=e.target;if(!t||typeof t.closest!=`function`||!t.hasAttribute?.(`aria-live`)&&!t.hasAttribute?.(`role`)&&!t.parentElement?.hasAttribute(`aria-live`)&&!t.parentElement?.hasAttribute(`role`))continue;let n=t.closest(`[aria-live],[role="status"],[role="log"],[role="alert"],[role="marquee"],[role="timer"]`);n&&c.add(n)}c.forEach(r=>{let a=(r.getAttribute(`role`)||``).toLowerCase();if(a===`log`||a===`timer`||a===`marquee`||r.getAttribute(`aria-busy`)===`true`)return;let c=e(r);if(i[c]||(i[c]={count:0,timestamps:[]}),i[c].timestamps.push(o),i[c].count++,i[c].timestamps=i[c].timestamps.filter(e=>o-e<1e4),i[c].timestamps.length>6&&s>5e3&&!n.some(e=>e.selector===c&&e.ruleId===`custom-live-region-chatter`)){let e=t(r),a={id:`custom-live-region-chatter-${(()=>{let e=5381,t=c;for(let n=0;n<t.length;n++)e=(e<<5)+e^t.charCodeAt(n),e>>>=0;return e.toString(36)})()}`,ruleId:`custom-live-region-chatter`,severity:`high`,description:`Live region (${r.tagName.toLowerCase()}) updated continuously (${i[c].timestamps.length} updates in 10s) without user interaction, causing cognitive overload for screen reader users.`,impact:`serious`,help:`Reduce frequency of updates, use aria-busy="true" during batch updates, or set role="log" for continuous streams.`,helpUrl:`https://www.w3.org/WAI/WCAG22/Understanding/interruptions`,elementHtml:r.outerHTML.slice(0,300),selector:c,wcagTags:N(`2.2.2`,`A`),wcagSC:`2.2.2`,wcagLevel:`A`,wcagPrinciple:`Operable`,isRevenueBlocker:e};n.push(a)}})}),o=()=>{document.body&&a.observe(document.body,{childList:!0,subtree:!0,characterData:!0,attributes:!0,attributeFilter:[`aria-label`,`aria-valuenow`,`title`]})};document.body?o():document.addEventListener(`DOMContentLoaded`,()=>o())}var Tt=`a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])`,Et=[`[data-focus-lock-disabled]`,`[data-radix-focus-guard]`,`.focus-trap`,`[data-focus-trap]`,`[data-headlessui-focus-sentinel]`,`[data-focus-guard]`,`[data-floating-ui-portal]`,`.chakra-modal__content-container`,`[data-v-focus-trap]`],Dt=[`#intercom-container`,`#intercom-frame`,`.intercom-app`,`#drift-widget`,`#drift-frame-controller`,`#CookiebotDialog`,`#cookiebanner`,`.CookieConsent`,`#onetrust-consent-sdk`,`#onetrust-pc-sdk`,`#hubspot-messages-iframe-container`,`[id*="zendesk"]`,`[id*="tidio"]`,`[id*="freshchat"]`,`.hotjar-survey`,`[class*="hotjar"]`,`[id*="userlike"]`,`[id*="livechat"]`,`.grecaptcha-badge`];function Ot(e){return Dt.some(t=>{try{return!!e.closest(t)}catch{return!1}})}function kt(e){for(let t of Et)try{if(e.querySelector(t)||e.matches(t))return!0}catch{}let t=e.previousElementSibling,n=e.nextElementSibling;for(let e of Et)try{if(t?.matches(e)||n?.matches(e))return!0}catch{}return!!(e.closest(`.MuiModal-root`)||e.closest(`.chakra-modal__overlay`))}function At(e){if(e.hasAttribute?.(`inert`)||e.closest?.(`[inert]`)!==null||e.getAttribute(`aria-hidden`)===`true`||e.style.display===`none`||e.style.visibility===`hidden`)return!0;try{let t=window.getComputedStyle(e);if(t.display===`none`||t.visibility===`hidden`||t.opacity===`0`)return!0}catch{}return!1}function jt(e){let t=e;for(;t;){if(At(t))return!0;t=t.parentElement}return!1}function Mt(e){if(jt(e)||e.closest(`[inert]`)||Ot(e))return!1;try{let t=e.getBoundingClientRect();if(t.width===0&&t.height===0||t.right<-300||t.bottom<-300)return!1;let n=window.getComputedStyle(e);if(n.clip===`rect(0px, 0px, 0px, 0px)`||n.clipPath===`inset(50%)`||n.clipPath===`inset(100%)`)return!1}catch{}return!0}function Nt(e,t){let n=[],r=[],i=Array.from(document.querySelectorAll(`dialog[open], [role="dialog"], [role="alertdialog"], [aria-modal="true"], .modal[aria-label], .modal[aria-labelledby], .dialog[aria-label], .dialog[aria-labelledby]`)).filter(e=>{if(At(e))return!1;try{let t=e.getBoundingClientRect();if(t.width===0&&t.height===0)return!1}catch{}return!0});if(i.length===0)return n.push(`No open modal/dialog detected on the page.`),n.push(`─────────────────────────────────────────`),n.push(`ℹ️ How to use this auditor:`),n.push(` 1. Interact with the page to open a modal or dialog`),n.push(` 2. While the dialog is visible, click "Run Focus Audit"`),n.push(` 3. The auditor will analyse focus containment in real-time`),n.push(``),n.push(` Detects: [role="dialog"], [aria-modal="true"],`),n.push(` .modal[aria-label/labelledby], .dialog[aria-label/labelledby]`),{success:!1,dialogFound:!1,log:n,violations:r};n.push(`Found ${i.length} open modal container(s). Running checks…`);let a=M(Tt);return i.forEach((o,s)=>{if(n.push(`\n─── Modal ${s+1} of ${i.length}: ${e(o)}`),kt(o)){n.push(`⚡ Focus-trap library detected on this modal (react-focus-lock / Radix / headlessui or similar). JS-managed focus containment cannot be verified via static DOM analysis — verify with keyboard-only testing.`);return}let c=o.getAttribute(`aria-modal`)===`true`,l=!1;try{l=o.tagName===`DIALOG`&&o.matches(`:modal`)}catch{}let u=c||l;l?n.push(`✅ Native modal dialog (showModal): the browser makes the rest of the page inert.`):c||n.push(`ℹ️ Non-modal dialog (no aria-modal="true"): focus may move outside it by design. If this dialog is meant to be modal, add aria-modal="true" and keep focus inside it.`);let d=o.getAttribute(`aria-labelledby`),f=o.hasAttribute(`aria-label`),p=d!==null&&document.getElementById(d)!==null;!f&&!p&&(n.push(`⚠️ Warning: Dialog has no accessible name (aria-label or aria-labelledby). Screen readers will announce it as an unnamed "dialog".`),r.push({id:`custom-dialog-no-name-${s}`,ruleId:`custom-focus-trap-and-return`,severity:`medium`,description:`Dialog element has no accessible name. Screen readers announce it as "dialog" with no context about its purpose. Add aria-label="…" or aria-labelledby="[id of the visible heading inside the dialog]".`,impact:`moderate`,help:`Add aria-label or aria-labelledby pointing to the dialog's visible title.`,helpUrl:`https://www.w3.org/WAI/ARIA/apg/patterns/dialog-modal/`,elementHtml:o.outerHTML.slice(0,300),selector:e(o),wcagTags:N(`4.1.2`,`A`),wcagSC:`4.1.2`,wcagLevel:`A`,wcagPrinciple:`Robust`,isRevenueBlocker:t(o)}));let m=a.filter(e=>o.contains(e)&&Mt(e));if(m.length===0)n.push(`❌ Error: Modal has no effectively keyboard-reachable elements. Keyboard-only users cannot interact with or dismiss it.`),r.push({id:`custom-focus-trap-missing-elements-${s}`,ruleId:`custom-focus-trap-and-return`,severity:`high`,description:`Modal dialog contains no keyboard-reachable interactive elements. Keyboard-only users cannot interact with or dismiss the dialog. Add a visible close button or another focusable element inside the modal.`,impact:`serious`,help:`Add a close button or focusable element (tabindex="0") inside the modal.`,helpUrl:`https://www.w3.org/WAI/WCAG22/Techniques/general/G191`,elementHtml:o.outerHTML.slice(0,300),selector:e(o),wcagTags:N(`2.4.3`,`A`),wcagSC:`2.4.3`,wcagLevel:`A`,wcagPrinciple:`Operable`,isRevenueBlocker:t(o)});else{if(n.push(`✅ ${m.length} keyboard-reachable element(s) found inside modal.`),c&&!l){let i=a.filter(e=>!o.contains(e)&&Mt(e));if(i.length>0){let a=i.slice(0,3).map(t=>e(t)).join(`, `),c=i.length>3?` (+${i.length-3} more)`:``;n.push(`❌ Focus containment broken — ${i.length} focusable element(s) outside the modal are still keyboard-reachable.`),n.push(` Leaking: ${a}${c}`),r.push({id:`custom-focus-trap-escape-${s}`,ruleId:`custom-focus-trap-and-return`,severity:`critical`,description:`Focus trap is broken: ${i.length} interactive element(s) outside the modal remain reachable via Tab key — keyboard users will accidentally leave the dialog and become disoriented. Leaking elements: ${a}${c}. Fix: apply the inert attribute (or aria-hidden="true") to all sibling containers of the modal root element.`,impact:`critical`,help:`Set inert (or aria-hidden="true") on all non-modal sibling containers.`,helpUrl:`https://www.w3.org/WAI/WCAG22/Techniques/general/G191`,elementHtml:o.outerHTML.slice(0,300),selector:e(o),wcagTags:N(`2.4.3`,`A`),wcagSC:`2.4.3`,wcagLevel:`A`,wcagPrinciple:`Operable`,isRevenueBlocker:t(o)})}else n.push(`✅ Focus containment verified — all outside elements are hidden or filtered.`)}if(o.contains(document.activeElement))n.push(`✅ Focus is currently inside the modal.`);else{let i=o.hasAttribute(`autofocus`)||o.querySelector(`[autofocus]`)!==null;!i&&u&&r.push({id:`custom-modal-focus-not-moved-${s}`,ruleId:`custom-focus-trap-and-return`,severity:`high`,description:`Focus did not move into the modal dialog when it opened, so keyboard and screen reader users stay behind it on content they cannot use.`,impact:`serious`,help:`Move focus into the dialog when it opens (its first focusable element, or the dialog with tabindex="-1").`,helpUrl:`https://www.w3.org/WAI/ARIA/apg/patterns/dialog-modal/`,elementHtml:o.outerHTML.slice(0,300),selector:e(o),wcagTags:N(`2.4.3`,`A`),wcagSC:`2.4.3`,wcagLevel:`A`,wcagPrinciple:`Operable`,isRevenueBlocker:t(o)}),i||n.push(`⚠️ Warning: Focus is not currently inside the modal and no autofocus attribute was found. If focus was not moved programmatically when the dialog opened, keyboard users may be stranded behind it. Ensure focus is moved to the dialog or its first focusable child on open (e.g. dialog.focus() or firstFocusable.focus()).`)}}}),{success:r.length===0,dialogFound:!0,log:n,violations:r}}function Pt(e){if(e.disabled||e.hasAttribute(`disabled`)||e.getAttribute(`aria-disabled`)===`true`)return!1;let t=e;for(;t;){if(t.hasAttribute?.(`hidden`)||t.hasAttribute?.(`inert`)||t.style?.display===`none`||t.style?.visibility===`hidden`||t.style?.visibility===`collapse`)return!1;try{let e=window.getComputedStyle(t);if(e.display===`none`||e.visibility===`hidden`||e.visibility===`collapse`)return!1}catch{}t=t.parentElement}let n=e.closest(`details`);if(n&&!n.open){let t=n.querySelector(`summary`);if(!t||!t.contains(e))return!1}if(!(typeof navigator<`u`&&navigator.userAgent&&navigator.userAgent.includes(`jsdom`))){let t=e.getBoundingClientRect();if(t.width===0&&t.height===0&&!e.getClientRects().length)return!1}return!0}function Ft(e=document){let t=`a[href], area[href], button:not([disabled]), input:not([disabled]):not([type="hidden"]), select:not([disabled]), textarea:not([disabled]), details > summary:first-of-type, iframe, [contenteditable]:not([contenteditable="false"]), [tabindex]`,n=[];try{n=M(t,e)}catch{n=Array.from(document.querySelectorAll(t))}let r=new Set,i=[];for(let e of n){if(r.has(e))continue;r.add(e);let t=e.getAttribute(`tabindex`);if(t!==null){let e=parseInt(t,10);if(!isNaN(e)&&e<0)continue}Pt(e)&&i.push(e)}i.sort((e,t)=>{if(e===t)return 0;let n=e.compareDocumentPosition(t);return n&Node.DOCUMENT_POSITION_FOLLOWING?-1:n&Node.DOCUMENT_POSITION_PRECEDING?1:0});let a=new Map;for(let e of i)if(e.tagName.toLowerCase()===`input`&&e.type===`radio`){let t=e,n=`${t.form?t.form.id||`form_`+Math.random():`global`}__${t.name||`__unnamed`}`;a.has(n)||a.set(n,[]),a.get(n).push(t)}let o=new Set;for(let e of a.values()){let t=e.find(e=>e.checked)||e[0];for(let n of e)n!==t&&o.add(n)}let s=i.filter(e=>!o.has(e)),c=[],l=[];for(let e of s){let t=e.getAttribute(`tabindex`),n=t===null?0:parseInt(t,10),r=isNaN(n)?0:n;r>0?c.push({el:e,tabIndex:r}):l.push({el:e})}return c.sort((e,t)=>{if(e.tabIndex!==t.tabIndex)return e.tabIndex-t.tabIndex;let n=e.el.compareDocumentPosition(t.el);return n&Node.DOCUMENT_POSITION_FOLLOWING?-1:n&Node.DOCUMENT_POSITION_PRECEDING?1:0}),[...c.map(e=>({el:e.el,isPositive:!0,tabIndex:e.tabIndex})),...l.map(e=>({el:e.el,isPositive:!1,tabIndex:0}))].map((e,t)=>{let n=e.el,r=n.getBoundingClientRect(),i=n.getAttribute(`aria-label`)||n.getAttribute(`title`)||n.getAttribute(`alt`)||n.textContent?.trim()||``,a=``;try{a=A(n)}catch{a=n.tagName.toLowerCase()+(n.id?`#${n.id}`:``)}return{index:t+1,selector:a,tag:n.tagName.toLowerCase(),role:n.getAttribute(`role`)||n.tagName.toLowerCase(),name:i.slice(0,50),rect:{top:r.top,left:r.left,width:r.width,height:r.height},timestamp:Date.now(),tabIndex:e.tabIndex,isPositiveTabIndex:e.isPositive}})}var I=new class{active=!1;mode=`audit`;nodes=[];elementRefs=[];svgOverlay=null;lastTabKey=null;focusChain=[];rafId=null;audit(){this.mode=`audit`,this.clear(),this.createSvgOverlay(),this.nodes=Ft(document);let e=M(`a[href], button:not([disabled]), input:not([disabled]):not([type="hidden"]), select:not([disabled]), textarea:not([disabled]), details > summary:first-of-type, [contenteditable]:not([contenteditable="false"]), [tabindex]`);this.elementRefs=[];for(let t of this.nodes){let n=e.find(e=>{let n=e.getBoundingClientRect();return Math.abs(n.top-t.rect.top)<2&&Math.abs(n.left-t.rect.left)<2});n&&this.elementRefs.push(n)}this.render(),this.attachScrollListeners();let t={totalStops:this.nodes.length,positiveTabIndexCount:this.nodes.filter(e=>e.isPositiveTabIndex).length,hasBodyLoss:!1,hasTrap:!1,nodes:[...this.nodes]};try{chrome.runtime.sendMessage({type:`TAB_AUDIT_COMPLETE`,payload:t}).catch(()=>{})}catch{}return t}start(){this.active||(this.active=!0,this.mode=`tracer`,this.clear(),this.createSvgOverlay(),this.nodes=[],this.elementRefs=[],this.focusChain=[],document.addEventListener(`focusin`,this.handleFocusIn,!0),document.addEventListener(`keydown`,this.handleKeyDown,!0),this.attachScrollListeners())}stop(){this.active=!1,document.removeEventListener(`focusin`,this.handleFocusIn,!0),document.removeEventListener(`keydown`,this.handleKeyDown,!0),this.detachScrollListeners(),this.svgOverlay&&=(this.svgOverlay.remove(),null)}clear(){this.nodes=[],this.elementRefs=[],this.focusChain=[],this.svgOverlay&&(this.svgOverlay.innerHTML=``)}getNodes(){return[...this.nodes]}getReport(){return{totalStops:this.nodes.length,positiveTabIndexCount:this.nodes.filter(e=>e.isPositiveTabIndex).length,hasBodyLoss:this.nodes.some(e=>e.isBodyLoss),hasTrap:this.nodes.some(e=>e.isTrap),nodes:[...this.nodes]}}handleKeyDown=e=>{e.key===`Escape`?this.stop():e.key===`Tab`&&(this.lastTabKey={shiftKey:e.shiftKey,time:Date.now()})};handleFocusIn=e=>{if(!this.active||this.mode!==`tracer`)return;let t=Date.now(),n=this.lastTabKey&&t-this.lastTabKey.time<400,r=e.composedPath&&e.composedPath()[0]?e.composedPath()[0]:e.target;if(!r)return;if(r===document.body||r===document.documentElement){if(n){let e={index:this.nodes.length+1,selector:`document.body`,tag:`body`,role:`document`,name:`FOCUS DROPPED TO BODY (Keyboard Focus Lost)`,rect:{top:0,left:0,width:window.innerWidth,height:4},timestamp:Date.now(),isBodyLoss:!0};this.nodes.push(e),this.render(),this.broadcastNodeEvent(e)}return}if(!n)return;let i=r.getBoundingClientRect();if(i.width===0&&i.height===0&&!r.getClientRects().length)return;if(this.lastTabKey?.shiftKey){let e=this.elementRefs.indexOf(r);if(e!==-1){this.nodes[e].revisited=!0,this.render(),this.broadcastNodeEvent(this.nodes[e]);return}}this.focusChain.push(r),this.focusChain.length>8&&this.focusChain.shift();let a=!1;if(this.focusChain.length>=6){let e=this.focusChain.slice(-4);e[0]===e[2]&&e[1]===e[3]&&e[0]!==e[1]&&(a=!0)}let o=this.elementRefs.indexOf(r);if(o!==-1){this.nodes[o].revisited=!0,a&&(this.nodes[o].isTrap=!0),this.render(),this.broadcastNodeEvent(this.nodes[o]);return}let s=r.getAttribute(`tabindex`),c=s===null?0:parseInt(s,10),l=!isNaN(c)&&c>0,u=r.getAttribute(`aria-label`)||r.getAttribute(`title`)||r.textContent?.trim()||``,d=``;try{d=A(r)}catch{d=r.tagName.toLowerCase()+(r.id?`#${r.id}`:``)}let f={index:this.nodes.length+1,selector:d,tag:r.tagName.toLowerCase(),role:r.getAttribute(`role`)||r.tagName.toLowerCase(),name:u.slice(0,50),rect:{top:i.top,left:i.left,width:i.width,height:i.height},timestamp:Date.now(),tabIndex:c,isPositiveTabIndex:l,isTrap:a};this.nodes.push(f),this.elementRefs.push(r),this.render(),this.broadcastNodeEvent(f)};broadcastNodeEvent(e){try{chrome.runtime.sendMessage({type:`TAB_NODE_EVENT`,payload:e,totalNodes:this.nodes.length}).catch(()=>{})}catch{}}attachScrollListeners(){window.addEventListener(`scroll`,this.handleViewportChange,{passive:!0}),window.addEventListener(`resize`,this.handleViewportChange,{passive:!0})}detachScrollListeners(){window.removeEventListener(`scroll`,this.handleViewportChange),window.removeEventListener(`resize`,this.handleViewportChange),this.rafId&&=(cancelAnimationFrame(this.rafId),null)}handleViewportChange=()=>{this.rafId||=requestAnimationFrame(()=>{this.rafId=null,this.updatePositions()})};updatePositions(){this.svgOverlay&&this.elementRefs.length!==0&&(this.nodes.forEach((e,t)=>{let n=this.elementRefs[t];if(n&&n.isConnected){let t=n.getBoundingClientRect();e.rect={top:t.top,left:t.left,width:t.width,height:t.height}}}),this.render())}createSvgOverlay(){this.svgOverlay&&this.svgOverlay.remove();let e=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight,document.documentElement.clientHeight);this.svgOverlay=document.createElementNS(`http://www.w3.org/2000/svg`,`svg`),this.svgOverlay.id=`a11y-tabstop-tracer-root`,this.svgOverlay.style.cssText=`
10
+ position: absolute;
11
+ top: 0;
12
+ left: 0;
13
+ width: 100%;
14
+ height: ${e}px;
15
+ pointer-events: none;
16
+ z-index: 2147483645;
17
+ `,document.body.appendChild(this.svgOverlay)}render(){if(!this.svgOverlay)return;let e=window.scrollX||window.pageXOffset,t=window.scrollY||window.pageYOffset,n=``;for(let r=0;r<this.nodes.length-1;r++){let i=this.nodes[r],a=this.nodes[r+1];if(i.isBodyLoss||a.isBodyLoss)continue;let o=i.rect.left+e+Math.min(20,i.rect.width/2),s=i.rect.top+t+Math.min(20,i.rect.height/2),c=a.rect.left+e+Math.min(20,a.rect.width/2),l=a.rect.top+t+Math.min(20,a.rect.height/2),u=a.isTrap?`#EF4444`:a.isPositiveTabIndex?`#F59E0B`:`#6366F1`;n+=`
18
+ <line x1="${o}" y1="${s}" x2="${c}" y2="${l}"
19
+ stroke="${u}" stroke-width="2.5" stroke-dasharray="5,4" opacity="0.85"/>
20
+ `}this.nodes.forEach(r=>{if(r.isBodyLoss){n+=`
21
+ <rect x="0" y="${t}" width="100%" height="8" fill="#EF4444" opacity="0.9"/>
22
+ <text x="16" y="${t+20}" fill="#EF4444" font-family="sans-serif" font-size="12" font-weight="bold">
23
+ ⚠ FOCUS DROPPED TO DOCUMENT BODY (Keyboard Trapped / Focus Lost)
24
+ </text>
25
+ `;return}let i=r.rect.left+e,a=r.rect.top+t,o=i+Math.min(14,r.rect.width/2),s=a+Math.min(14,r.rect.height/2),c=r.isTrap?`#EF4444`:r.isPositiveTabIndex?`#D97706`:`#4F46E5`,l=r.isTrap?`#EF4444`:r.isPositiveTabIndex?`#F59E0B`:`#6366F1`;n+=`
26
+ <rect x="${i}" y="${a}"
27
+ width="${r.rect.width}" height="${r.rect.height}"
28
+ fill="none" stroke="${l}" stroke-width="2" rx="4" opacity="0.85"/>
29
+ <g transform="translate(${o}, ${s})">
30
+ <circle r="12" fill="${c}" stroke="#FFFFFF" stroke-width="2.2" filter="drop-shadow(0 1px 2px rgba(0,0,0,0.3))"/>
31
+ <text text-anchor="middle" dy="4" fill="#FFFFFF" font-family="monospace" font-size="10" font-weight="bold">
32
+ ${r.index}
33
+ </text>
34
+ </g>
35
+ `}),this.svgOverlay.innerHTML=n}},L=new class{activePatches=new Map;bulkPatches=new Map;elementRegistry=new WeakMap;observers=new Map;bulkObservers=new Map;syntheticListeners=new Map;activeCssPatches=new Map;cssStyleElement=null;applyPatch(e,t){let n=this.resolveElement(e);if(!n)return console.warn(`[A11yEngine LivePatch] Target element not found for selector:`,e),!1;this.stopObserver(e);let r={};for(let e of Object.keys(t))r[e]=n.getAttribute(e);this.mutateAttributes(n,t),(t.role===`button`||t.role===`link`)&&this.attachSyntheticKeyboardAdapter(e,n);let i={selector:e,originalAttributes:r,appliedAttributes:t,timestamp:Date.now()};return this.activePatches.set(e,i),this.elementRegistry.set(n,i),this.startObserver(e,n,t),console.log(`[A11yEngine LivePatch] Applied live DOM patch to:`,e,t),!0}applyBulkPatch(e,t){let n=M(e);if(!n||n.length===0){let t=this.generalizeSelector(e);t&&t!==e&&(n=M(t))}if(!n||n.length===0){let t=j(e);if(t&&t.parentElement){let e=t.tagName.toLowerCase();n=Array.from(t.parentElement.querySelectorAll(e))}}if(!n||n.length===0)return console.warn(`[A11yEngine LivePatch] No elements found for bulk patch selector:`,e),{success:!1,count:0};this.revertBulkPatch(e);let r=[],i=[];return n.forEach(n=>{if(!(n instanceof HTMLElement))return;let a={};for(let e of Object.keys(t))a[e]=n.getAttribute(e);this.mutateAttributes(n,t),(t.role===`button`||t.role===`link`)&&this.attachSyntheticKeyboardAdapter(e,n),r.push({element:n,originalAttributes:a});let o=this.createObserver(n,t);o&&i.push(o)}),this.bulkPatches.set(e,{selector:e,count:r.length,records:r,appliedAttributes:t,timestamp:Date.now()}),this.bulkObservers.set(e,i),console.log(`[A11yEngine LivePatch] Applied bulk DOM patch to ${r.length} instances of:`,e),{success:!0,count:r.length}}revertBulkPatch(e){let t=this.bulkPatches.get(e);if(!t)return!1;let n=this.bulkObservers.get(e);return n&&(n.forEach(e=>e.disconnect()),this.bulkObservers.delete(e)),this.removeSyntheticKeyboardAdapter(e),t.records.forEach(({element:e,originalAttributes:t})=>{if(e instanceof HTMLElement)for(let[n,r]of Object.entries(t))r===null?e.removeAttribute(n):e.setAttribute(n,r)}),this.bulkPatches.delete(e),console.log(`[A11yEngine LivePatch] Reverted bulk DOM patch for:`,e),!0}applyCssPatch(e,t){let n=this.resolveCssSelector(e);return n?(this.ensureStyleElement(),this.activeCssPatches.set(e,{resolvedSelector:n,rules:t}),this.updateStyleSheet(),console.log(`[A11yEngine LivePatch] Applied live CSS patch to:`,n),!0):(console.warn(`[A11yEngine LivePatch] No live element matches CSS patch selector:`,e),!1)}revertCssPatch(e){return this.activeCssPatches.has(e)?(this.activeCssPatches.delete(e),this.updateStyleSheet(),console.log(`[A11yEngine LivePatch] Reverted live CSS patch for:`,e),!0):!1}revertPatch(e){let t=this.activePatches.get(e);if(!t)return!1;this.stopObserver(e),this.removeSyntheticKeyboardAdapter(e);let n=j(e);if(n)for(let[e,r]of Object.entries(t.originalAttributes))r===null?n.removeAttribute(e):n.setAttribute(e,r);return this.activePatches.delete(e),console.log(`[A11yEngine LivePatch] Reverted live DOM patch for:`,e),!0}revertAll(){for(let e of Array.from(this.activePatches.keys()))this.revertPatch(e);for(let e of Array.from(this.bulkPatches.keys()))this.revertBulkPatch(e);this.activePatches.clear(),this.bulkPatches.clear(),this.activeCssPatches.clear(),this.cssStyleElement&&=(this.cssStyleElement.remove(),null)}getActivePatches(){return Array.from(this.activePatches.values())}getBulkPatches(){return Array.from(this.bulkPatches.values())}getActiveCssPatches(){return Array.from(this.activeCssPatches.entries()).map(([e,t])=>({selector:e,...t}))}generateGitDiff(e,t,n){let r=t.slice(0,150),i=r;for(let[e,t]of Object.entries(n))t!==null&&(i=i.replace(/>/,` ${e}="${t}">`));return[`--- a/component.html`,`+++ b/component.html`,`@@ -1,1 +1,1 @@`,`- ${r}`,`+ ${i}`].join(`
36
+ `)}generalizeSelector(e){if(!e)return null;let t=e.split(`>>>`).map(e=>e.trim()),n=t[t.length-1].split(`>`).map(e=>e.trim()).filter(Boolean);if(n.length<=1)return null;let r=n[n.length-1],i=[`nav`,`main`,`header`,`footer`,`form`,`aside`,`section`,`ul`,`ol`,`table`,`dialog`];for(let e=n.length-2;e>=0;e--){let a=n[e].toLowerCase();for(let o of i)if(a===o||a.startsWith(o+`#`)||a.startsWith(o+`.`)){let i=`${n[e]} ${r}`;return t[t.length-1]=i,t.join(` >>> `)}}let a=n[0];if(a!==r){let e=`${a} ${r}`;return t[t.length-1]=e,t.join(` >>> `)}return r}mutateAttributes(e,t){for(let[n,r]of Object.entries(t))r===null?e.removeAttribute(n):e.setAttribute(n,r)}createObserver(e,t){if(typeof MutationObserver>`u`)return null;let n=new MutationObserver(r=>{let i=!1;for(let n of r)if(n.type===`attributes`&&n.attributeName&&n.attributeName in t){let r=t[n.attributeName];if(e.getAttribute(n.attributeName)!==r){i=!0;break}}i&&(n.disconnect(),this.mutateAttributes(e,t),n.observe(e,{attributes:!0,attributeFilter:Object.keys(t)}))});return n.observe(e,{attributes:!0,attributeFilter:Object.keys(t)}),n}startObserver(e,t,n){let r=this.createObserver(t,n);r&&this.observers.set(e,r)}stopObserver(e){let t=this.observers.get(e);t&&(t.disconnect(),this.observers.delete(e))}attachSyntheticKeyboardAdapter(e,t){if(!(t instanceof HTMLElement)||t.tagName.toLowerCase()===`button`||t.tagName.toLowerCase()===`a`)return;t.hasAttribute(`tabindex`)||t.setAttribute(`tabindex`,`0`);let n=e=>{(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),t.click())};t.addEventListener(`keydown`,n);let r=this.syntheticListeners.get(e);r||(r=[],this.syntheticListeners.set(e,r)),r.push({element:t,handler:n})}removeSyntheticKeyboardAdapter(e){let t=this.syntheticListeners.get(e);t&&(t.forEach(({element:e,handler:t})=>{e.removeEventListener(`keydown`,t)}),this.syntheticListeners.delete(e))}ensureStyleElement(){typeof document<`u`&&(this.cssStyleElement&&document.head.contains(this.cssStyleElement)||(this.cssStyleElement=document.createElement(`style`),this.cssStyleElement.id=`a11y-live-patch-css`,document.head.appendChild(this.cssStyleElement)))}updateStyleSheet(){if(!this.cssStyleElement)return;let e=``;for(let{resolvedSelector:t,rules:n}of this.activeCssPatches.values())e+=`${t} { ${n} }\n`;this.cssStyleElement.textContent=e}resolveElement(e){let t=j(e);if(t)return t;let n=this.generalizeSelector(e);return n&&n!==e&&(t=j(n)),t}resolveCssSelector(e){if(!e)return null;if(M(e).length>0)return e;let t=this.generalizeSelector(e);return t&&t!==e&&M(t).length>0?t:null}},It={kind:`unsupported`};function Lt(e){let t=(e||``).toLowerCase();return t.includes(`color-contrast`)||t.includes(`contrast`)?{kind:`css`,cssRules:`color: #0f172a !important; background-color: #ffffff !important;`}:t.includes(`image-alt`)?{kind:`attributes`,attributes:{alt:`Placeholder: describe this image`}}:t.includes(`button-name`)||t.includes(`empty-button`)?{kind:`attributes`,attributes:{"aria-label":`Placeholder: describe this button`,type:`button`}}:t.includes(`link-name`)||t.includes(`vague-link`)||t.includes(`label-content-name-mismatch`)?{kind:`attributes`,attributes:{"aria-label":`Placeholder: describe this link`}}:t===`label`||t.includes(`label`)?{kind:`attributes`,attributes:{"aria-label":`Placeholder: label this field`}}:t.includes(`skipped-heading`)||t.includes(`heading`)?{kind:`attributes`,attributes:{role:`heading`,"aria-level":`2`}}:t.includes(`tabindex-improper`)||t.includes(`positive-tabindex`)||t.includes(`keyboard-nav`)?{kind:`attributes`,attributes:{tabindex:`0`}}:t.includes(`focus-outline`)||t.includes(`focus-visible`)||t.includes(`focus-indicator-quality`)?{kind:`css`,cssRules:`outline: 2px solid #6366f1 !important; outline-offset: 2px !important;`}:t.includes(`html-lang`)||t.includes(`html-has-lang`)?{kind:`attributes`,attributes:{lang:`en`}}:t.includes(`landmark`)||t.includes(`main`)?{kind:`attributes`,attributes:{role:t.includes(`one-main`)||t===`main`||t===`main-element`?`main`:`region`}}:t.includes(`touch-target-size`)?{kind:`css`,cssRules:`min-width: 24px !important; min-height: 24px !important;`}:t.includes(`autoplay-media`)||t.includes(`motion-preference-check`)?{kind:`attributes`,attributes:{autoplay:null}}:t.includes(`meta-refresh`)?{kind:`attributes`,attributes:{content:null}}:It}function Rt(e){let t=e.trim().toLowerCase(),n=t.match(/^#([0-9a-f]{3}|[0-9a-f]{6})$/);if(n){let e=n[1].length===3?n[1].replace(/./g,e=>e+e):n[1];return[0,2,4].map(t=>parseInt(e.slice(t,t+2),16))}return n=t.match(/^rgba?\(\s*([\d.]+)[,\s]+([\d.]+)[,\s]+([\d.]+)/),n?[Number(n[1]),Number(n[2]),Number(n[3])]:null}var zt=e=>`#`+e.map(e=>Math.round(Math.min(255,Math.max(0,e))).toString(16).padStart(2,`0`)).join(``),R=e=>{let t=e/255;return t<=.04045?t/12.92:((t+.055)/1.055)**2.4},z=e=>(e<=.0031308?12.92*e:1.055*e**(1/2.4)-.055)*255;function B([e,t,n]){return .2126*R(e)+.7152*R(t)+.0722*R(n)}function Bt(e,t){let[n,r]=[B(e),B(t)].sort((e,t)=>t-e);return(n+.05)/(r+.05)}function Vt([e,t,n]){let[r,i,a]=[R(e),R(t),R(n)],o=Math.cbrt(.4122214708*r+.5363325363*i+.0514459929*a),s=Math.cbrt(.2119034982*r+.6806995451*i+.1073969566*a),c=Math.cbrt(.0883024619*r+.2817188376*i+.6299787005*a),l=.2104542553*o+.793617785*s-.0040720468*c,u=1.9779984951*o-2.428592205*s+.4505937099*c,d=.0259040371*o+.7827717662*s-.808675766*c;return[l,Math.hypot(u,d),Math.atan2(d,u)]}function Ht(e,t,n){let r=t*Math.cos(n),i=t*Math.sin(n),a=(e+.3963377774*r+.2158037573*i)**3,o=(e-.1055613458*r-.0638541728*i)**3,s=(e-.0894841775*r-1.291485548*i)**3;return[z(4.0767416621*a-3.3077115913*o+.2309699292*s),z(-1.2684380046*a+2.6097574011*o-.3413193965*s),z(-.0041960863*a-.7034186147*o+1.707614701*s)]}var Ut=e=>e.every(e=>e>=-.5&&e<=255.5);function Wt(e,t,n,r){let[i,a,o]=Vt(e),s=B(e)<=B(t);for(let c=1;c<=100;c++){let l=i+(s?-c:c)/100;if(l<0||l>1)break;let u=a,d=Ht(l,u,o);for(;!Ut(d)&&u>0;)u=Math.max(0,u-.005),d=Ht(l,u,o);let f=d.map(e=>Math.round(Math.min(255,Math.max(0,e)))),p=Bt(f,t);if(p>=n)return{change:r,from:zt(e),to:zt(f),ratio:Math.round(p*100)/100,lightnessShift:c}}return null}function Gt(e,t,n){let r=Rt(e),i=Rt(t);return!r||!i?[]:[Wt(r,i,n,`foreground`),Wt(i,r,n,`background`)].filter(e=>!!e).sort((e,t)=>e.lightnessShift-t.lightnessShift)}var V=`Placeholder: `;function Kt(e){let t=e.textContent?.replace(/\s+/g,` `).trim();if(t&&t.length>0&&t.length<80)return t;let n=e.getAttribute(`title`)?.trim();if(n)return n;let r=e.getAttribute(`data-framer-name`)||e.getAttribute(`data-name`);if(r&&!r.startsWith(`Frame`)&&!r.includes(`default`)&&!r.includes(`light`))return V+r.replace(/[-_/]/g,` `).trim();let i=e.getAttribute(`href`)||``;if(i){let e=i.toLowerCase();if(e.includes(`facebook.com`))return`Facebook`;if(e.includes(`twitter.com`)||e.includes(`x.com`))return`Twitter`;if(e.includes(`instagram.com`))return`Instagram`;if(e.includes(`linkedin.com`))return`LinkedIn`;if(e.includes(`github.com`))return`GitHub`;if(e.includes(`youtube.com`))return`YouTube`;if(e.includes(`discord.gg`)||e.includes(`discord.com`))return`Discord`;if(e.includes(`reddit.com`))return`Reddit`;if(e.includes(`tiktok.com`))return`TikTok`;if(e.includes(`whatsapp.com`))return`WhatsApp`;if(e.includes(`login`)||e.includes(`signin`))return`Sign In`;if(e.includes(`signup`)||e.includes(`register`))return`Sign Up`;try{let e=new URL(i,window.location.href),t=e.pathname.split(`/`).filter(Boolean),n=t[t.length-1];if(n&&n.length<50){let e=n.replace(/\.[a-zA-Z0-9]+$/,``).replace(/[-_]/g,` `).trim();if(e&&isNaN(Number(e)))return V+e.charAt(0).toUpperCase()+e.slice(1)}if(e.hostname&&(e.pathname===`/`||!e.pathname))return V+e.hostname.replace(/^www\./,``)+` home page`}catch{}}let a=e.querySelector(`svg, div[data-framer-component-type="SVG"]`);if(a){let e=a.getAttribute(`data-framer-name`)||a.getAttribute(`aria-label`);if(e&&e!==`path`&&e!==`SVG`)return e.charAt(0).toUpperCase()+e.slice(1)}let o=e.querySelector(`img`);if(o){let e=o.getAttribute(`alt`);if(e)return e}return V+(e.tagName===`BUTTON`?`describe this button`:`describe this link`)}function qt(e){let t=((e.src||e.getAttribute(`src`)||``).split(`/`).pop()?.split(`?`)[0]?.split(`.`)[0]||`image`).replace(/[-_]/g,` `).trim();return V+(t?t.charAt(0).toUpperCase()+t.slice(1):`describe this image`)}function Jt(e){let t=[e.nextElementSibling,e.parentElement?.querySelector(`[role="menu"], [role="tabpanel"], [role="region"], .dropdown-menu, .submenu, .menu, .panel`)];for(let n of t)if(n instanceof HTMLElement&&n!==e)return n;return null}var Yt={kind:`unsupported`};function Xt(e,t){let n=(t||``).toLowerCase();if(n.includes(`decorative-image-alt`))return{kind:`attributes`,attributes:{alt:``,"aria-hidden":`true`}};if(n.includes(`color-contrast`)||n.includes(`contrast`)){if(!(e instanceof HTMLElement))return Yt;let t=window.getComputedStyle(e),n=`rgb(255, 255, 255)`;for(let t=e;t;t=t.parentElement){let e=window.getComputedStyle(t).backgroundColor,r=e.match(/rgba\([^)]*,\s*([\d.]+)\)/);if(e&&e!==`transparent`&&(!r||Number(r[1])>.5)){n=e;break}}let r=parseFloat(t.fontSize)||16,i=Number(t.fontWeight)>=700,a=r>=24||i&&r>=18.66?3:4.5,o=Gt(t.color,n,a).find(e=>e.change===`foreground`);return o?{kind:`css`,cssRules:`color: ${o.to} !important;`}:Yt}if((n.includes(`image-alt`)||n===`image-alt`)&&e instanceof HTMLImageElement)return{kind:`attributes`,attributes:{alt:qt(e)}};if(n.includes(`accessible-name-mismatch`)||n.includes(`name-mismatch`))return{kind:`attributes`,attributes:{"aria-label":Be(e.textContent||``)||null}};if(n.includes(`button-name`)||n.includes(`empty-button`)||n.includes(`aria-icon-missing`))return{kind:`attributes`,attributes:{"aria-label":Kt(e),type:`button`}};if(n.includes(`link-name`)||n.includes(`vague-link`)||n.includes(`label-content-name-mismatch`))return{kind:`attributes`,attributes:{"aria-label":Kt(e)}};if(n===`label`||n.includes(`label`)){let t=e,n=t.placeholder||t.name||t.getAttribute(`type`)||`Input field`,r=n.charAt(0).toUpperCase()+n.slice(1);return{kind:`attributes`,attributes:{"aria-label":t.placeholder?r:V+r}}}if(n.includes(`widget-contract`)){if(e.hasAttribute(`aria-controls`))return{kind:`unsupported`};let t=Jt(e);return t?(t.id||=`a11y-panel-${Math.random().toString(36).slice(2,8)}`,{kind:`attributes`,attributes:{"aria-controls":t.id}}):{kind:`unsupported`}}if(n.includes(`broken-aria-reference`)){let t=[`aria-labelledby`,`aria-describedby`,`aria-controls`,`aria-owns`,`aria-errormessage`],n={},r=!1;for(let i of t){let t=e.getAttribute(i);if(!t)continue;let a=t.split(/\s+/).filter(Boolean),o=a.filter(e=>{try{return M(`#${CSS.escape(e)}`).length>0}catch{return!1}});o.length!==a.length&&(n[i]=o.length>0?o.join(` `):null,r=!0)}return r?{kind:`attributes`,attributes:n}:{kind:`unsupported`}}return Lt(t)}function Zt(){let e=document.documentElement.outerHTML,t=[];document.querySelectorAll(`link[rel="stylesheet"]`).forEach(e=>{let n=e.href;n&&!n.startsWith(`chrome-extension://`)&&!n.startsWith(`moz-extension://`)&&t.push(n)});let n=[];return document.querySelectorAll(`head style`).forEach(e=>{let t=e.id||``;if(t.startsWith(`a11y-engine`)||t.startsWith(`a11y-irp`))return;let r=e.textContent?.trim();r&&n.push(r)}),{rawHtml:e,baseUrl:window.location.href,title:document.title,stylesheetUrls:t,inlineStyleBlocks:n}}var Qt=new Set([]),$t=new Set([`aria-required-children`]),en=`A11yEngine heuristic. Its precision has not yet been shown to reach 90% on the ACT-rules benchmark, so verify this before treating it as a failure.`,tn=`axe-core rule measured below 90% precision on the ACT-rules benchmark. Verify before treating it as a failure.`,nn=`Best practice from axe-core, not a WCAG requirement. Worth fixing, but it is not counted as a failure in totals, scores or the ACR.`;function rn(e){return!e.some(e=>/^wcag\d*a{1,3}$/.test(e))}function an(e){return Qt.has(e)}function on(e){return $t.has(e)}function sn(){return new Promise((e,t)=>{window.axe?e():t(Error(`[A11yEngine] axe.js is not loaded in content script scope`))})}var H=null,U=null,W=null,cn=50,ln=200,G=[],K=null,q=new WeakMap,J=null;function un(e,t){let n;return((...r)=>{clearTimeout(n),n=setTimeout(()=>e(...r),t)})}if(!window.__a11yEngineInjected){window.__a11yEngineInjected=!0,document.addEventListener(`focusin`,e=>{let t=e.target;t&&typeof t.closest==`function`&&(t.closest(`[role="dialog"], [aria-modal="true"], .modal, .dialog`)||(K=t))}),document.addEventListener(`keydown`,e=>{if(e.key===`Escape`){let e=document.querySelector(`[role="dialog"], [aria-modal="true"], .modal, .dialog`);e&&setTimeout(()=>{let t=document.activeElement;if(t===document.body||t===document.documentElement){let t={id:`custom-focus-trap-restore-body-${X(e).slice(0,20).replace(/\s/g,`_`)}`,ruleId:`custom-focus-trap-and-return`,severity:`high`,description:`Modal was dismissed via Escape key but focus was not restored to any element - it fell to document.body. Screen reader users lose their navigation position entirely. The trigger element that opened the modal must receive focus when it closes.`,impact:`serious`,help:`Store a reference to the trigger element before opening the modal and call .focus() on it in the modal close handler.`,helpUrl:`https://www.w3.org/WAI/WCAG22/Techniques/general/G191`,elementHtml:e.outerHTML.slice(0,300),selector:X(e),wcagTags:[`wcag21a`,`custom-heuristic`],wcagSC:`2.4.3`,wcagLevel:`A`,wcagPrinciple:`Operable`,isRevenueBlocker:Z(e)};G.some(e=>e.ruleId===`custom-focus-trap-and-return`&&e.selector===t.selector)||G.push(t)}else if(K&&t!==K){let n={id:`custom-focus-trap-restore-wrong-${X(e).slice(0,20).replace(/\s/g,`_`)}`,ruleId:`custom-focus-trap-and-return`,severity:`high`,description:`Focus was not restored to the trigger element (${K.tagName.toLowerCase()}) upon modal dismissal via Escape key. Focus went to "${t?.tagName?.toLowerCase()??`unknown`}" instead. Screen reader users lose their place in the page.`,impact:`serious`,help:`Restore keyboard focus to the exact trigger element when the modal is closed.`,helpUrl:`https://www.w3.org/WAI/WCAG22/Techniques/general/G191`,elementHtml:e.outerHTML.slice(0,300),selector:X(e),wcagTags:[`wcag21a`,`custom-heuristic`],wcagSC:`2.4.3`,wcagLevel:`A`,wcagPrinciple:`Operable`,isRevenueBlocker:Z(e)};G.some(e=>e.ruleId===`custom-focus-trap-and-return`&&e.selector===n.selector)||G.push(n)}},400)}}),Ne(X,Z,G),wt(X,Z,G),document.addEventListener(`click`,e=>{let t=e.target.closest(`[aria-expanded], [role="tab"], button, details`);if(!t)return;let n=t.getAttribute(`aria-expanded`),r=t.getAttribute(`aria-controls`);n!==null&&setTimeout(()=>{let e=t.getAttribute(`aria-expanded`),i=X(t);if(e===n&&!G.some(e=>e.ruleId===`custom-widget-contract`&&e.selector===i&&e.id.includes(`expand`))){let n={id:`custom-widget-contract-expand-${Math.random().toString(36).substr(2,4)}`,ruleId:`custom-widget-contract`,severity:`medium`,description:`Interactive control has aria-expanded but state did not toggle (remained "${e}") on click.`,impact:`moderate`,help:`Programmatically toggle the aria-expanded attribute on click/activation events.`,helpUrl:`https://www.w3.org/WAI/WCAG22/Techniques/aria/ARIA10`,elementHtml:t.outerHTML.slice(0,300),selector:i,wcagTags:[`wcag21a`,`custom-heuristic`],isRevenueBlocker:Z(t)};G.push(n)}if(r&&!document.getElementById(r)&&!G.some(e=>e.ruleId===`custom-widget-contract`&&e.selector===i&&e.id.includes(`controls`))){let e={id:`custom-widget-contract-controls-${Math.random().toString(36).substr(2,4)}`,ruleId:`custom-widget-contract`,severity:`high`,description:`Element has aria-controls="${r}" referencing a non-existent element ID.`,impact:`serious`,help:`Ensure aria-controls matches the ID of the collapsible container.`,helpUrl:`https://www.w3.org/WAI/WCAG22/Techniques/aria/ARIA10`,elementHtml:t.outerHTML.slice(0,300),selector:i,wcagTags:[`wcag21a`,`custom-heuristic`],isRevenueBlocker:Z(t)};G.push(e)}},150)});let e=un(()=>{U&&H&&hn(H)},200);window.addEventListener(`resize`,e,{passive:!0}),window.addEventListener(`scroll`,e,{passive:!0})}function dn(){return Nt(X,Z)}function Y(e,t=document){return e?j(e,t):null}function X(e){return A(e)}function fn(e){switch(e){case`critical`:return`critical`;case`serious`:return`high`;case`moderate`:return`medium`;default:return`low`}}function pn(e){let t=[],n=(e,t,n)=>{if(t&&e.tagName.toLowerCase()===t.toLowerCase())return!0;let r=e.id?e.id.toLowerCase():``,i=e.className&&typeof e.className==`string`?e.className.toLowerCase():``,a=e.getAttribute(`role`)?.toLowerCase()||``;return n.some(e=>r.includes(e)||i.includes(e)||a.includes(e))},r=e.querySelectorAll(`header, nav, footer, main, aside, section, [role="banner"], [role="navigation"], [role="contentinfo"], [role="main"], div`);for(let e of Array.from(r))n(e,`header`,[`header-container`,`site-header`])||e.getAttribute(`role`)===`banner`?t.some(e=>e.id===`header`)||t.push({id:`header`,label:`Header`,element:e,selector:X(e)}):n(e,`nav`,[`navigation`,`navbar`,`site-nav`,`menu-container`])||e.getAttribute(`role`)===`navigation`?t.some(e=>e.id===`navigation`)||t.push({id:`navigation`,label:`Navigation`,element:e,selector:X(e)}):n(e,`footer`,[`footer-container`,`site-footer`])||e.getAttribute(`role`)===`contentinfo`?t.some(e=>e.id===`footer`)||t.push({id:`footer`,label:`Footer`,element:e,selector:X(e)}):n(e,`aside`,[`sidebar`,`aside-container`])||e.getAttribute(`role`)===`complementary`?t.some(e=>e.id===`sidebar`)||t.push({id:`sidebar`,label:`Sidebar`,element:e,selector:X(e)}):n(e,``,[`hero`,`banner-hero`,`jumbotron`])?t.some(e=>e.id===`hero`)||t.push({id:`hero`,label:`Hero Banner`,element:e,selector:X(e)}):n(e,``,[`product-grid`,`products`,`grid-container`,`gallery`])?t.some(e=>e.id===`product-grid`)||t.push({id:`product-grid`,label:`Product Grid`,element:e,selector:X(e)}):!n(e,`main`,[`main-content`,`content-wrapper`])&&e.getAttribute(`role`)!==`main`||t.some(e=>e.id===`main-content`)||t.push({id:`main-content`,label:`Main Content`,element:e,selector:X(e)});return t}function mn(e,t){let n=e;for(;n;){let e=t.find(e=>e.element===n);if(e)return e.id;n=n.parentElement}return`general-content`}function Z(e){if(q.has(e))return q.get(e);let t=e,n=[`cart`,`checkout`,`pay`,`submit`,`login`,`signup`,`register`,`signin`,`buy`,`purchase`,`order`,`basket`];for(;t;){let r=t.tagName.toLowerCase();if(r===`form`||r===`button`)return q.set(e,!0),!0;let i=t.id?t.id.toLowerCase():``,a=t.className&&typeof t.className==`string`?t.className.toLowerCase():``,o=t.getAttribute(`name`)?.toLowerCase()||``,s=t.getAttribute(`role`)?.toLowerCase()||``,c=t.getAttribute(`type`)?.toLowerCase()||``;if(n.some(e=>i.includes(e)||a.includes(e)||o.includes(e)||s.includes(e)||c.includes(e)))return q.set(e,!0),!0;if(r===`a`){let r=t.textContent?t.textContent.toLowerCase():``;if(n.some(e=>r.includes(e)||i.includes(e)||a.includes(e)))return q.set(e,!0),!0}t=t.parentElement}return q.set(e,!1),!1}function Q(){U&&=(U.remove(),null)}function hn(e){Q();let t=window.innerWidth,n=window.innerHeight,r=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight,document.documentElement.clientHeight);U=document.createElement(`div`),U.id=`a11y-engine-overlay-root`,U.setAttribute(`aria-hidden`,`true`),U.style.cssText=[`position: absolute`,`top: 0`,`left: 0`,`width: 100%`,`height: ${r}px`,`pointer-events: none`,`z-index: 2147483646`,`overflow: visible`].join(`;`),document.body.appendChild(U);let i=e=>{switch(e){case`critical`:return`#ef4444`;case`high`:return`#f97316`;case`medium`:return`#eab308`;default:return`#38bdf8`}},a=0,o=new Set;e.sections.forEach(e=>{e.violations.forEach(e=>{if(a>=80||o.has(e.selector))return;let r=Y(e.selector);if(!r)return;let s=r.getBoundingClientRect();if(s.width===0||s.height===0||s.width>t*.6&&s.height>n*.6)return;o.add(e.selector),a++;let c=window.scrollY+s.top,l=window.scrollX+s.left,u=i(e.severity),d=document.createElement(`div`);d.dataset.a11ySelector=e.selector,d.style.cssText=[`position: absolute`,`top: ${c}px`,`left: ${l}px`,`width: ${s.width}px`,`height: ${s.height}px`,`outline: 2px solid ${u}`,`outline-offset: -1px`,`background-color: transparent`,`pointer-events: auto`,`cursor: pointer`,`border-radius: 3px`,`box-sizing: border-box`,`transition: box-shadow 0.15s ease-in-out, outline-color 0.15s ease-in-out`].join(`;`),d.addEventListener(`mouseenter`,()=>{d.style.boxShadow=`0 0 0 3px ${u}55, inset 0 0 0 1000px ${u}18`}),d.addEventListener(`mouseleave`,()=>{d.style.boxShadow=`none`}),d.addEventListener(`click`,t=>{t.stopPropagation(),chrome.runtime.sendMessage({action:`SELECT_VIOLATION`,violationId:e.id})});let f=document.createElement(`div`),p=e.ruleId.replace(`custom-`,``).slice(0,22);f.innerText=`${e.severity.charAt(0).toUpperCase()}: ${p}`,f.style.cssText=[`position: absolute`,`top: -1px`,`left: 0`,`background-color: ${u}`,`color: #fff`,`font-family: ui-monospace, monospace`,`font-size: 9px`,`font-weight: 700`,`line-height: 1`,`padding: 2px 4px`,`border-radius: 2px 0 2px 0`,`pointer-events: none`,`white-space: nowrap`,`max-width: 160px`,`overflow: hidden`,`text-overflow: ellipsis`,`letter-spacing: 0.02em`].join(`;`),d.appendChild(f);let m=document.createElement(`div`);m.innerText=`${e.severity.toUpperCase()}\n${e.ruleId}\n\n${e.description.slice(0,200)}`,m.style.cssText=`position: absolute;bottom: calc(100% + 8px);left: 0;background-color: #0f172a;color: #f1f5f9;border: 1px solid #334155;font-family: ui-sans-serif, system-ui, sans-serif;font-size: 10px;line-height: 1.45;padding: 8px 10px;border-radius: 4px;max-width: 260px;white-space: pre-wrap;word-break: break-word;pointer-events: none;display: none;z-index: 2147483647;box-shadow: 0 8px 24px rgba(0,0,0,0.6)`,d.appendChild(m),d.addEventListener(`mouseenter`,()=>{m.style.display=`block`}),d.addEventListener(`mouseleave`,()=>{m.style.display=`none`}),U?.appendChild(d)})})}function gn(e){let t=Y(e);if(!t)return;t.scrollIntoView({behavior:`smooth`,block:`center`}),W&&W.remove();let n=t.getBoundingClientRect(),r=window.scrollY+n.top,i=window.scrollX+n.left;W=document.createElement(`div`),W.id=`a11y-engine-highlight-pulse`,W.style.cssText=`
37
+ position: absolute;
38
+ top: ${r-6}px;
39
+ left: ${i-6}px;
40
+ width: ${n.width+12}px;
41
+ height: ${n.height+12}px;
42
+ border-radius: 6px;
43
+ pointer-events: none;
44
+ z-index: 2147483647;
45
+ animation: a11y-flash-ring 1.5s ease-out;
46
+ `;let a=document.getElementById(`a11y-engine-styles`);a||(a=document.createElement(`style`),a.id=`a11y-engine-styles`,a.innerText=`
47
+ @keyframes a11y-flash-ring {
48
+ 0% {
49
+ outline: 6px solid #6366f1;
50
+ box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.8);
51
+ }
52
+ 70% {
53
+ outline: 6px solid rgba(99, 102, 241, 0.2);
54
+ box-shadow: 0 0 0 20px rgba(99, 102, 241, 0);
55
+ }
56
+ 100% {
57
+ outline: 0px solid rgba(99, 102, 241, 0);
58
+ box-shadow: 0 0 0 0 rgba(99, 102, 241, 0);
59
+ }
60
+ }
61
+ `,document.head.appendChild(a)),document.body.appendChild(W),setTimeout(()=>{W&&=(W.remove(),null)},1500)}function _n(e){let t,n,r=e.some(e=>e===`wcag2aaa`||e===`wcag21aaa`||e===`wcag22aaa`||e===`wcag3aaa`),i=e.some(e=>e===`wcag2aa`||e===`wcag21aa`||e===`wcag22aa`||e===`wcag3aa`),a=e.some(e=>e===`wcag2a`||e===`wcag21a`||e===`wcag22a`||e===`wcag3a`);r?t=`AAA`:i?t=`AA`:a&&(t=`A`);for(let t of e){let e=t.match(/^wcag(\d)(\d)(\d+)$/);e&&(n=`${e[1]}.${e[2]}.${e[3]}`)}let o=`Perceivable`;if(n){let e=n.charAt(0);e===`1`?o=`Perceivable`:e===`2`?o=`Operable`:e===`3`?o=`Understandable`:e===`4`&&(o=`Robust`)}else e.some(e=>e.includes(`cat.color`)||e.includes(`cat.text`)||e.includes(`cat.sensory`))?o=`Perceivable`:e.some(e=>e.includes(`cat.keyboard`)||e.includes(`cat.time`)||e.includes(`cat.navigation`))?o=`Operable`:e.some(e=>e.includes(`cat.forms`)||e.includes(`cat.language`))?o=`Understandable`:e.some(e=>e.includes(`cat.name`)||e.includes(`cat.aria`)||e.includes(`cat.parsing`)||e.includes(`cat.semantics`))&&(o=`Robust`);return{wcagSC:n,wcagLevel:t,wcagPrinciple:o}}function vn(e){let t=Y(e.selector);if(!t)return!1;if(e.ruleId===`custom-widget-contract`){if(e.id.includes(`controls`)){let e=t.getAttribute(`aria-controls`);return e?!document.getElementById(e):!1}if(e.id.includes(`expand`))return t.hasAttribute(`aria-expanded`)}return!0}async function yn(){Q();let e=G.filter(vn);G.length=0,G.push(...e);let t=pn(document),n={header:{id:`header`,label:`Header`,selector:null,violations:[]},navigation:{id:`navigation`,label:`Navigation`,selector:null,violations:[]},hero:{id:`hero`,label:`Hero Banner`,selector:null,violations:[]},"main-content":{id:`main-content`,label:`Main Content`,selector:null,violations:[]},"product-grid":{id:`product-grid`,label:`Product Grid`,selector:null,violations:[]},sidebar:{id:`sidebar`,label:`Sidebar`,selector:null,violations:[]},footer:{id:`footer`,label:`Footer`,selector:null,violations:[]},"general-content":{id:`general-content`,label:`General Content`,selector:null,violations:[]}};t.forEach(e=>{n[e.id]&&(n[e.id].selector=e.selector)});let r=new Set,i=new Map,a=new Map,o={"custom-empty-button":[`button-name`],"custom-tabindex-improper":[`tabindex`],"custom-video-captions-missing":[`video-caption`],"custom-skipped-heading-level":[`heading-order`],"custom-aria-icon-missing":[`button-name`,`link-name`]},s={"custom-page-title-missing":`document-title`},c=[],u=(e,l,u)=>{let d=`${e.ruleId}::${e.selector}`;if(r.has(d))return;let f=s[e.ruleId];if(f&&i.has(f))return;let p=l||Y(e.selector),m=o[e.ruleId]||[];if(p&&m.some(e=>i.get(e)?.has(p))||u&&p&&m.some(e=>a.get(e)?.has(p)))return;if(r.add(d),u){if(p&&!(e.wcagTags||[]).includes(`custom-heuristic`)){let t=a.get(e.ruleId)||new Set;t.add(p),a.set(e.ruleId,t)}c.length<ln&&c.push({...e,reviewReason:u});return}if(!(e.wcagTags||[]).includes(`custom-heuristic`)){let t=i.get(e.ruleId)||new Set;p&&t.add(p),i.set(e.ruleId,t)}let h=`general-content`;if(l)h=mn(l,t);else{let n=Y(e.selector);n&&(h=mn(n,t))}n[h]||(h=`general-content`),n[h].violations.push(e)},d={violations:[],passes:[],incomplete:[],inapplicable:[],timestamp:``,url:``,toolOptions:{},testEngine:{},testRunner:{},testEnvironment:{}};try{if(await sn(),J)try{await J,await new Promise(e=>setTimeout(e,50))}catch{}if(document.fonts&&document.fonts.ready)try{await document.fonts.ready}catch{}let e=document.createElement(`style`);e.id=`a11y-engine-scan-freeze`,e.textContent=`
62
+ *, *::before, *::after {
63
+ animation-play-state: paused !important;
64
+ transition-duration: 0s !important;
65
+ transition-delay: 0s !important;
66
+ }
67
+ `,(document.head||document.documentElement).appendChild(e);let t=3;try{for(;t>0;)try{xn(),J=window.axe.run(document,{resultTypes:[`violations`,`incomplete`],runOnly:{type:`tag`,values:[`wcag2a`,`wcag2aa`,`wcag21a`,`wcag21aa`,`wcag22aa`,`best-practice`,`cat.semantics`,`cat.structure`]},preload:!1,reporter:`v2`}),d=await J;break}catch(e){if(e&&e.message&&e.message.includes(`already running`)&&t>1)t--,await new Promise(e=>setTimeout(e,150));else throw e}}finally{e.parentNode&&e.parentNode.removeChild(e)}}catch(e){console.warn(`[A11yEngine] axe.run pre-execution note (proceeding with local heuristics):`,e)}finally{J=null}let f=e=>{let t=[...e.any||[],...e.all||[],...e.none||[]].map(e=>e&&e.message).filter(Boolean);return`axe-core could not decide this automatically${t.length?`: ${t[0]}`:`.`} Check it manually.`};[[d.violations||[],`violation`],[d.incomplete||[],`incomplete`]].forEach(([e,t])=>e.forEach(e=>{e.nodes.forEach(n=>{let r=n.target.join(` > `),i=Y(n.target[0]);if(e.id===`meta-refresh`&&i){let e=Array.from(document.querySelectorAll(`meta[http-equiv="refresh" i]`)).find(e=>/^\s*\d+(\.[\d.]*)?\s*($|[;,\s])/.test(e.getAttribute(`content`)||``));if(e&&e!==i)return}if(e.id===`color-contrast`&&i)try{let e=window.getComputedStyle(i),t=parseFloat(e.opacity||`1`);if(e.display===`none`||e.visibility===`hidden`||t<.05)return;let n=i.getBoundingClientRect();if(n.width===0&&n.height===0)return}catch{}let a=fn(e.impact),o=i?Z(i):!1,s=n.html||``;s.length>500&&(s=s.slice(0,500)+`...`),s=s.replace(/(?:data-)?(?:password|card|cvv|cc|pin|email|ssn|token|secret|auth(?:[-_]token)?|api[-_]?key|bearer|session(?:[-_]?id)?|jwt|access[-_]?token|refresh[-_]?token|private[-_]?key|client[-_]?secret)\s*=\s*"[^"]*"/gi,e=>e.replace(/"[^"]*"$/,`"[REDACTED_PII]"`)),s=s.replace(/\b(?:\d[ -]*?){13,19}\b/g,`[REDACTED_CARD]`),s=s.replace(/\b\d{3}-\d{2}-\d{4}\b/g,`[REDACTED_SSN]`);let c=_n(e.tags||[]),l=5381,d=`${e.id}:${r}`;for(let e=0;e<d.length;e++)l=l*33^d.charCodeAt(e);let p=(l>>>0).toString(36),m={id:`${e.id}-${p}`,ruleId:e.id,severity:a,description:n.failureSummary||e.description,impact:e.impact||`none`,help:e.help,helpUrl:e.helpUrl,elementHtml:s,selector:r,wcagTags:e.tags||[],wcagSC:c.wcagSC,wcagLevel:c.wcagLevel,wcagPrinciple:c.wcagPrinciple,isRevenueBlocker:o,effortEstimate:ze(e.id)},h=(n.any||[]).find(e=>e?.id===`color-contrast`)?.data;h?.fgColor&&h?.bgColor&&(m.contrast={fg:h.fgColor,bg:h.bgColor,ratio:Number(h.contrastRatio)||0,required:String(h.expectedContrastRatio||`4.5:1`)});let g=t===`incomplete`?f(n):on(e.id)?tn:rn(e.tags||[])?nn:void 0;u(m,i,g)})}));let p=typeof window<`u`&&window.matchMedia?window.matchMedia(`(prefers-reduced-motion: reduce)`).matches:!1,m=e=>{try{return typeof window<`u`&&window.localStorage?localStorage.getItem(e):null}catch{return null}},h=m(`theme`)||m(`color-scheme`);document.querySelector(`header, nav, [role="navigation"]`);let g=document.querySelector(`main, [role="main"], h1`)||document.body,_=document.body.innerText||``,v=[...Ke(document,X,Z),...qe(document,X,Z),...Je(document,X,Z),...Ye(document,X,Z),...Xe(document,X,Z),...Ze(document,X,Z,p),...Qe(document,X,Z),...$e(document,X,Z),...et(h,document.documentElement.className,document.body.className,document.documentElement),...tt(document,X,Z),...nt(document,X,Z),...rt(window.location.href,_,document.body),...it(document,X,Z),...at(document,X,Z),...ot(document,X,Z),...st(document,X,Z),...ct(document,X,Z),...lt(document,X,Z),...ut(g),...dt(document,X,Z),...ft(document,X,Z),...pt(document,X,Z),...mt(document,X,Z),...ht(document,X,Z),...gt(document,X),..._t(document,X,Z),...vt(document,X,Z),...yt(document,X,Z),...bt(document,X,Z),...xt(document,X,Z),...St(document,X,Z),...Ct(document,X)],y=e=>an(e.ruleId)?void 0:en;v.forEach(e=>{let t=Y(e.selector);u(e,t,y(e))}),G.slice(0,cn).forEach(e=>{let t=Y(e.selector);u(e,t,y(e))});let b=Object.values(n).filter(e=>e.selector!==null||e.violations.length>0),x=0,S=0,C=0,w=0,ee=0;b.forEach(e=>{e.violations.forEach(e=>{e.severity===`critical`?x++:e.severity===`high`?S++:e.severity===`medium`?C++:e.severity===`low`&&w++,ee++})});let te=l(document);return{url:window.location.href,timestamp:new Date().toLocaleTimeString(),sections:b,needsReview:c,...te?{pageWarnings:[te]}:{},summary:{critical:x,high:S,medium:C,low:w,total:ee}}}var bn={de:e,fr:t,es:n},$=`en`;function xn(){let e=window.axe;if(e)try{$===`en`?e.reset():e.configure({locale:bn[$]})}catch(e){console.warn(`[A11yEngine] axe locale not applied:`,e)}}window.__a11yEngineMessageBound||(window.__a11yEngineMessageBound=!0,chrome.runtime.onMessage.addListener((e,t,n)=>{if(e.action===`RUN_SCAN`){$=[`de`,`fr`,`es`].includes(e.locale)?e.locale:`en`;let t=window.self!==window.top;return t&&(()=>{try{return window.top.location.origin,!1}catch{return!0}})()?(n({success:!0,report:null,skipped:!0,reason:`cross-origin-frame`}),!1):(yn().then(e=>{H=e,t&&chrome.runtime.sendMessage({action:`FRAME_SCAN_RESULT`,report:e,frameUrl:location.href}).catch(()=>{}),n({success:!0,report:e})}).catch(e=>{n({success:!1,error:e.message||`Unknown scan error`})}),!0)}if(e.action===`DRAW_OVERLAYS`)return e.report&&(H=e.report,hn(e.report)),n({success:!0}),!1;if(e.action===`CLEAR_OVERLAYS`)return Q(),n({success:!0}),!1;if(e.action===`HIGHLIGHT_ELEMENT`)return e.selector&&gn(e.selector),n({success:!0}),!1;if(e.action===`RUN_MODAL_SIMULATION`){let e=dn();return e.violations.forEach(e=>{G.some(t=>t.ruleId===e.ruleId&&t.selector===e.selector)||G.push(e)}),n({success:!0,dialogFound:e.dialogFound,log:e.log,violations:e.violations}),!1}if(e.action===`START_SCREEN_READER`)return oe(e.settings||{}),n({success:!0}),!1;if(e.action===`STOP_SCREEN_READER`)return ce(),n({success:!0}),!1;if(e.action===`UPDATE_SR_SETTINGS`)return se(e.settings||{}),n({success:!0}),!1;if(e.action===`RUN_SEO_AUDIT`)return Me().then(e=>{n({success:!0,seoResult:e})}).catch(e=>{n({success:!1,error:e.message||`SEO audit failed`})}),!0;if(e.action===`CAPTURE_PAGE_SNAPSHOT`){try{Q(),n({success:!0,snapshot:Zt()})}catch(e){n({success:!1,error:e?.message||`Snapshot capture failed`})}return!1}if(e.action===`AUDIT_TAB_ORDER`)return n({success:!0,report:I.audit()}),!1;if(e.action===`START_TAB_TRACER`)return I.start(),n({success:!0}),!1;if(e.action===`STOP_TAB_TRACER`)return I.stop(),n({success:!0}),!1;if(e.action===`CLEAR_TAB_TRACER`)return I.clear(),n({success:!0}),!1;if(e.action===`GET_TAB_TRACER_STATE`)return n({success:!0,report:I.getReport()}),!1;if(e.action===`APPLY_LIVE_PATCH`)return n({success:L.applyPatch(e.selector,e.attributes||{})}),!1;if(e.action===`REVERT_LIVE_PATCH`)return n({success:L.revertPatch(e.selector)}),!1;if(e.action===`APPLY_BULK_PATCH`){let t=L.applyBulkPatch(e.selector,e.attributes||{});return n({success:t.success,count:t.count}),!1}if(e.action===`REVERT_BULK_PATCH`)return n({success:L.revertBulkPatch(e.selector)}),!1;if(e.action===`APPLY_CSS_PATCH`)return n({success:L.applyCssPatch(e.selector,e.cssRules||``)}),!1;if(e.action===`REVERT_CSS_PATCH`)return n({success:L.revertCssPatch(e.selector)}),!1;if(e.action===`REVERT_ALL_PATCHES`)return L.revertAll(),n({success:!0}),!1;if(e.action===`GET_ACTIVE_PATCHES`)return n({success:!0,single:L.getActivePatches(),bulk:L.getBulkPatches(),css:L.getActiveCssPatches()}),!1;if(e.action===`FIX_ALL_LIVE`){let t=e.targets||[],r=0,i=0,a=0,o=0;return t.forEach(({selector:e,ruleId:t})=>{let n=L.resolveElement(e);if(!n){a++;return}let s=Xt(n,t);if(s.kind===`unsupported`){i++;return}let c=s.kind===`css`&&s.cssRules?L.applyCssPatch(e,s.cssRules):L.applyPatch(e,s.attributes||{});c&&r++,c&&Object.values(s.attributes||{}).some(e=>typeof e==`string`&&e.startsWith(`Placeholder: `))&&o++}),n({success:!0,fixed:r,unsupported:i,notFound:a,placeholders:o,total:t.length}),!1}if(e.action===`GET_PDF_LINKS`){let e=new Set;return document.querySelectorAll(`a[href]`).forEach(t=>{let n=t;try{let t=new URL(n.href,location.href);(/\.pdf$/i.test(t.pathname)||(n.getAttribute(`type`)||``).toLowerCase()===`application/pdf`)&&/^https?:$/.test(t.protocol)&&(t.hash=``,e.add(t.href))}catch{}}),n({success:!0,urls:[...e].slice(0,25)}),!1}if(e.action===`GET_PAGE_HTML_FOR_VALIDATION`){try{Q();let e=document.documentElement.cloneNode(!0);e.querySelectorAll(`input, textarea, select`).forEach(e=>{e.tagName===`INPUT`&&e.type!==`submit`&&e.type!==`button`?e.setAttribute(`value`,`[REDACTED_INPUT]`):e.tagName===`TEXTAREA`&&(e.textContent=`[REDACTED_TEXT]`)}),e.querySelectorAll(`#a11y-engine-overlay-root, #a11y-engine-highlight-pulse, #a11y-engine-styles, #a11y-engine-scan-freeze, [data-a11y-sr-overlay], style[data-a11y], div[data-a11y-engine]`).forEach(e=>e.remove()),e.querySelectorAll(`script`).forEach(e=>e.remove());let t=`data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7`;e.querySelectorAll(`img, source, video, audio, image, link, iframe`).forEach(e=>{[`src`,`href`,`poster`].forEach(n=>{let r=e.getAttribute(n);r&&r.startsWith(`data:`)&&r.length>200&&e.setAttribute(n,t)});let n=e.getAttribute(`srcset`);n&&n.includes(`data:`)&&n.length>200&&e.setAttribute(`srcset`,`${t} 1x`)}),e.querySelectorAll(`[style*="data:"]`).forEach(e=>{let n=e.getAttribute(`style`);if(n&&n.length>300){let r=n.replace(/url\(\s*['"]?data:[^'")]+['"]?\s*\)/gi,`url("${t}")`);e.setAttribute(`style`,r)}}),e.querySelectorAll(`style`).forEach(e=>{let n=e.textContent||``;n.length>1e4&&n.includes(`data:`)&&(e.textContent=n.replace(/url\(\s*['"]?data:[^'")]+['"]?\s*\)/gi,`url("${t}")`))}),e.querySelectorAll(`*`).forEach(e=>{for(let t=0;t<e.attributes.length;t++){let n=e.attributes[t];n.name.startsWith(`data-`)&&n.value.length>300&&e.setAttribute(n.name,n.value.slice(0,100))}}),e.querySelectorAll(`path[d]`).forEach(e=>{let t=e.getAttribute(`d`);t&&t.length>2e3&&e.setAttribute(`d`,t.slice(0,500)+` Z`)});let r=new XMLSerializer,i=`<!DOCTYPE html>
68
+ `+r.serializeToString(e);i.length>2621440&&(e.querySelectorAll(`table tbody, table`).forEach(e=>{let t=e.querySelectorAll(`tr`);if(t.length>60)for(let e=60;e<t.length;e++)t[e].remove()}),e.querySelectorAll(`ul, ol`).forEach(e=>{let t=e.querySelectorAll(`li`);if(t.length>60)for(let e=60;e<t.length;e++)t[e].remove()}),i=`<!DOCTYPE html>
69
+ `+r.serializeToString(e)),i.length>3670016&&(i=i.slice(0,3670016)+`
70
+ </body></html>`),n({success:!0,html:i,url:window.location.href})}catch(e){n({success:!1,error:e?.message||`Failed to serialize page`})}return!1}return!1}))})();