feat(Cell): improve accessibility (#4519)

This commit is contained in:
neverland
2019-09-20 20:29:38 +08:00
committed by GitHub
parent 2d04b23671
commit 3c210f8252
15 changed files with 63 additions and 56 deletions
@@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`arrow-direction prop 1`] = `
<div class="van-cell van-cell--clickable van-field">
<div role="button" tabindex="0" class="van-cell van-cell--clickable van-field">
<div class="van-cell__value van-cell__value--alone">
<div class="van-field__body"><input type="text" class="van-field__control"></div>
</div><i class="van-icon van-icon-arrow-up van-cell__right-icon">