Skip to content

Commit d1f3a86

Browse files
author
Simon Lenz
committed
Aria hidden is now correctly treated as an attribute instead of a style
1 parent b8db5a7 commit d1f3a86

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/vue-input-autowidth.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ export default {
3535
fontVariantNumeric: styles.getPropertyValue("font-variant-numeric"),
3636
letterSpacing: styles.getPropertyValue("letter-spacing"),
3737
padding: styles.getPropertyValue("padding"),
38-
textTransform: styles.getPropertyValue("text-transform"),
39-
ariaHidden: true
38+
textTransform: styles.getPropertyValue("text-transform")
4039
});
40+
el.mirror.setAttribute("aria-hidden", "true");
4141
document.body.appendChild(el.mirror);
4242
checkWidth(el, binding);
4343
},

0 commit comments

Comments
 (0)