mirror of
https://github.com/ElemeFE/element.git
synced 2025-12-16 11:44:01 +08:00
[Button] add accessibility (#6180)
* add accessibility for Alert、Button、 Breadcrumb、 Checkbox * Update checkbox.md
This commit is contained in:
@@ -1,6 +1,11 @@
|
||||
<template>
|
||||
<transition name="el-alert-fade">
|
||||
<div class="el-alert" :class="[ typeClass ]" v-show="visible">
|
||||
<div
|
||||
class="el-alert"
|
||||
:class="[ typeClass ]"
|
||||
v-show="visible"
|
||||
role="alert"
|
||||
>
|
||||
<i class="el-alert__icon" :class="[ iconClass, isBigIcon ]" v-if="showIcon"></i>
|
||||
<div class="el-alert__content">
|
||||
<span class="el-alert__title" :class="[ isBoldTitle ]" v-if="title">{{ title }}</span>
|
||||
|
||||
Reference in New Issue
Block a user