File tree 5 files changed +14
-6
lines changed
5 files changed +14
-6
lines changed Original file line number Diff line number Diff line change 5
5
aria-valuenow =" {{ validatedValue }} "
6
6
aria-valuemax =" 100"
7
7
aria-valuetext =" {{ valueStateText }} "
8
- ? aria-disabled =" {{ disabled }} "
8
+ aria-disabled =" {{ _ariaDisabled }} "
9
9
>
10
10
<div class =" ui5-progress-indicator-bar" style =" {{ styles.bar }} " >
11
11
{{ #unless showValueInRemainingBar }}
Original file line number Diff line number Diff line change @@ -213,6 +213,10 @@ class ProgressIndicator extends UI5Element {
213
213
return this . valueStateIconMappings ( ) [ this . valueState ] ;
214
214
}
215
215
216
+ get _ariaDisabled ( ) {
217
+ return this . disabled || undefined ;
218
+ }
219
+
216
220
static async onDefine ( ) {
217
221
await fetchI18nBundle ( "@ui5/webcomponents" ) ;
218
222
}
Original file line number Diff line number Diff line change 2
2
role =" slider"
3
3
aria-roledescription =" {{ _ariaRoleDescription }} "
4
4
aria-valuemin =" 0"
5
- aria-valuenow =" {{ this. value}} "
6
- aria-valuemax =" {{ this. maxValue}} "
5
+ aria-valuenow =" {{ value }} "
6
+ aria-valuemax =" {{ maxValue }} "
7
7
aria-orientation =" horizontal"
8
- ? aria-disabled =" {{ this.disabled }} "
9
- ?aria-readonly =" {{ this. readOnly}} "
8
+ aria-disabled =" {{ _ariaDisabled }} "
9
+ ?aria-readonly =" {{ readOnly }} "
10
10
tabindex =" {{ tabIndex }} "
11
11
@focusin =" {{ _onfocusin }} "
12
12
@focusout =" {{ _onfocusout }} "
Original file line number Diff line number Diff line change @@ -290,6 +290,10 @@ class RatingIndicator extends UI5Element {
290
290
get _ariaRoleDescription ( ) {
291
291
return this . i18nBundle . getText ( RATING_INDICATOR_TEXT ) ;
292
292
}
293
+
294
+ get _ariaDisabled ( ) {
295
+ return this . disabled || undefined ;
296
+ }
293
297
}
294
298
295
299
RatingIndicator . define ( ) ;
Original file line number Diff line number Diff line change 6
6
aria-setsize =" {{ this._setsize }} "
7
7
aria-controls =" ui5-tc-contentItem-{{ this._posinset }} "
8
8
aria-selected =" {{ this.effectiveSelected }} "
9
- ? aria-disabled =" {{ this.effectiveDisabled }} "
9
+ aria-disabled =" {{ this.effectiveDisabled }} "
10
10
?disabled =" {{ this.effectiveDisabled }} "
11
11
aria-labelledby =" {{ this.ariaLabelledBy }} "
12
12
data-ui5-stable =" {{ this.stableDomRef }} "
You can’t perform that action at this time.
0 commit comments