mirror of
https://github.com/ElemeFE/element.git
synced 2025-12-19 12:04:02 +08:00
[Button] add accessibility (#6180)
* add accessibility for Alert、Button、 Breadcrumb、 Checkbox * Update checkbox.md
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
<template>
|
||||
<button :disabled="disabled" class="el-button"
|
||||
<button
|
||||
v-bind="$props"
|
||||
class="el-button"
|
||||
@click="handleClick"
|
||||
:autofocus="autofocus"
|
||||
:type="nativeType"
|
||||
:class="[
|
||||
type ? 'el-button--' + type : '',
|
||||
|
||||
Reference in New Issue
Block a user