mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
fix: typo (#740)
This commit is contained in:
parent
a65bf4179f
commit
fc93b886d9
@ -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);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user