针对你的问题,关于el-input组件中的label属性即将在2.8.0版本被废弃,并建议使用aria-label代替,我将从以下几个方面进行解答: 1. 理解[el-input] [api] label即将在2.8.0版本废弃的含义 在Element UI 2.8.0版本中,el-input组件的label属性将被废弃。这意味着在未来的版本中,继续使用label属性可能会导致不可预知...
Not saying el-form-item needs to do that, but that does bring up an interesting point in documentation examples where multiple inputs are provided, fieldset/legend + aria-label on each input is the correct markup to use. Such as this: ...
<template> <div class="el-autocomplete" v-clickoutside="close" aria-haspopup="listbox" role="combobox" :aria-expanded="suggestionVisible" :aria-owns="id" > <el-input ref="input" type="textarea" v-bind="[$props, $attrs]" @input="handleInput" @change="handleChange" @focus="handle...