diff --git a/src/vue-input-autowidth.js b/src/vue-input-autowidth.js index 865908a..ac2417f 100644 --- a/src/vue-input-autowidth.js +++ b/src/vue-input-autowidth.js @@ -35,9 +35,9 @@ export default { fontVariantNumeric: styles.getPropertyValue("font-variant-numeric"), letterSpacing: styles.getPropertyValue("letter-spacing"), padding: styles.getPropertyValue("padding"), - textTransform: styles.getPropertyValue("text-transform"), - ariaHidden: true + textTransform: styles.getPropertyValue("text-transform") }); + el.mirror.setAttribute("aria-hidden", "true"); document.body.appendChild(el.mirror); checkWidth(el, binding); },