Skip to content

Commit

Permalink
fix: typo (#740)
Browse files Browse the repository at this point in the history
  • Loading branch information
tsuemura committed Jan 29, 2020
1 parent a65bf41 commit fc93b88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/injected/zsSelectorEngine.ts
Expand Up @@ -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);
}
Expand Down

0 comments on commit fc93b88

Please sign in to comment.