Skip to content

Commit

Permalink
fix(avatar): 添加朗读标签. (Tencent#1028)
Browse files Browse the repository at this point in the history
  • Loading branch information
byq1213 committed Nov 18, 2022
1 parent e3a4cae commit 0b027c7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/avatar/avatar.wxml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
<view
class="{{this.getAvatarOuterClass(classPrefix, size, shape)}} border--{{borderSize}} {{prefix}}-class-image "
style="{{this.getAvatarSizePx(size)}}"
aria-label="个人头像"
aria-role="img"
>
<t-image
wx:if="{{image}}"
Expand Down

0 comments on commit 0b027c7

Please sign in to comment.