File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 1919 class="{{name}}__step"
2020 bind:tap="onStepClick"
2121 data-index="{{index}}"
22- aria-role="{{ item === defaultOptionLabel ? 'text ' : 'button' }}"
22+ aria-role="{{ item === defaultOptionLabel ? 'presentation ' : 'button' }}"
2323 aria-label="{{ item === defaultOptionLabel ? item : '已选中,' + item }}"
2424 >
2525 <view
6262 align="right"
6363 icon="line"
6464 borderless
65+ aria-hidden="{{ stepIndex !== index}}"
6566 >
6667 </t-radio-group>
6768 </view>
Original file line number Diff line number Diff line change 11<wxs src="../common/utils.wxs" module="_" />
22
3- <view style="{{_._style([style, customStyle])}}" class="{{classPrefix}} class {{prefix}}-class" aria-role="radiogroup">
3+ <view
4+ style="{{_._style([style, customStyle])}}"
5+ class="{{classPrefix}} class {{prefix}}-class"
6+ aria-role="radiogroup"
7+ aria-hidden="{{ ariaHidden === undefined ? false : !!ariaHidden }}"
8+ >
49 <slot />
510 <block wx:for="{{radioOptions}}" wx:key="value">
611 <t-radio
You can’t perform that action at this time.
0 commit comments