Skip to content

Commit

Permalink
feat(progress): support progress aria
Browse files Browse the repository at this point in the history
  • Loading branch information
yaogengzhu committed Dec 1, 2022
1 parent 2bed2a0 commit 7fc76ae
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/progress/progress.wxml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
<view style="{{ customStyle }}" class="{{ classPrefix }} {{classPrefix}}--status--{{status || computedStatus}}">
<view class="{{ classPrefix }}__inner {{prefix}}-class">
<view
aria-role="progressbar"
role="progressbar"
aria-valuenow="{{computedProgress}}"
aria-valuemin="0"
aria-valuemax="100"
class="{{ classPrefix }}__bar {{prefix}}-class-bar"
style="height: {{ heightBar }}; background: {{ trackColor }}"
>
Expand Down

0 comments on commit 7fc76ae

Please sign in to comment.