mirror of
https://github.com/ElemeFE/element.git
synced 2025-12-16 11:44:01 +08:00
Accessibility for Popover, Tooltip, Message & Notification (#8009)
* Accessibility for Tooltip & Popover * Accessibility for message & notification * fixbug for popover with nodeType
This commit is contained in:
@@ -146,7 +146,7 @@ Popover 的属性与 Tooltip 很类似,它们都是基于`Vue-popper`开发的
|
||||
width="200"
|
||||
trigger="focus"
|
||||
content="这是一段内容,这是一段内容,这是一段内容,这是一段内容。">
|
||||
<el-button slot="reference">focus 激活</el-button>
|
||||
<span slot="reference" style="margin-left: 10px; font-size: 14px; color: #5a5e66">focus 激活</span>
|
||||
</el-popover>
|
||||
```
|
||||
:::
|
||||
|
||||
@@ -63,7 +63,7 @@
|
||||
<div class="box">
|
||||
<div class="top">
|
||||
<el-tooltip class="item" effect="dark" content="Top Left 提示文字" placement="top-start">
|
||||
<el-button>上左</el-button>
|
||||
<span>上左</span>
|
||||
</el-tooltip>
|
||||
<el-tooltip class="item" effect="dark" content="Top Center 提示文字" placement="top">
|
||||
<el-button>上边</el-button>
|
||||
|
||||
Reference in New Issue
Block a user