Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

为 Tabs 增加 WAI-ARIA 支持 #235

Merged
merged 5 commits into from
Mar 5, 2018
Merged

为 Tabs 增加 WAI-ARIA 支持 #235

merged 5 commits into from
Mar 5, 2018

Conversation

Justineo
Copy link
Member

@Justineo Justineo commented Feb 24, 2018

For #234.

Copy link
Member

@599316527 599316527 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

好多改格式的,看起来累

@@ -75,7 +75,9 @@
<veui-button @click="addTab1">添加 TAB</veui-button>
<veui-tabs :active.sync="active2" :index.sync="index3">
<template slot="tab-item-extra" slot-scope="props">
<icon name="cross-small" v-if="props.removable && tabs1.length > 1" @click.native="removeTab1(props)"></icon>
<button type="button" class="veui-tabs-item-remove" @click="removeTab1(props)">
<icon name="cross-small" v-if="props.removable && tabs1.length > 1"></icon>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

v-if 应该在 button 上吧

Copy link
Member

@chestnutchen chestnutchen Mar 2, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

应该在 button 上,不过这里我正在加新样式,到时候一堆冲突

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

好像可以放在 <template> 上,要不我先合了?你 rebase 下再改?@chestnutchen

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

分支不一样吧?你这个 aria 的啥时候合。。。

@Justineo Justineo merged commit 390d401 into dev Mar 5, 2018
@Justineo Justineo deleted the aria-tabs branch March 5, 2018 03:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants