Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

fix: typo (#740)

tsuemurafc93b886d9a0
diff --git a/src/injected/zsSelectorEngine.ts b/src/injected/zsSelectorEngine.ts
index 684c1f54d2..441eee9ec4 100644
--- a/src/injected/zsSelectorEngine.ts
+++ b/src/injected/zsSelectorEngine.ts
@@ -589,7 +589,7 @@ class Engine {
appendCue(`img[alt=${JSON.stringify(alt)}]`, 'imgAlt', this.options.imgAltScore, element, lca, alt);
}
if (this.options.ariaLabelScore) {
- const ariaLabel = element.getAttribute('aira-label');
+ const ariaLabel = element.getAttribute('aria-label');
if (ariaLabel)
appendCue(JSON.stringify(`[aria-label=${JSON.stringify(ariaLabel)}]`), 'ariaLabel', this.options.ariaLabelScore, element, lca, ariaLabel);
}