[Button] add accessibility (#6180)

* 	add accessibility for Alert、Button、 Breadcrumb、 Checkbox

* Update checkbox.md
This commit is contained in:
maranran
2017-08-05 18:33:50 +08:00
committed by 杨奕
parent e294273c50
commit c20ff5e55c
8 changed files with 46 additions and 17 deletions

View File

@@ -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 : '',